Exemplo n.º 1
0
 private void loadBatchButton_Click(object sender, EventArgs e)
 {
     // load stuff, if successful, change the state
     m_loadedRuns = RunInfo.LoadBatchFile(batchFilePathTextBox.Text);
     if (m_loadedRuns != null)
     {
         m_state = BatchRunnerState.Loaded;
     }
     UpdateView();
 }
Exemplo n.º 2
0
 private void BatchEditorForm_Load(object sender, EventArgs e)
 {
     if (BatchFilePath != String.Empty)
     {
         List <RunInfo> runs = RunInfo.LoadBatchFile(BatchFilePath);
         runListView.Items.Clear();
         foreach (RunInfo ri in runs)
         {
             ri.UpdateListViewItem();
             runListView.Items.Add(ri);
         }
     }
 }