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); MoveUpAssemblyCommand = new ButtonElement(upAssemblyButton); MoveDownAssemblyCommand = new ButtonElement(downAssemblyButton); 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 AddConfigurationDialog() { InitializeComponent(); OkButton = new ButtonElement(okButton); }