Example #1
0
 private void btnOK_Click(object sender, EventArgs e)
 {
     Victorina.allDirectories = cbAllDirectory.Checked;
     Victorina.gameDuration   = Convert.ToInt32(cbGameDuration.Text);
     Victorina.musicDuration  = Convert.ToInt32(cbMusicDuration.Text);
     Victorina.randomStart    = cbRandomStart.Checked;
     Victorina.WriteParam();
     this.Hide();
 }
Example #2
0
 private void fMain_Load(object sender, EventArgs e)
 {
     Victorina.ReadParam();
     Victorina.ReadMusic();
 }