コード例 #1
0
 protected override void ClickAdd(object arg1, EventArgs arg2)
 {
     try
     {
         FormTestCaseNew newForm = new FormTestCaseNew();
         newForm.ShowDialog();
         this.LoadData();
     }
     catch (Exception ex)
     {
         logger.Info(ex + "");
     }
 }
コード例 #2
0
 protected override void ClickModify(object arg1, EventArgs arg2)
 {
     try
     {
         FormTestCaseNew newForm = new FormTestCaseNew();
         newForm.Entity = this.myGridView1.FindFirstSelect <TestCase>();
         newForm.ShowDialog();
         this.LoadData();
     }
     catch (Exception ex)
     {
         logger.Error(ex + "");
         return;
     }
 }