Пример #1
0
 // shows a form for adding more rows
 // links:
 //  docLink: http://sql2x.org/documentationLink/499f894b-7c95-446b-be0a-57fd47b768e3
 private void buttonCrudeAddressTypeRefAdd_Click(object sender, EventArgs e)
 {
     try {
         var editForm = new CrudeAddressTypeRefEdit();
         editForm.MdiParent = this.MdiParent;
         editForm.ShowAsAddByRules(_userId);
     } catch (Exception ex) {
         if (ex == null)
         {
         }
         else
         {
             System.Diagnostics.Debugger.Break();
         }
     }
 }
Пример #2
0
 // shows the detailed version of the selected grid row, in edit modus
 // links:
 //  docLink: http://sql2x.org/documentationLink/c778f8fe-1b09-4755-891f-f9d3126d1b85
 private void buttonCrudeAddressTypeRefEdit_Click(object sender, EventArgs e)
 {
     try {
         var editForm = new CrudeAddressTypeRefEdit();
         editForm.MdiParent = this.MdiParent;
         editForm.ShowAsEdit((System.String)dataGridViewCrudeAddressTypeRef.CurrentRow.Cells["AddressTypeRcd"].Value, _userId);
     } catch (Exception ex) {
         if (ex == null)
         {
         }
         else
         {
             System.Diagnostics.Debugger.Break();
         }
     }
 }