Beispiel #1
0
        public static int TextEnum(string str1, int value, string[] displayedOptions, int jianGe, ref bool isShow, Action showAction, MyEnumColor color)
        {
            int tmp = value;

            JianTuoText(str1, jianGe, ref isShow, color, showAction, () =>
            {
                tmp = MyCreate.Enum(tmp, displayedOptions);
            }, false);
            return(tmp);
        }
Beispiel #2
0
        public static Enum TextEnum(string str1, Enum value, int jianGe, ref bool isShow, Action showAction, MyEnumColor color)
        {
            Enum tmp = value;

            JianTuoText(str1, jianGe, ref isShow, color, showAction, () =>
            {
                tmp = MyCreate.Enum(tmp);
            }, false);
            return(tmp);
        }
Beispiel #3
0
        public static int TextEnum2(string str1, int value, string[] displayedOptions, int jianGe, ref bool isShow, Action showAction, bool isNeedKongGe)
        {
            int    tmp = value;
            string des = isNeedKongGe ? "   " + str1 : str1;

            JianTuoText2(des, jianGe, ref isShow, showAction, () =>
            {
                tmp = MyCreate.Enum(tmp, displayedOptions);
            }, false);
            return(tmp);
        }
Beispiel #4
0
        public static Enum TextEnum2(string str1, Enum value, int jianGe, ref bool isShow, Action showAction, bool isNeedKongGe)
        {
            Enum   tmp = value;
            string des = isNeedKongGe ? "   " + str1 : str1;

            JianTuoText2(des, jianGe, ref isShow, showAction, () =>
            {
                tmp = MyCreate.Enum(tmp);
            }, false);
            return(tmp);
        }
Beispiel #5
0
        public static int TextEnum(string str1, int value, string[] displayedOptions, int jianGe, bool isNeedKongGe)
        {
            int    tmp = value;
            string des = isNeedKongGe ? "   " + str1 : str1;

            MyCreate.Heng(() =>
            {
                MyCreate.Text(des, jianGe);
                tmp = MyCreate.Enum(tmp, displayedOptions);
            });
            return(tmp);
        }
Beispiel #6
0
        public static Enum TextEnum(string str1, Enum myEnum, int jianGe, bool isNeedKongGe)
        {
            Enum   tmp = myEnum;
            string des = isNeedKongGe ? "   " + str1 : str1;

            MyCreate.Heng(() =>
            {
                MyCreate.Text(des, jianGe);
                tmp = MyCreate.Enum(tmp);
            });
            return(tmp);
        }