예제 #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);
     }
 }