Ejemplo n.º 1
0
 private void dataGridViewCrudeClient_DoubleClick(object sender, EventArgs e)
 {
     try {
         var editForm = new ClientEdit();
         editForm.MdiParent = this.MdiParent;
         editForm.ShowAsEdit((System.Guid)dataGridViewCrudeClient.CurrentRow.Cells["ClientId"].Value);
     } catch (Exception ex) {
         if (ex != null)
         {
         }
     }
 }
Ejemplo n.º 2
0
 private void buttonCrudeClientAdd_Click(object sender, EventArgs e)
 {
     try {
         var editForm = new ClientEdit();
         editForm.MdiParent = this.MdiParent;
         editForm.ShowAsAddByRules(_userId);
     } catch (Exception ex) {
         if (ex != null)
         {
         }
     }
 }