Пример #1
0
 private void showConnection_button_Click(object sender, EventArgs e)
 {
     if (connection_listbox.SelectedItem != null)
     {
         PersonModel person = (PersonModel)connection_listbox.SelectedItem;
         callingForm.LoadEditPersonForm(person);
     }
 }
Пример #2
0
 private void fullProfile_button_Click(object sender, EventArgs e)
 {
     if (Selected())
     {
         PersonModel person = (PersonModel)person_listbox.SelectedItem;
         callingForm.LoadEditPersonForm(person);
     }
 }