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(); }
private void fMain_Load(object sender, EventArgs e) { Victorina.ReadParam(); Victorina.ReadMusic(); }