Azmyth Main Menu
Inheritance: XGControl
Exemple #1
0
        public void ShowCreateWorld(bool blnShow)
        {
            if (blnShow)
            {
                if (m_createWorld == null)
                {
                    m_createWorld = new frmCreateWorld(this);

                    XGControl.BkgColor = Color.Black;
                    XGControl.ControlColor = Color.Gray;
                    XGControl.ForeColor = Color.White;

                }
            }
            else
            {
                if (m_createWorld != null)
                {
                    XnaGUIManager.Controls.Remove(m_createWorld);

                    m_createWorld = null;

                }
            }
        }