/// <summary> /// Initializes a new instance of the <see cref="XPropertyPagePanel"/> class. /// </summary> /// <param name="parentPropertyPage">The parent property page to which this is bound.</param> public XPropertyPagePanel(XPropertyPage parentPropertyPage) { this.parentPropertyPage = parentPropertyPage; this.InitializeComponent(); this.Font = XHelperMethods.GetDialogFont(); this.ForeColor = XHelperMethods.GetVsColor(XHelperMethods.Vs2010Color.VSCOLOR_BUTTONTEXT); }
// ========================================================================================= // Constructors // ========================================================================================= /// <summary> /// Initializes a new instance of the <see cref="XBuildEventEditorForm"/> class. /// </summary> public XBuildEventEditorForm(IServiceProvider serviceProvider) { this.serviceProvider = serviceProvider; this.InitializeComponent(); this.Font = XHelperMethods.GetDialogFont(); //this.BackColor = XHelperMethods.GetVsColor(XHelperMethods.Vs2010Color.VSCOLOR_BUTTONFACE); XHelperMethods.SetControlTreeColors(this); }