private void butNewgroup_Click(object sender, EventArgs e)
        {
            TestingGroup tg = new TestingGroup();

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

            frm.ShowDialog();
            DisplayTestingGroup();
        }
        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();
            }
        }
 private void butNewgroup_Click(object sender, EventArgs e)
 {
     TestingGroup tg = new TestingGroup();
     tg.TestingArea = _testingArea;
     TestingGroupFrom frm = new TestingGroupFrom(tg, _mdiparent);
     frm.ShowDialog();
     DisplayTestingGroup();
 }
 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();
 }
 private void newTestingGroupToolStripMenuItem_Click(object sender, EventArgs e)
 {
     TestingGroupFrom frm = new TestingGroupFrom(new TestingGroup(), this);
     frm.ShowDialog();
 }