private void lblBeginner_Click(object sender, EventArgs e) { this.Hide(); // SET UP WordJumble.Properties.Settings.Default.Mode = "Beginner"; WordJumble.Properties.Settings.Default.ModeLastest = false; fPlay = new Playing(); fPlay.Show(); }
private void mnuLastest_Click(object sender, EventArgs e) { if (WordJumble.Properties.Settings.Default.ModeLastest) { this.Hide(); // SET UP WordJumble.Properties.Settings.Default.Mode = WordJumble.Properties.Settings.Default.Mode4Resume; fPlay = new Playing(); fPlay.Show(); } else { MessageBox.Show("You aren't save before. So, You cann't use this mode", "WordJumble", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
private void mnuLoadGame_Click(object sender, EventArgs e) { OpenFileDialog load = new OpenFileDialog(); load.Filter = "WordJumble Saved|*.wjsav"; load.Title = "WordJumble Loading Game"; if (load.ShowDialog() == DialogResult.OK) { LoadGame.Process(load.FileName); this.Hide(); fPlay = new Playing(); fPlay.Show(); } }