private void button3_Click(object sender, EventArgs e) //btnOK { Victorina.gameDuration = Convert.ToInt32(combGameDur.Text); Victorina.musicDuration = Convert.ToInt32(combMusicDur.Text); Victorina.subfolders = cbSubfolders.Checked; Victorina.randomStart = cbRandomStart.Checked; Victorina.music.Clear(); Victorina.music.AddRange(music_list); Victorina.lastFolder = path; Victorina.WriteSettings(); this.Hide(); }
private void fMain_Load(object sender, EventArgs e) { Victorina.ReadSettings(); Victorina.ReadMusic(); }