Ejemplo n.º 1
0
 public ucDialogAddBookForBorrow(ucDialogBill ucBillDialog)
 {
     InitializeComponent();
     this.tlBll        = new TaiLieuBLL();
     this.ucBillDialog = ucBillDialog;
     setDataForGridView(ucBillDialog.getDtCreateBorrows());
 }
Ejemplo n.º 2
0
 public ucDialogReNewBooks(ucDialogBill ucBooksDialog)
 {
     InitializeComponent();
     this.pmBLL               = new PhieuMuonBLL();
     this.tlBll               = new TaiLieuBLL();
     this.ucBooksDialog       = ucBooksDialog;
     this.selectBookHistoryId = ucBooksDialog.SelectBookHistoryId;
     setInfoDialog(selectBookHistoryId);
 }
Ejemplo n.º 3
0
 private void bntbntBooksManager_Click(object sender, EventArgs e)
 {
     if (grvBanDoc.SelectedRowsCount > 0 && idMemberSelect > 0)
     {
         Common.hidenParentForm(this);
         ucDialogBill uc = new ucDialogBill(this);
         form             = new FormDialog(uc);
         form.WindowState = FormWindowState.Maximized;
         form.Size        = new Size(uc.Width, uc.Height);
         form.Show();
     }
     else
     {
         MessageBox.Show("Chưa chọn bản ghi nào", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }