private void BtnStudents_Click(object sender, EventArgs e)
        {
            frmStudentList frm = new frmStudentList();

            frm.TopLevel = false;
            panel3.Controls.Add(frm);
            frm.BringToFront();
            frm.Show();
        }
Пример #2
0
 public frmStudent(frmStudentList flist)
 {
     InitializeComponent();
     cn      = new SqlConnection(dbcon.MyConnection());
     frmlist = flist;
 }