BigRedButtonOfDeath.Forms.Form1.UnableToConnect C# (CSharp) Method

UnableToConnect() public method

public UnableToConnect ( ) : void
return void
        public void UnableToConnect()
        {
            if (this.InvokeRequired)
            {
                this.Invoke(new Action(UnableToConnect));
            }
            else
            {
                this.TopMost = false;
                MessageBox.Show("Unable to connect to server.", "The Big Red Button of Death!", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly);
                SetForConnection();
                this.TopMost = true;
            }
        }