private void CloseButton_Click() { scale.CenterY = this.ActualHeight / 2; scale.CenterX = this.ActualWidth / 2; NavAway.Begin(); App.SubpageClosed(); }
private void CloseButton_Click(object sender, RoutedEventArgs e) { scale.CenterY = this.ActualHeight / 2; scale.CenterX = this.ActualWidth / 2; NavAway.Begin(); App.SubpageClosed(); }
private void CloseButton_Click(object sender, RoutedEventArgs e) { GatewayManager.Gateway.GuildChannelUpdated -= ChannelUpdated; scale.CenterY = this.ActualHeight / 2; scale.CenterX = this.ActualWidth / 2; NavAway.Begin(); App.SubpageClosed(); }
private void CloseButton_Click(object sender, RoutedEventArgs e) { scale.CenterY = this.ActualHeight / 2; scale.CenterX = this.ActualWidth / 2; NavAway.Begin(); AudioManager.LightDisposeInGraph(); AudioManager.InputRecieved -= AudioManager_InputRecieved; App.SubpageClosed(); }
private void CloseButton_Click(object sender, RoutedEventArgs e) { scale.CenterY = this.ActualHeight / 2; scale.CenterX = this.ActualWidth / 2; GatewayManager.Gateway.UserNoteUpdated -= Gateway_UserNoteUpdated; GatewayManager.Gateway.PresenceUpdated -= Gateway_PresenceUpdated; GatewayManager.Gateway.RelationShipAdded -= Gateway_RelationshipAdded; GatewayManager.Gateway.RelationShipUpdated -= Gateway_RelationshipUpdated; GatewayManager.Gateway.RelationShipRemoved -= Gateway_RelationshipRemoved; NavAway.Begin(); App.SubpageClosed(); }
private void CloseButton_Click(object sender, RoutedEventArgs e) { if (!OfflineMode) { scale.CenterY = this.ActualHeight / 2; scale.CenterX = this.ActualWidth / 2; NavAway.Begin(); App.SubpageClosed(); } else { Frame.Navigate(typeof(Offline), status); } }
private void CloseButton_Click(object sender, RoutedEventArgs e) { if (App.shareop != null) { App.shareop.DismissUI(); } else { scale.CenterY = this.ActualHeight / 2; scale.CenterX = this.ActualWidth / 2; NavAway.Begin(); App.SubpageClosed(); RESTCalls.MessageUploadProgress -= Session_MessageUploadProgress; } }
private void CloseButton_Click(object sender, RoutedEventArgs e) { scale.CenterY = this.ActualHeight / 2; scale.CenterX = this.ActualWidth / 2; NavAway.Begin(); if (timer.IsEnabled) { timer.Stop(); } if (statsTimer.IsEnabled) { statsTimer.Stop(); } timer.Tick -= TimerOnTick; statsTimer.Tick -= StatsTimer_Tick; App.SubpageClosed(); }