Пример #1
0
        private void doctorbtn_Click(object sender, EventArgs e)
        {
            mainpnl.Controls.Clear();
            doctorlogin temp = new doctorlogin();

            temp.TopLevel = false;
            mainpnl.Controls.Add(temp);
            temp.Show();
        }
        private void bunifuImageButton2_Click(object sender, EventArgs e)
        {
            doclogin.Controls.Clear();
            doctorlogin temp = new doctorlogin();

            temp.TopLevel = false;
            doclogin.Controls.Add(temp);
            temp.Show();
        }
        private void backBtn2_Click(object sender, EventArgs e)
        {
            docRegPnl.Controls.Clear();
            doctorlogin temp = new doctorlogin();

            temp.TopLevel = false;
            docRegPnl.Controls.Add(temp);
            temp.Show();
        }