private void btnOk_Click(object sender, EventArgs e) { Victorina.allDirectories = checkBoxPath.Checked; Victorina.gameDuration = Convert.ToInt32(comboBoxLeightGame.Text); Victorina.musicDuration = Convert.ToInt32(comboBoxtlCallback.Text); Victorina.randomStart = checkBoxRandomStart.Checked; Victorina.WriteOption(); this.Hide(); }
private void fMain_Load(object sender, EventArgs e) { Victorina.ReadOption(); Victorina.ReadMusic(); }