示例#1
0
        private void butNewgroup_Click(object sender, EventArgs e)
        {
            TestingGroup tg = new TestingGroup();

            tg.TestingArea = _testingArea;
            TestingGroupFrom frm = new TestingGroupFrom(tg, _mdiparent);

            frm.ShowDialog();
            DisplayTestingGroup();
        }
示例#2
0
        private void butEditgoup_Click(object sender, EventArgs e)
        {
            TestingGroup tg = GetSelectedTestingGroup(); //b

            if (tg != null)                              //b
            {
                TestingGroupFrom frm = new TestingGroupFrom(tg, _mdiparent);
                frm.ShowDialog();
                DisplayTestingGroup();
            }
        }
示例#3
0
 private void butNewgroup_Click(object sender, EventArgs e)
 {
     TestingGroup tg = new TestingGroup();
     tg.TestingArea = _testingArea;
     TestingGroupFrom frm = new TestingGroupFrom(tg, _mdiparent);
     frm.ShowDialog();
     DisplayTestingGroup();
 }
示例#4
0
 private void butEditgoup_Click(object sender, EventArgs e)
 {
     TestingGroup tg = GetSelectedTestingGroup();//b
     if (tg != null)//b
     {
         TestingGroupFrom frm = new TestingGroupFrom(tg, _mdiparent);
         frm.ShowDialog();
         DisplayTestingGroup();
     }
 }
 public override void EditSelectedItem()
 {
     TestingGroupFrom frm = new TestingGroupFrom(GetSelectedTestingGroup(), MdiParentForm);
     frm.ShowDialog();
 }
 private void lbtAddnew_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     TestingGroupFrom frm = new TestingGroupFrom(new TestingGroup(), MdiParentForm);
     frm.ShowDialog();
 }
示例#7
0
 private void newTestingGroupToolStripMenuItem_Click(object sender, EventArgs e)
 {
     TestingGroupFrom frm = new TestingGroupFrom(new TestingGroup(), this);
     frm.ShowDialog();
 }