private void btnNewGame_Click(object sender, EventArgs e) { BreakmanForm = new Breakman(false); BreakmanForm.Show(); Hide(); }
private void btnContinueSavedGame_Click(object sender, EventArgs e) { if (File.Exists("bricks.bin")) { BreakmanForm = new Breakman(true); BreakmanForm.Show(); Hide(); } else { MessageBox.Show("No saved game present!"); } }