Beispiel #1
0
 private void Client_Reconnecting()
 {
     Debug.WriteLine("Reconnecting");
     dialogManager.CloseChatWindow();
     DialogHelper.CloseAll();
     regionManager.RequestNavigateInRootRegion(RegionViews.ConnectingView);
 }
Beispiel #2
0
        /// <summary>
        /// Client was disconnected from server.
        /// </summary>
        private void MalinkaClient_Disconnected()
        {
            Logger.Log.Warn("Disconnected from server");

            DialogHelper.CloseAll();

            regionManager.RequestNavigateInRootRegion(RegionViews.ConnectionView);

            malinkaClient.ConnectAsync();
        }