createTable() private method

private createTable ( ) : void
return void
示例#1
0
    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);
    }
示例#2
0
    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);
    }