Ejemplo n.º 1
0
 private void cmdUpdate_Click(object sender, EventArgs e)
 {
     try
     {
         if (grdPort.CurrentRow == null) return;
         if (grdPort.CurrentRow.RowType != RowType.Record) return;
         frmPort_AU oForm = new frmPort_AU();
         oForm.txtID.Text = Utility.sDbnull(grdPort.GetValue("Port_ID"));
         oForm.dtList = dtPort;
         oForm.ShowDialog();
     }
     catch (Exception ex)
     {
         Utility.ShowMsg(ex.Message);
     }
 }
Ejemplo n.º 2
0
 private void cmdUpdate_Click(object sender, EventArgs e)
 {
     try
     {
         if (grdPort.CurrentRow == null)
         {
             return;
         }
         if (grdPort.CurrentRow.RowType != RowType.Record)
         {
             return;
         }
         frmPort_AU oForm = new frmPort_AU();
         oForm.txtID.Text = Utility.sDbnull(grdPort.GetValue("Port_ID"));
         oForm.dtList     = dtPort;
         oForm.ShowDialog();
     }
     catch (Exception ex)
     {
         Utility.ShowMsg(ex.Message);
     }
 }
Ejemplo n.º 3
0
        private void cmdSave_Click(object sender, EventArgs e)
        {
            frmPort_AU oForm = new frmPort_AU();

            oForm.ShowDialog();
        }
Ejemplo n.º 4
0
 private void cmdSave_Click(object sender, EventArgs e)
 {
     frmPort_AU oForm = new frmPort_AU();
     oForm.ShowDialog();
 }