Esempio n. 1
0
 private void button1_Click_1(object sender, EventArgs e)
 {
     ace = new AgeClassEditor(Session, this.Individual,
                              (IndividualAgeClass)individualAgeClassBindingSource.Current);
     ace.ShowDialog();
     this.dataGridViewIndividualAgeClass.Refresh();
 }
Esempio n. 2
0
        private void button3_Click(object sender, EventArgs e)
        {
            ace = new AgeClassEditor(Session, this.Individual);
            DialogResult result = ace.ShowDialog();

            if (result == System.Windows.Forms.DialogResult.OK)
            {
                this.Individual.AgeClassHistory.Add(ace.State);
                this.individualAgeClassBindingSource.Add(ace.State);
                this.RefreshLabels();
            }
        }