Exemple #1
0
        private void InvestigatorDetailsButton_Click(object sender, EventArgs e)
        {
            var form = new InvestigatorDetailsForm(Project.ProjectInvestigator1);

            form.DatabaseChanged += (o, args) => GeneralDataChanged();
            form.Show(this);
        }
 private void InfoInvestigatorButton_Click(object sender, EventArgs e)
 {
     if (InvestigatorsGridView.CurrentRow == null)
         return; //This buttton is only enabled when Current Row is not not null
     var pi = (ProjectInvestigator)InvestigatorsGridView.CurrentRow.DataBoundItem;
     var form = new InvestigatorDetailsForm(pi);
     form.DatabaseChanged += (o, args) =>
         {
             ProjectInvestigatorDataChanged();
             SelectInvestigatorRow(pi.Login);
         };
     form.Show(this);
 }
        private void InfoInvestigatorButton_Click(object sender, EventArgs e)
        {
            if (InvestigatorsGridView.CurrentRow == null)
            {
                return; //This buttton is only enabled when Current Row is not not null
            }
            var pi   = (ProjectInvestigator)InvestigatorsGridView.CurrentRow.DataBoundItem;
            var form = new InvestigatorDetailsForm(pi);

            form.DatabaseChanged += (o, args) =>
            {
                ProjectInvestigatorDataChanged();
                SelectInvestigatorRow(pi.Login);
            };
            form.Show(this);
        }
 private void InvestigatorDetailsButton_Click(object sender, EventArgs e)
 {
     var form = new InvestigatorDetailsForm(Project.ProjectInvestigator1);
     form.DatabaseChanged += (o, args) => GeneralDataChanged();
     form.Show(this);
 }
 private void MyProfileButton_Click(object sender, EventArgs e)
 {
     var form = new InvestigatorDetailsForm(_investigator);
     form.Show(this);
 }
        private void MyProfileButton_Click(object sender, EventArgs e)
        {
            var form = new InvestigatorDetailsForm(_investigator);

            form.Show(this);
        }