public override bool CloseScreen()
        {
            bool ret = base.CloseScreen();

            if (ret == true)
            {
                CurrentScreen = null;
            }

            return ret;
        }
Esempio n. 2
0
        public override bool CloseScreen()
        {
            bool ret = base.CloseScreen();

            if (ret == true)
            {
                CurrentScreen = null;
            }

            return(ret);
        }
        public static MyGuiScreenEditorProgress CurrentScreen = null;    //  This is always filled with reference to actual instance of this scree. If there isn't, it's null.

        public MyGuiScreenEditorProgress(MyTextsWrapperEnum progressText, bool enableCancel) :
            base(progressText, enableCancel)
        {
            CurrentScreen = this;
        }
Esempio n. 4
0
        public static MyGuiScreenEditorProgress CurrentScreen = null;    //  This is always filled with reference to actual instance of this scree. If there isn't, it's null.

        public MyGuiScreenEditorProgress(MyTextsWrapperEnum progressText, bool enableCancel) :
            base(progressText, enableCancel)
        {
            CurrentScreen = this;
        }