예제 #1
0
        private void AddProgramButton_Click(object sender, EventArgs e)
        {
            var form = new AddArgosProgramForm(Investigator);

            form.DatabaseChanged += (o, x) => ArgosDataChanged();
            form.Show(this);
        }
예제 #2
0
        private void AddProgram_Click(object sender, EventArgs e)
        {
            var form = new AddArgosProgramForm(Investigator);

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