Example #1
0
        private void newRunButton_Click(object sender, EventArgs e)
        {
            RunInfo runInfo = new RunInfo();

            runInfo.RunName                          = "new run";
            runInfo.RunDuration                      = 1;
            runInfo.RunDataTag                       = "";
            runInfo.RunLogDirectoryPath              = "";
            runInfo.ExternalSetupArguments           = "";
            runInfo.ExternalSetupCommand             = "";
            runInfo.ExternalSetupDelay               = 1;
            runInfo.ExternalSetupWorkingDirectory    = "";
            runInfo.ExternalTeardownArguments        = "";
            runInfo.ExternalTeardownCommand          = "";
            runInfo.ExternalTeardownDelay            = 1;
            runInfo.ExternalTeardownWorkingDirectory = "";
            runInfo.UpdateListViewItem();

            BatchRunForm brf = new BatchRunForm(runInfo);

            brf.ShowDialog();
            if (brf.DialogResult == DialogResult.OK)
            {
                runListView.Items.Add(runInfo);
            }
        }
Example #2
0
        private void newRunButton_Click(object sender, EventArgs e)
        {
            RunInfo runInfo = new RunInfo();
            runInfo.RunName = "new run";
            runInfo.RunDuration = 1;
            runInfo.RunDataTag = "";
            runInfo.RunLogDirectoryPath = "";
            runInfo.ExternalSetupArguments = "";
            runInfo.ExternalSetupCommand = "";
            runInfo.ExternalSetupDelay = 1;
            runInfo.ExternalSetupWorkingDirectory = "";
            runInfo.ExternalTeardownArguments = "";
            runInfo.ExternalTeardownCommand = "";
            runInfo.ExternalTeardownDelay = 1;
            runInfo.ExternalTeardownWorkingDirectory = "";
            runInfo.UpdateListViewItem();

            BatchRunForm brf = new BatchRunForm(runInfo);
            brf.ShowDialog();
            if (brf.DialogResult == DialogResult.OK)
            {
                runListView.Items.Add(runInfo);
            }
            

        }
Example #3
0
        private void runListView_DoubleClick(object sender, EventArgs e)
        {
            RunInfo selected = null;

            foreach (RunInfo ri in runListView.SelectedItems)
            {
                selected = ri;
                break;
            }
            if (selected != null)
            {
                BatchRunForm brf = new BatchRunForm(selected);
                brf.ShowDialog();
            }
        }
Example #4
0
        private void runListView_DoubleClick(object sender, EventArgs e)
        {
            RunInfo selected = null;
            foreach (RunInfo ri in runListView.SelectedItems)
            {
                selected = ri;
                break;
            }
            if (selected != null)
            {
                BatchRunForm brf = new BatchRunForm(selected);
                brf.ShowDialog();

            }
        }