Exemple #1
0
        private void 归还图书ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmBorrowReturnMana frmReturn = new frmBorrowReturnMana();

            frmReturn.tabControl1.SelectedTab = frmReturn.tabReturn;
            frmReturn.MdiParent = this;
            frmReturn.Show();
        }
 private void btLendMange_Click(object sender, EventArgs e)
 {
     //打开借阅管理窗体
     if (btLend)
     {
         frmBorrowReturnMana frmBR = new frmBorrowReturnMana();
         frmBR.MdiParent = this.MdiParent;
         frmBR.Show();
     }
     else
     {
         MessageBox.Show("您不具有使用该功能的权限!", "操作提示");
     }
 }