/// <summary> /// Initializes a new instance of the <see cref="WixPropertyPagePanel"/> class. /// </summary> /// <param name="parentPropertyPage">The parent property page to which this is bound.</param> public WixPropertyPagePanel(WixPropertyPage parentPropertyPage) { this.parentPropertyPage = parentPropertyPage; this.InitializeComponent(); this.Font = WixHelperMethods.GetDialogFont(); }
// ========================================================================================= // Constructors // ========================================================================================= /// <summary> /// Initilizes a new instance of the WixPathsPropertyPagePanel class /// </summary> /// <param name="parentPropertyPage">The parent property page to which this is bound</param> public WixPathsPropertyPagePanel(WixPropertyPage parentPropertyPage) : base(parentPropertyPage) { this.InitializeComponent(); this.referencePathsFoldersSelector.Tag = WixProjectFileConstants.ReferencePaths; this.includePathsFolderSelector.Tag = WixProjectFileConstants.IncludeSearchPaths; }
// ========================================================================================= // Constructors // ========================================================================================= /// <summary> /// Initializes a new instance of the <see cref="WixInstallerPropertyPagePanel"/> class. /// </summary> /// <param name="parentPropertyPage">The parent property page to which this is bound.</param> public WixInstallerPropertyPagePanel(WixPropertyPage parentPropertyPage) : base(parentPropertyPage) { this.InitializeComponent(); this.outputNameTextBox.Tag = WixProjectFileConstants.OutputName; this.comboOutputType.Tag = WixProjectFileConstants.OutputType; }
/// <summary> /// Initializes a new instance of the <see cref="WixPropertyPagePanel"/> class. /// </summary> /// <param name="parentPropertyPage">The parent property page to which this is bound.</param> public WixPropertyPagePanel(WixPropertyPage parentPropertyPage) { this.parentPropertyPage = parentPropertyPage; this.InitializeComponent(); this.Font = WixHelperMethods.GetDialogFont(); this.BackColor = WixHelperMethods.GetVsColor(WixHelperMethods.Vs2010Color.VSCOLOR_BUTTONFACE); this.ForeColor = WixHelperMethods.GetVsColor(WixHelperMethods.Vs2010Color.VSCOLOR_BUTTONTEXT); }
// ========================================================================================= // Constructors // ========================================================================================= /// <summary> /// Initializes a new instance of the <see cref="WixBuildEventsPropertyPagePanel"/> class. /// </summary> /// <param name="parentPropertyPage">The parent property page to which this is bound.</param> public WixBuildEventsPropertyPagePanel(WixPropertyPage parentPropertyPage) : base(parentPropertyPage) { this.InitializeComponent(); // hook up the form to both editors this.preBuildEditor.Initialize(parentPropertyPage.ProjectMgr, this.editorForm); this.postBuildEditor.Initialize(parentPropertyPage.ProjectMgr, this.editorForm); this.preBuildEditor.TextBox.Tag = WixProjectFileConstants.PreBuildEvent; this.postBuildEditor.TextBox.Tag = WixProjectFileConstants.PostBuildEvent; this.runPostBuildComboBox.Tag = WixProjectFileConstants.RunPostBuildEvent; }
/// <summary> /// Initializes a new instance of the WixToolSettingsPropertyPagePanel class. /// </summary> /// <param name="parentPropertyPage">The parent property page to which this is bound</param> public WixToolsSettingsPropertyPagePanel(WixPropertyPage parentPropertyPage) : base(parentPropertyPage) { this.InitializeComponent(); this.suppressIceCheckbox.Tag = WixProjectFileConstants.SuppressValidation; this.specificIceTextBox.Tag = WixProjectFileConstants.SuppressIces; this.compilerTextBox.Tag = WixProjectFileConstants.CompilerAdditionalOptions; this.linkerTextBox.Tag = WixProjectFileConstants.LinkerAdditionalOptions; this.librarianTextBox.Tag = WixProjectFileConstants.LibAdditionalOptions; this.suppressIceCheckbox.CheckStateChanged += delegate { this.specificIceTextBox.Enabled = (this.suppressIceCheckbox.CheckState != CheckState.Checked); }; }
// ========================================================================================= // Member Variables // ========================================================================================= // ========================================================================================= // Constructors // ========================================================================================= /// <summary> /// Initializes a new instance of the <see cref="WixBuildPropertyPagePanel"/> class. /// </summary> /// <param name="parentPropertyPage">The parent property page to which this is bound.</param> public WixBuildPropertyPagePanel(WixPropertyPage parentPropertyPage) : base(parentPropertyPage) { this.InitializeComponent(); this.culturesTextBox.Tag = WixProjectFileConstants.Cultures; this.defineConstantsTextBox.Tag = WixProjectFileConstants.DefineConstants; this.defineDebugCheckBox.Tag = WixProjectFileConstants.DefineDebugConstant; this.defineVariablesTextBox.Tag = WixProjectFileConstants.WixVariables; this.leaveTempFilesCheckBox.Tag = WixProjectFileConstants.LeaveTemporaryFiles; this.outputPathFolderBrowser.TextBox.Tag = WixProjectFileConstants.OutputPath; this.suppressedWarningsText.Tag = WixProjectFileConstants.SuppressSpecificWarnings; this.suppressWixPdbCheckBox.Tag = WixProjectFileConstants.SuppressPdbOutput; this.verboseOutputCheckBox.Tag = WixProjectFileConstants.VerboseOutput; this.warningsAsErrorsCheckBox.Tag = WixProjectFileConstants.TreatWarningsAsErrors; this.warningLevelCombo.Tag = WixProjectFileConstants.WarningLevel; this.bindFilesCheckBox.Tag = WixProjectFileConstants.LibBindFiles; this.warningLevelCombo.SelectedIndexChanged += delegate { this.suppressedWarningsText.Enabled = this.warningLevelCombo.SelectedIndex != 0; this.warningsAsErrorsCheckBox.Enabled = this.warningLevelCombo.SelectedIndex != 0; }; }