public AdvancedOptions() { InitializeComponent(); if (DesignMode) { return; } if (ZAMsettings.LoggerFactory == null) { return; } Logger = ZAMsettings.LoggerFactory.CreateLogger <AdvancedOptions>(); this.BackColor = Color.AliceBlue; this.ForeColor = Color.AliceBlue; MSoffice2010ColorManager colorTable = ZAMappearance.ApplyColorTable(this); // SfForm is not firing the property changed events so doing it manually here. this.AdvancedOptions_BackColorChanged(this, null); this.AdvancedOptions_ForeColorChanged(this, null); this.Icon = Properties.Resources.ZAMicon; UserControlBase.SetListViewHeaderColor(ref this.lvTrace, SystemColors.Control, SystemColors.ControlText); }
public StatisticsControl() { InitializeComponent(); if (DesignMode) { return; } UserControlBase.SetListViewHeaderColor(ref this.lvCollectors, SystemColors.Control, SystemColors.ControlText); }
public SystemControl() : base() { InitializeComponent(); if (DesignMode) { return; } if (ZAMsettings.LoggerFactory == null) { return; } Logger = ZAMsettings.LoggerFactory.CreateLogger <SystemControl>(); UserControlBase.SetListViewHeaderColor(ref this.lvTrace, SystemColors.Control, SystemColors.ControlText); }