Ejemplo n.º 1
0
 private void ShowFriendsFailed()
 {
     GalaSoft.MvvmLight.Threading.DispatcherHelper.UIDispatcher.BeginInvoke(() =>
     {
         YesNoDialog frindsInfoFailed = new YesNoDialog();
         frindsInfoFailed.Title = "Error";
         frindsInfoFailed.Message = Words.FriendsFailedDescription;
         frindsInfoFailed.Yes = "Try Again";
         frindsInfoFailed.No = "Cancel";
         frindsInfoFailed.Closed += new EventHandler(frindsInfoFailed_Closed);
         frindsInfoFailed.Show();
     });
 }
Ejemplo n.º 2
0
 private void ShowFlocksReady()
 {
     GalaSoft.MvvmLight.Threading.DispatcherHelper.UIDispatcher.BeginInvoke(() =>
     {
         YesNoDialog flockLayout = new YesNoDialog();
         flockLayout.Title = "Flocks Ready";
         flockLayout.Message = "Your flocks are ready! Do you want to switch to Flock Layout now?";
         flockLayout.Yes = "Yes";
         flockLayout.No = "No";
         flockLayout.Closed += new EventHandler(flockLayout_Closed);
         flockLayout.Show();
     });
 }