コード例 #1
0
 private void btnAddNew_Click(object sender, EventArgs e)
 {
     try
     {
         frmIns_Contracts afrmIns_Contracts = new frmIns_Contracts(this);
         afrmIns_Contracts.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show("frmLst_Contracts.btnAddNew_Click\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
コード例 #2
0
 private void btnInsContracts_ItemClick(object sender, ItemClickEventArgs e)
 {
     try
     {
         frmIns_Contracts afrmIns_Contracts = new frmIns_Contracts();
         afrmIns_Contracts.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show("frmMain.btnInsContracts_ItemClick\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
コード例 #3
0
 private void btnContinue_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     int IDSystemUser = Convert.ToInt32(grvContractsExpiring.GetFocusedRowCellValue("IDSystemUser"));
     frmIns_Contracts afrmIns_Contracts = new frmIns_Contracts(IDSystemUser,this);
     afrmIns_Contracts.ShowDialog();
 }