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

            form.DatabaseChanged += (o, args) => GeneralDataChanged();
            form.Show(this);
        }
コード例 #2
0
 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);
 }
コード例 #3
0
        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);
        }
コード例 #4
0
 private void InvestigatorDetailsButton_Click(object sender, EventArgs e)
 {
     var form = new InvestigatorDetailsForm(Project.ProjectInvestigator1);
     form.DatabaseChanged += (o, args) => GeneralDataChanged();
     form.Show(this);
 }
コード例 #5
0
 private void MyProfileButton_Click(object sender, EventArgs e)
 {
     var form = new InvestigatorDetailsForm(_investigator);
     form.Show(this);
 }
コード例 #6
0
ファイル: MainForm.cs プロジェクト: rafaelruas/AnimalMovement
        private void MyProfileButton_Click(object sender, EventArgs e)
        {
            var form = new InvestigatorDetailsForm(_investigator);

            form.Show(this);
        }