示例#1
0
        private void buttonCrudeServicePackageAdd_Click(object sender, EventArgs e)
        {
            var editForm = new CrudeServicePackageEdit();

            editForm.MdiParent = this.MdiParent;
            editForm.ShowAsAddByRules(_userId);
        }
 // shows a form for adding more rows
 // links:
 //  docLink: http://sql2x.org/documentationLink/499f894b-7c95-446b-be0a-57fd47b768e3
 private void buttonCrudeServicePackageAdd_Click(object sender, EventArgs e)
 {
     try {
         var editForm = new CrudeServicePackageEdit();
         editForm.MdiParent = this.MdiParent;
         editForm.ShowAsAddByRules(_userId);
     } catch (Exception ex) {
         if (ex == null)
         {
         }
         else
         {
             System.Diagnostics.Debugger.Break();
         }
     }
 }