예제 #1
0
 private void btnLstContracts_ItemClick(object sender, ItemClickEventArgs e)
 {
     try
     {
         frmLst_Contracts afrmLst_Contracts = new frmLst_Contracts();
         afrmLst_Contracts.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show("frmMain.btnLstContracts_ItemClick\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
 public frmIns_Contracts(frmLst_Contracts afrmLst_Contracts)
 {
     InitializeComponent();
     this.afrmLst_Contracts = afrmLst_Contracts;
 }
 public frmUpd_Contracts(frmLst_Contracts afrmLst_Contracts, int ID)
 {
     InitializeComponent();
     this.afrmLst_Contracts = afrmLst_Contracts;
     this.ID = ID;
 }