protected void OnShow( Object Sender, INotification Notification ) { this.screen = new LobbyScreen( this.Component ); this.screen.OnAccountClicked += this.OnAccountClicked; this.screen.OnSettingsClicked += this.OnSettingsClicked; this.screen.OnExitClicked += this.OnExitClicked; this.screen.Initialize(); this.screen.Show(); }
protected override void Dispose() { this.screen = null; base.Dispose(); }