コード例 #1
0
ファイル: BugReport.xaml.cs プロジェクト: rafal06/Quarrel
 private void CloseButton_Click()
 {
     scale.CenterY = this.ActualHeight / 2;
     scale.CenterX = this.ActualWidth / 2;
     NavAway.Begin();
     App.SubpageClosed();
 }
コード例 #2
0
 private void CloseButton_Click(object sender, RoutedEventArgs e)
 {
     scale.CenterY = this.ActualHeight / 2;
     scale.CenterX = this.ActualWidth / 2;
     NavAway.Begin();
     App.SubpageClosed();
 }
コード例 #3
0
 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();
 }
コード例 #4
0
 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();
 }
コード例 #5
0
 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();
 }
コード例 #6
0
 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);
     }
 }
コード例 #7
0
 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;
     }
 }
コード例 #8
0
 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();
 }