예제 #1
0
 // load
 private void load()
 {
     // truyen lên datagridview
     dtInvoice = new DataTable();
     dtInvoice.Clear();
     dtInvoice             = invoiceBusiness.getList().Tables[0];
     dgvInvoice.DataSource = dtInvoice;
     //
     dgvInvoice_CellClick(null, null);
     txtTien.Enabled      = false;
     txtInID2.Enabled     = false;
     txtInvoiceID.Enabled = false;
     txtCustom.Enabled    = false;
     txtEmploy.Enabled    = false;
     txtamount.ResetText();
     txtPro.ResetText();
 }