Пример #1
0
 private void cmdSave_Click(object sender, EventArgs e)
 {
     try
     {
         var obj = new Forms.frmAssemblyReport_AU();
         obj.dtList = dtList;
         obj.ShowDialog();
     }
     catch (Exception ex)
     {
         Utility.ShowMsg(ex.Message);
     }
 }
Пример #2
0
 private void cmdSave_Click(object sender, EventArgs e)
 {
     try
     {
         var obj = new Forms.frmAssemblyReport_AU();
         obj.dtList = dtList;
         obj.ShowDialog();
     }
     catch (Exception ex)
     {
         Utility.ShowMsg(ex.Message);
     }
 }
Пример #3
0
 private void cmdUpdate_Click(object sender, EventArgs e)
 {
     try
     {
         if (grdList.CurrentRow == null || grdList.CurrentRow.RowType != RowType.Record) return;
         var obj = new Forms.frmAssemblyReport_AU();
         obj.dtList = dtList;
         obj.txtID.Text = Utility.sDbnull(grdList.GetValue("AssemblyReport_ID"));
         obj.ShowDialog();
     }
     catch (Exception ex)
     {
         Utility.ShowMsg(ex.Message);
     }
 }
Пример #4
0
 private void cmdUpdate_Click(object sender, EventArgs e)
 {
     try
     {
         if (grdList.CurrentRow == null || grdList.CurrentRow.RowType != RowType.Record)
         {
             return;
         }
         var obj = new Forms.frmAssemblyReport_AU();
         obj.dtList     = dtList;
         obj.txtID.Text = Utility.sDbnull(grdList.GetValue("AssemblyReport_ID"));
         obj.ShowDialog();
     }
     catch (Exception ex)
     {
         Utility.ShowMsg(ex.Message);
     }
 }