protected override void Dispose(bool disposing) { spriteManager.Dispose(); if (commentInputTextbox != null) { commentInputTextbox.Dispose(); } base.Dispose(disposing); }
protected override void Dispose(bool disposing) { KeyboardHandler.OnKeyRepeat -= KeyboardHandler_OnKeyRepeat; BanchoClient.OnConnect -= BanchoClient_OnConnect; LeaveLobby(false); spriteManager.Dispose(); spriteManagerFilters.Dispose(); areaGameList.Dispose(); Matches.Clear(); filterTextBox.Dispose(); base.Dispose(disposing); }
protected override void Dispose(bool disposing) { KeyboardHandler.OnKeyPressed -= KeyboardHandler_OnKeyPressed; if (GameBase.Mode != Modes.MatchSetup && GameBase.Mode != Modes.SelectMulti && Lobby.Status != LobbyStatus.Idle && Lobby.Status != LobbyStatus.Play) { OnLeaveGame(null, null); } if (Lobby.Status == LobbyStatus.Play || Lobby.Status == LobbyStatus.Setup) { if (!Lobby.chatOpenOnStart && ChatEngine.IsVisible) { ChatEngine.Toggle(true); } } spriteManager.Dispose(); detailsGameName.Dispose(); content.Unload(); base.Dispose(disposing); }
public override void Dispose() { base.Dispose(); Textbox.Dispose(); }
protected override void Dispose(bool disposing) { gameName.Dispose(); base.Dispose(disposing); }