Exemplo n.º 1
0
 private void btnEditTest_Click(object sender, System.EventArgs e)
 {
     QATest theSelectedTest = this._tests.get_Test((int)this.testView.SelectedItems[0].Tag);
     TestEditForm theForm = new TestEditForm(theSelectedTest, this._bizNames);
     if (theForm.ShowDialog(this) == DialogResult.OK)
         this.PopulateTestGrid();
 }
Exemplo n.º 2
0
 private void btnAddTest_Click(object sender, System.EventArgs e)
 {
     TestEditForm theForm = new TestEditForm(null, this._bizNames);
     if (theForm.ShowDialog(this) == DialogResult.OK)
     {
         this._tests.Add(theForm.InsertedTest);
         this.PopulateTestGrid();
     }
 }