Пример #1
0
        private void BtnStudent_Click(object sender, EventArgs e)
        {
            btnStudent.Checked     = true;
            btnBook.Checked        = false;
            btnDashboard.Checked   = false;
            btnIssueBook.Checked   = false;
            btnHistory.Checked     = false;
            btnReports.Checked     = false;
            btnUserAccount.Checked = false;
            btnSettings.Checked    = false;

            frmStudentList frm = new frmStudentList(this);

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