protected override void Initialize() { base.Initialize(); Config.ReadConfig(); if ((bool)Config.GetEntry("isBorderless")) { this.Window.IsBorderless = true; } this.IsMouseVisible = true; this.Window.Title = "osu!LiveDisplay Output"; nameChangeTracker = new NameChangeTracker(this.OsuTitleChanged); if ((string)Config.GetEntry("osuLocation") != "") { LoadOsuDatabase(); } }
protected override void OnExiting(Object sender, EventArgs args) { NameChangeTracker.UnhookWinEvent(nameChangeTracker.hhook); base.OnExiting(sender, args); }