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;
            }
        }
        private void CreateLoadingScreen()
        {
            connectionBackgorund             = new GUIImage(new System.Drawing.Rectangle(0, 0, 0, 0), UIDock.ScreenSizeRatio);
            connectionBackgorund.TextureName = "BackGround";
            connectionBackgorund.NoInteractable();
            connectionBackgorund.Disable();

            connectionTextInfo = new GUILable("Null Connection Screen Info", new System.Drawing.Rectangle(0, 0, 200, 20), UIDock.Cennter);
            connectionTextInfo.SetColor(Color4.White);
            connectionTextInfo.SetTextAling(Font.TextAling.Center);
            connectionTextInfo.ShowBackGround = false;
            connectionTextInfo.Disable();
        }
        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 Disable(int x, int y)
 {
     MouseCursor.LockCursor();
     texttest.Disable();
     texttest.SetPosition(x, y);
 }
 public InGameTollTip()
 {
     texttest = new GUILable("TollTip: ", new System.Drawing.Rectangle(Window.Instance.Width / 2, Window.Instance.Height / 2, 100, 50), UIDock.Free);
     texttest.Disable();
 }