private void btCummulative_Click(object sender, EventArgs e) { CummuForm cummuForm = new CummuForm(); cummuForm.Show(); this.Hide(); }
private void btMenu_Click(object sender, EventArgs e) { DialogResult result = new DialogResult(); result = MessageBox.Show("Are You Sure?", "Go Back", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning); while (true) { if (result == DialogResult.OK) { CummuForm cummuForm = new CummuForm(); cummuForm.clearData(); menu.Show(); this.Hide(); break; } else { break; } } }
private void CummuResultForm_Load(object sender, EventArgs e) { CummuForm cummuForm = new CummuForm(); lbShowResults.Text = cummuForm.outPutHistory(); }