Exemple #1
0
        private void CloseForm_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show("Are you sure you want to close?", "Message", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
            {
                //this.Hide();

                //MessageBox.Show(TotalPatients.ToString());
                this.Hide();
                DashBoard dashBoard = new DashBoard();
                dashBoard.Show();
            }
        }