Example #1
0
        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);
        }
Example #2
0
        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");
        }
        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);
        }