private void InitializeViewElements() { dialogManager = new DialogManager("NUnit Project Editor"); messageDisplay = new MessageDisplay("NUnit Project Editor"); browseProjectBaseCommand = new ButtonElement(projectBaseBrowseButton); editConfigsCommand = new ButtonElement(editConfigsButton); browseConfigBaseCommand = new ButtonElement(configBaseBrowseButton); addAssemblyCommand = new ButtonElement(addAssemblyButton); removeAssemblyCommand = new ButtonElement(removeAssemblyButton); browseAssemblyPathCommand = new ButtonElement(assemblyPathBrowseButton); projectPath = new TextElement(projectPathLabel); projectBase = new TextElement(projectBaseTextBox); processModel = new ComboBoxElement(processModelComboBox); domainUsage = new ComboBoxElement(domainUsageComboBox); runtime = new ComboBoxElement(runtimeComboBox); runtimeVersion = new ComboBoxElement(runtimeVersionComboBox); activeConfigName = new TextElement(activeConfigLabel); configList = new ComboBoxElement(configComboBox); applicationBase = new TextElement(applicationBaseTextBox); configurationFile = new TextElement(configFileTextBox); binPathType = new RadioButtonGroup("BinPathType", autoBinPathRadioButton, manualBinPathRadioButton, noBinPathRadioButton); privateBinPath = new TextElement(privateBinPathTextBox); assemblyPath = new TextElement(assemblyPathTextBox); assemblyList = new ListBoxElement(assemblyListBox); }
public ConfigurationEditorDialog() { InitializeComponent(); addCommand = new ButtonElement(addButton); removeCommand = new ButtonElement(removeButton); renameCommand = new ButtonElement(renameButton); activeCommand = new ButtonElement(activeButton); configList = new ListBoxElement(configListBox); messageDisplay = new MessageDisplay("NUnit Configuration Editor"); }
internal void RaiseSelectionChangedEvent(ISelectionList list, List<Guid> added, List<Guid> removed, bool cleared, object source) { if (SelectionChanged != null) { SelectionChanged(null, new SelectionChangedEventArgs { Added = added, Removed = removed, Source = source, Cleared = cleared, SelectionList = list }); } }
public SelectionManager() { MSelectionLists = new Dictionary<string, ISelectionList>(); MDefaultSelection = CreateSelectionList("Default"); }