Пример #1
0
        private void btCummulative_Click(object sender, EventArgs e)
        {
            CummuForm cummuForm = new CummuForm();

            cummuForm.Show();
            this.Hide();
        }
Пример #2
0
        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;
                }
            }
        }
Пример #3
0
        private void CummuResultForm_Load(object sender, EventArgs e)
        {
            CummuForm cummuForm = new CummuForm();

            lbShowResults.Text = cummuForm.outPutHistory();
        }