private void btnInfo_Click(object sender, EventArgs e)
        {
            this.Hide();
            viewInfo view = new viewInfo(username);

            view.ShowDialog();
            this.Close();
        }
Beispiel #2
0
        //Exit
        private void button10_Click(object sender, EventArgs e)
        {
            if (First_Page.opt1 == 0)
            {
                this.Hide();
                viewInfo view = new viewInfo(this.username);
                view.ShowDialog();
                this.Close();
            }

            if (First_Page.opt1 == 1)
            {
                this.Hide();
                patientFunctions pf = new patientFunctions(this.username);
                pf.ShowDialog();
                this.Close();
            }
        }