Exemple #1
0
        private void BtnBook_Click(object sender, EventArgs e)
        {
            btnBook.Checked        = true;
            btnStudent.Checked     = false;
            btnDashboard.Checked   = false;
            btnIssueBook.Checked   = false;
            btnHistory.Checked     = false;
            btnReports.Checked     = false;
            btnUserAccount.Checked = false;
            btnSettings.Checked    = false;

            frmBookList frm = new frmBookList(this);

            frm.TopLevel = false;
            panel3.Controls.Add(frm);
            frm.BringToFront();
            frm.Show();
        }
Exemple #2
0
 public frmAddEditBook(frmBookList flist)
 {
     InitializeComponent();
     cn      = new SqlConnection(dbcon.MyConnection());
     frmlist = flist;
 }
Exemple #3
0
 public frmAcquireBooks(frmBookList flist)
 {
     InitializeComponent();
     cn  = new SqlConnection(dbcon.MyConnection());
     frm = flist;
 }