/// <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(); }
/// <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> /// 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; }
// ========================================================================================= // 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; }
// ========================================================================================= // 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; }
/// <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); }
/// <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; }
// ========================================================================================= // 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); }; }
/// <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); // hook up our events EventHandler dirtyHandler = delegate(object sender, EventArgs e) { this.ParentPropertyPage.IsDirty = true; }; this.preBuildEditor.TextBox.TextChanged += dirtyHandler; this.postBuildEditor.TextBox.TextChanged += dirtyHandler; this.runPostBuildComboBox.SelectedIndexChanged += dirtyHandler; }
/// <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); }; }
/// <summary> /// Initializes a new instance of the <see cref="WixLinkerPropertyPagePanel"/> class. /// </summary> /// <param name="parentPropertyPage">The parent property page to which this is bound.</param> public WixLinkerPropertyPagePanel(WixPropertyPage parentPropertyPage) : base(parentPropertyPage) { this.InitializeComponent(); // hook up the generic events EventHandler setDirtyHandler = delegate { this.ParentPropertyPage.IsDirty = true; }; this.wixVariablesTextBox.TextChanged += setDirtyHandler; this.outputPathTextBox.TextChanged += setDirtyHandler; this.culturesTextBox.TextChanged += setDirtyHandler; this.warningsAsErrorsCheckBox.CheckedChanged += setDirtyHandler; this.pedanticCheckBox.CheckedChanged += setDirtyHandler; this.specificWarningsTextBox.TextChanged += setDirtyHandler; EventHandler radioCheckedHandler = new EventHandler(this.SuppressWarningsCheckedChanged); this.suppressWarningsSpecificRadioButton.CheckedChanged += radioCheckedHandler; this.suppressWarningsNoneRadioButton.CheckedChanged += radioCheckedHandler; }
/// <summary> /// Initializes a new instance of the <see cref="WixLibrarianPropertyPagePanel"/> class. /// </summary> /// <param name="parentPropertyPage">The parent property page to which this is bound.</param> public WixLibrarianPropertyPagePanel(WixPropertyPage parentPropertyPage) : base(parentPropertyPage) { this.InitializeComponent(); // hook up the generic events EventHandler setDirtyHandler = delegate { this.ParentPropertyPage.IsDirty = true; }; this.outputPathTextBox.TextChanged += setDirtyHandler; this.bindFilesCheckBox.CheckedChanged += setDirtyHandler; this.warningsAsErrorsCheckBox.CheckedChanged += setDirtyHandler; this.suppressSchemaValidationCheckBox.CheckedChanged += setDirtyHandler; this.suppressIntermediateFileVersionMismatchCheckBox.CheckedChanged += setDirtyHandler; this.verboseOutputCheckBox.CheckedChanged += setDirtyHandler; this.specificWarningsTextBox.TextChanged += setDirtyHandler; EventHandler radioCheckedHandler = new EventHandler(this.SuppressWarningsCheckedChanged); this.suppressWarningsSpecificRadioButton.CheckedChanged += radioCheckedHandler; this.suppressWarningsNoneRadioButton.CheckedChanged += radioCheckedHandler; }
// ========================================================================================= // 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; }; }
// ========================================================================================= // 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; }; }
/// <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.InitializeOutputTypes(); }
/// <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(); }