Exemplo n.º 1
0
        private void AddParameterFileButton_Click(object sender, EventArgs e)
        {
            var form = new AddCollarParameterFileForm(Investigator);

            form.DatabaseChanged += (o, x) => ParameterFileDataChanged();
            form.Show(this);
        }
Exemplo n.º 2
0
        private void BrowseButton_Click(object sender, EventArgs e)
        {
            var form = new AddCollarParameterFileForm();

            form.DatabaseChanged += (o, args) => { OnDatabaseChanged(); LoadDataContext(); LoadDefaultFormContents(); };
            form.Show(this);
        }
 private void BrowseButton_Click(object sender, EventArgs e)
 {
     var form = new AddCollarParameterFileForm();
     form.DatabaseChanged += (o, args) =>
         {
             OnDatabaseChanged();
             LoadDataContext();
             LoadDefaultFormContents();
         };
     form.Show(this);
 }
Exemplo n.º 4
0
        private void AddTpfFiles_Click(object sender, EventArgs e)
        {
            var form = new AddCollarParameterFileForm(Investigator);

            NextButton.Enabled    = false;
            form.DatabaseChanged += (o, a) =>
            {
                NextButton.Click -= AddTpfFiles_Click;
                NextButton.Click += NextButton_Click;
            };
            form.ShowDialog();
            NextButton.Enabled = true;
        }
 private void AddTpfFiles_Click(object sender, EventArgs e)
 {
     var form = new AddCollarParameterFileForm(Investigator);
     NextButton.Enabled = false;
     form.DatabaseChanged += (o, a) =>
     {
         NextButton.Click -= AddTpfFiles_Click;
         NextButton.Click += NextButton_Click;
     };
     form.ShowDialog();
     NextButton.Enabled = true;
 }
 private void AddParameterFileButton_Click(object sender, EventArgs e)
 {
     var form = new AddCollarParameterFileForm(Investigator);
     form.DatabaseChanged += (o, x) => ParameterFileDataChanged();
     form.Show(this);
 }