static public PersonSelectWindow Show(Gtk.Window parent, ArrayList persons) { if (PersonSelectWindowBox == null) { PersonSelectWindowBox = new PersonSelectWindow(parent); } PersonSelectWindowBox.persons = persons; PersonSelectWindowBox.createTable(); PersonSelectWindowBox.person_select_window.Show(); return(PersonSelectWindowBox); }
static public PersonSelectWindow Show(Gtk.Window parent, ArrayList persons, Person currentPerson) { if (PersonSelectWindowBox == null) { PersonSelectWindowBox = new PersonSelectWindow(parent); } PersonSelectWindowBox.persons = persons; PersonSelectWindowBox.SelectedPerson = currentPerson; PersonSelectWindowBox.viewport_person_name_show_paint(); PersonSelectWindowBox.notebook.CurrentPage = 0; PersonSelectWindowBox.button_manage_persons.Sensitive = true; PersonSelectWindowBox.hbox_up_down_close.Sensitive = true; PersonSelectWindowBox.createTable(); PersonSelectWindowBox.person_select_window.Show(); return(PersonSelectWindowBox); }