public void LoadView() { IList columns = new ArrayList() { "ID", "Title", "Active" }; this.view.AddListViewColumns(columns); this.comboBoxItems = QTemplateGroups.GetActiveItems(); if (this.comboBoxItems.Count != 0) { AddItemsToComboBox(); this.view.SetComboBoxDisplayMember("Value"); this.view.SetComboBoxSelectedIndex(0); } }
public void LoadView() { this.templateGroups = QTemplateGroups.GetActiveItems(); AddTemplateGroupsToListBox1(); }