예제 #1
0
 private void btnAddNewTestSet_Click(object sender, EventArgs e)
 {
     Settings.PayloadClass.TestSet ts = new Settings.PayloadClass.TestSet();
     if (new frmEditTestSet(settings, ts).ShowDialog() == DialogResult.OK)
     {
         lstTestSets.Items.Add(ts);
     }
 }
        private void btnAddNewTestSet_Click(object sender, EventArgs e)
        {
            var ts = new Settings.PayloadClass.TestSet();

            if (new frmEditTestSet(settings, ts).ShowDialog() == DialogResult.OK)
            {
                lstTestSets.Items.Add(ts);
            }
        }
예제 #3
0
 public frmEditTestSet(Settings settings, Settings.PayloadClass.TestSet testset)
 {
     this.settings = settings;
     this.testset = testset;
     InitializeComponent();
 }
 public frmEditTestSet(Settings settings, Settings.PayloadClass.TestSet testset)
 {
     this.settings = settings;
     this.testset  = testset;
     InitializeComponent();
 }