Exemple #1
0
        private void newBatchButton_Click(object sender, EventArgs e)
        {
            BatchEditorForm b = new BatchEditorForm();

            b.BatchFilePath = batchFilePathTextBox.Text;
            b.ShowDialog();
            if (b.DialogResult == DialogResult.OK)
            {
                batchFilePathTextBox.Text = b.BatchFilePath;
                Properties.Settings.Default.BatchFilePath = batchFilePathTextBox.Text;
                Properties.Settings.Default.Save();
            }
        }
Exemple #2
0
 private void newBatchButton_Click(object sender, EventArgs e)
 {
     BatchEditorForm b = new BatchEditorForm();
     b.BatchFilePath = batchFilePathTextBox.Text;
     b.ShowDialog();
     if (b.DialogResult == DialogResult.OK)
     {
         batchFilePathTextBox.Text = b.BatchFilePath;
         Properties.Settings.Default.BatchFilePath = batchFilePathTextBox.Text;
         Properties.Settings.Default.Save();
     }
 }