Beispiel #1
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);
     }
 }