Esempio n. 1
0
        private void selectButton_Click(object sender, EventArgs e)
        {
            this.Hide();
            RelationshipForm tree = new RelationshipForm(people, person);

            tree.ShowDialog();
            this.Close();
        }
Esempio n. 2
0
 private void viewButton_Click(object sender, EventArgs e)
 {
     if (personListBox.SelectedIndex != -1)
     {
         Form f1 = new RelationshipForm(people, (Person)personListBox.SelectedItem);
         this.Hide();
         f1.Show();
     }
 }