public void Open_ConnectingScreen(ClientType type)
        {
            Logo.Disable();
            imgteste.Disable();
            debugText.Disable();
            VersionText.Disable();
            DarkcomsoftCopy.Disable();
            PlaySingleButtom.Disable();
            PlayMultiButtom.Disable();
            QuitButtom.Disable();

            connectionBackgorund.Enable();
            connectionTextInfo.Enable();

            switch (type)
            {
            case ClientType.SinglePlayer:
                connectionTextInfo.SetText("Starting SinglePlayer Server...");
                break;

            case ClientType.Multiplayer:
                connectionTextInfo.SetText("Connecting To Server...");
                break;
            }
        }
        public void Close_ConnectingScreen(string error)
        {
            connectionTextInfo.SetText("ERROR " + error);

            connectionBackgorund.Disable();
            connectionTextInfo.Disable();

            Logo.Enable();
            imgteste.Enable();
            debugText.Enable();
            VersionText.Enable();
            DarkcomsoftCopy.Enable();
            PlaySingleButtom.Enable();
            PlayMultiButtom.Enable();
            QuitButtom.Enable();
        }
 public void Enable(int x, int y)
 {
     MouseCursor.UnLockCursor();
     texttest.Enable();
     texttest.SetPosition(x, y);
 }