19 using System.Collections.Generic;
20 using System.ComponentModel;
25 using System.Threading.Tasks;
26 using System.Windows.Forms;
45 set { _mSetting = value; }
60 this.mSetting = mSetting;
77 radioButtonMode1.Checked =
true;
78 radioButtonMode2.Checked =
false;
82 radioButtonMode1.Checked =
false;
83 radioButtonMode2.Checked =
true;
88 radioButtonType1.Checked =
true;
89 radioButtonType2.Checked =
false;
90 radioButtonType3.Checked =
false;
94 radioButtonType1.Checked =
false;
95 radioButtonType2.Checked =
true;
96 radioButtonType3.Checked =
false;
100 radioButtonType1.Checked =
false;
101 radioButtonType2.Checked =
false;
102 radioButtonType3.Checked =
true;
107 radioButtonPlayer1.Checked =
true;
108 radioButtonPlayer2.Checked =
false;
112 radioButtonPlayer1.Checked =
false;
113 radioButtonPlayer2.Checked =
true;
118 radioButtonAssist1.Checked =
true;
119 radioButtonAssist2.Checked =
false;
123 radioButtonAssist1.Checked =
false;
124 radioButtonAssist2.Checked =
true;
129 radioButtonGameSpd1.Checked =
true;
130 radioButtonGameSpd2.Checked =
false;
131 radioButtonGameSpd3.Checked =
false;
135 radioButtonGameSpd1.Checked =
false;
136 radioButtonGameSpd2.Checked =
true;
137 radioButtonGameSpd3.Checked =
false;
141 radioButtonGameSpd1.Checked =
false;
142 radioButtonGameSpd2.Checked =
false;
143 radioButtonGameSpd3.Checked =
true;
148 radioButtonEndAnim1.Checked =
true;
149 radioButtonEndAnim2.Checked =
false;
153 radioButtonEndAnim1.Checked =
false;
154 radioButtonEndAnim2.Checked =
true;
159 radioButtonMasuCntMenu1.Checked =
true;
160 radioButtonMasuCntMenu2.Checked =
false;
161 radioButtonMasuCntMenu3.Checked =
false;
162 radioButtonMasuCntMenu4.Checked =
false;
163 radioButtonMasuCntMenu5.Checked =
false;
164 radioButtonMasuCntMenu6.Checked =
false;
165 radioButtonMasuCntMenu7.Checked =
false;
166 radioButtonMasuCntMenu8.Checked =
false;
170 radioButtonMasuCntMenu1.Checked =
false;
171 radioButtonMasuCntMenu2.Checked =
true;
172 radioButtonMasuCntMenu3.Checked =
false;
173 radioButtonMasuCntMenu4.Checked =
false;
174 radioButtonMasuCntMenu5.Checked =
false;
175 radioButtonMasuCntMenu6.Checked =
false;
176 radioButtonMasuCntMenu7.Checked =
false;
177 radioButtonMasuCntMenu8.Checked =
false;
181 radioButtonMasuCntMenu1.Checked =
false;
182 radioButtonMasuCntMenu2.Checked =
false;
183 radioButtonMasuCntMenu3.Checked =
true;
184 radioButtonMasuCntMenu4.Checked =
false;
185 radioButtonMasuCntMenu5.Checked =
false;
186 radioButtonMasuCntMenu6.Checked =
false;
187 radioButtonMasuCntMenu7.Checked =
false;
188 radioButtonMasuCntMenu8.Checked =
false;
192 radioButtonMasuCntMenu1.Checked =
false;
193 radioButtonMasuCntMenu2.Checked =
false;
194 radioButtonMasuCntMenu3.Checked =
false;
195 radioButtonMasuCntMenu4.Checked =
true;
196 radioButtonMasuCntMenu5.Checked =
false;
197 radioButtonMasuCntMenu6.Checked =
false;
198 radioButtonMasuCntMenu7.Checked =
false;
199 radioButtonMasuCntMenu8.Checked =
false;
203 radioButtonMasuCntMenu1.Checked =
false;
204 radioButtonMasuCntMenu2.Checked =
false;
205 radioButtonMasuCntMenu3.Checked =
false;
206 radioButtonMasuCntMenu4.Checked =
false;
207 radioButtonMasuCntMenu5.Checked =
true;
208 radioButtonMasuCntMenu6.Checked =
false;
209 radioButtonMasuCntMenu7.Checked =
false;
210 radioButtonMasuCntMenu8.Checked =
false;
214 radioButtonMasuCntMenu1.Checked =
false;
215 radioButtonMasuCntMenu2.Checked =
false;
216 radioButtonMasuCntMenu3.Checked =
false;
217 radioButtonMasuCntMenu4.Checked =
false;
218 radioButtonMasuCntMenu5.Checked =
false;
219 radioButtonMasuCntMenu6.Checked =
true;
220 radioButtonMasuCntMenu7.Checked =
false;
221 radioButtonMasuCntMenu8.Checked =
false;
225 radioButtonMasuCntMenu1.Checked =
false;
226 radioButtonMasuCntMenu2.Checked =
false;
227 radioButtonMasuCntMenu3.Checked =
false;
228 radioButtonMasuCntMenu4.Checked =
false;
229 radioButtonMasuCntMenu5.Checked =
false;
230 radioButtonMasuCntMenu6.Checked =
false;
231 radioButtonMasuCntMenu7.Checked =
true;
232 radioButtonMasuCntMenu8.Checked =
false;
236 radioButtonMasuCntMenu1.Checked =
false;
237 radioButtonMasuCntMenu2.Checked =
false;
238 radioButtonMasuCntMenu3.Checked =
false;
239 radioButtonMasuCntMenu4.Checked =
false;
240 radioButtonMasuCntMenu5.Checked =
false;
241 radioButtonMasuCntMenu6.Checked =
false;
242 radioButtonMasuCntMenu7.Checked =
false;
243 radioButtonMasuCntMenu8.Checked =
true;
245 pictureBoxPlayerColor1.BackColor = mSetting.mPlayerColor1;
246 pictureBoxPlayerColor2.BackColor = mSetting.mPlayerColor2;
247 pictureBoxBackGroundColor.BackColor = mSetting.mBackGroundColor;
248 pictureBoxBorderColor.BackColor = mSetting.mBorderColor;
259 private void loadSettingForm()
282 if(radioButtonMasuCntMenu1.Checked ==
true)
287 else if(radioButtonMasuCntMenu2.Checked ==
true)
292 else if(radioButtonMasuCntMenu3.Checked ==
true)
297 else if(radioButtonMasuCntMenu4.Checked ==
true)
302 else if(radioButtonMasuCntMenu5.Checked ==
true)
307 else if(radioButtonMasuCntMenu6.Checked ==
true)
312 else if(radioButtonMasuCntMenu7.Checked ==
true)
322 mSetting.mPlayerColor1 = pictureBoxPlayerColor1.BackColor;
323 mSetting.mPlayerColor2 = pictureBoxPlayerColor2.BackColor;
324 mSetting.mBackGroundColor = pictureBoxBackGroundColor.BackColor;
325 mSetting.mBorderColor = pictureBoxBorderColor.BackColor;
341 ColorDialog cd =
new ColorDialog();
343 cd.Color = pictureBoxPlayerColor1.BackColor;
345 if (cd.ShowDialog() == DialogResult.OK)
348 pictureBoxPlayerColor1.BackColor = cd.Color;
362 private void pictureBoxPlayerColor2_Click(
object sender, EventArgs e)
365 ColorDialog cd =
new ColorDialog();
367 cd.Color = pictureBoxPlayerColor2.BackColor;
369 if (cd.ShowDialog() == DialogResult.OK)
372 pictureBoxPlayerColor2.BackColor = cd.Color;
386 private void pictureBoxBackGroundColor_Click(
object sender, EventArgs e)
389 ColorDialog cd =
new ColorDialog();
391 cd.Color = pictureBoxBackGroundColor.BackColor;
393 if (cd.ShowDialog() == DialogResult.OK)
396 pictureBoxBackGroundColor.BackColor = cd.Color;
410 private void pictureBoxBorderColor_Click(
object sender, EventArgs e)
413 ColorDialog cd =
new ColorDialog();
415 cd.Color = pictureBoxBorderColor.BackColor;
417 if (cd.ShowDialog() == DialogResult.OK)
420 pictureBoxBorderColor.BackColor = cd.Color;
434 private void buttonDefault_Click(
object sender, EventArgs e)
452 this.loadSettingForm();