BigRedButtonOfDeath.WPF.MainWindow.UnableToConnect C# (CSharp) Метод

UnableToConnect() публичный Метод

public UnableToConnect ( ) : void
Результат void
        public void UnableToConnect()
        {
            if (this.Dispatcher != System.Windows.Threading.Dispatcher.CurrentDispatcher)
            {
                this.Dispatcher.Invoke(new Action(UnableToConnect));
            }
            else
            {
                MessageBox.Show("Unable to connect to server", "The Big Red Button of Death!", MessageBoxButton.OK, MessageBoxImage.Hand);
                ConnectionStarted = false;
                GameRunning = false;
                SimulationRunning = false;
                SelfDestructRunning = false;
            }
        }