/// <summary> /// Initializes a new instance of the MainForm class. /// </summary> /// <param name="logging">The logging service to use.</param> public MainForm(ILogService logging) { this.InitializeComponent(); this.presenter = new ToolPresenter(this, logging); this.logging = logging; this.Paint += this.MainForm_Paint; var tip = new ToolTip { AutoPopDelay = 5000, InitialDelay = 1000, ReshowDelay = 500, ShowAlways = true }; this.InitializeToolTips(tip, this.Controls); }
/// <summary> /// Initializes a new instance of the MainForm class. /// </summary> /// <param name="logging">The logging service to use.</param> public MainForm(ILogService logging) { this.InitializeComponent(); this.presenter = new ToolPresenter(this, logging); this.logging = logging; this.Paint += this.MainForm_Paint; var tip = new ToolTip { AutoPopDelay = 5000, InitialDelay = 1000, ReshowDelay = 500, ShowAlways = true }; this.InitializeToolTips(tip, this.Controls); }