示例#1
0
 /// <summary>
 /// The set state offline.
 /// </summary>
 private void SetStateOffline()
 {
     this.Dispatcher.BeginInvoke(
         new Action(
             () =>
     {
         TabCommunityChat.IsEnabled = false;
         TabMain.Focus();
     }));
 }
示例#2
0
 /// <summary>
 /// The set state offline.
 /// </summary>
 private void SetStateOffline()
 {
     this.Dispatcher.BeginInvoke(
         new Action(
             () =>
     {
         TabCommunityChat.IsEnabled = false;
         TabMain.Focus();
         menuSub.Visibility = Visibility.Collapsed;
     }));
 }