コード例 #1
0
 // shows the detailed version of the selected grid row, in edit modus
 // links:
 //  docLink: http://sql2x.org/documentationLink/b9e26c97-bd6d-404a-80ad-d252a24c6fe8
 private void dataGridViewCrudeDefaultTestRunResultRef_DoubleClick(object sender, EventArgs e)
 {
     try {
         var editForm = new CrudeDefaultTestRunResultRefEdit();
         editForm.MdiParent = this.MdiParent;
         editForm.ShowAsEdit((System.String)dataGridViewCrudeDefaultTestRunResultRef.CurrentRow.Cells["DefaultTestRunResultRcd"].Value);
     } catch (Exception ex) {
         if (ex == null)
         {
         }
         else
         {
             System.Diagnostics.Debugger.Break();
         }
     }
 }
コード例 #2
0
 // shows a form for adding more rows
 // links:
 //  docLink: http://sql2x.org/documentationLink/499f894b-7c95-446b-be0a-57fd47b768e3
 private void buttonCrudeDefaultTestRunResultRefAdd_Click(object sender, EventArgs e)
 {
     try {
         var editForm = new CrudeDefaultTestRunResultRefEdit();
         editForm.MdiParent = this.MdiParent;
         editForm.ShowAsAdd();
     } catch (Exception ex) {
         if (ex == null)
         {
         }
         else
         {
             System.Diagnostics.Debugger.Break();
         }
     }
 }