Пример #1
0
        private void button_ok_Click(object sender, EventArgs e)
        {
            Victorina.allDirectories = checkBox_usesubdirs.Checked;
            Victorina.gameDuration   = Convert.ToInt32(comboBox_gameduration.Text);
            Victorina.musicDuration  = Convert.ToInt32(comboBox_musicduration.Text);
            Victorina.timeforanswer  = Convert.ToInt32(comboBox_timeforanswer.Text);
            Victorina.WriteParams();

            this.Hide();
        }
Пример #2
0
 private void fMain_Load(object sender, EventArgs e)
 {
     Victorina.ReadParams();
     Victorina.ReadMusic();
 }