private void button4_Click(object sender, EventArgs e) { StartForm form = new StartForm(); this.Hide(); form.ShowDialog(); this.Close(); }
private void Save_Click(object sender, EventArgs e) { Program.stopTimer(); Program.updateTime(); Program.saveBoard(arrBoard, arrSol, arrIndices); Program.savereport(); MessageBox.Show("Games Saved Successfully", "Saved", MessageBoxButtons.OK, MessageBoxIcon.Information); StartForm form = new StartForm(); this.Hide(); form.ShowDialog(); this.Close(); }