Exemple #1
0
        public static bool TextBool2(string trueStirng, string falseString, bool value, int jianGe, ref bool isShow, Action showAction)
        {
            bool tmp = value;

            JianTuoText2("   " + (tmp ? trueStirng : falseString), jianGe, ref isShow, showAction, () =>
            {
                tmp = MyCreate.InputBool(tmp);
            });
            return(tmp);
        }
Exemple #2
0
        public static bool TextBool(string trueStirng, string falseString, bool value, int jianGe, ref bool isShow, Action showAction, MyEnumColor color)
        {
            bool tmp = value;

            JianTuoText(tmp ? trueStirng : falseString, jianGe, ref isShow, color, showAction, () =>
            {
                tmp = MyCreate.InputBool(tmp);
            });
            return(tmp);
        }
Exemple #3
0
        public static bool TextBool2(string str1, bool value, int jianGe, ref bool isShow, Action showAction)
        {
            bool tmp = value;

            JianTuoText2("   " + str1, jianGe, ref isShow, showAction, () =>
            {
                tmp = MyCreate.InputBool(tmp);
            });
            return(tmp);
        }
Exemple #4
0
        public static bool TextBool(string trueStirng, string falseString, bool value, int jianGe)
        {
            bool tmp = value;

            MyCreate.Heng(() =>
            {
                MyCreate.Text(tmp ? trueStirng : falseString, jianGe);
                tmp = MyCreate.InputBool(tmp);
            });
            return(tmp);
        }
Exemple #5
0
        public static bool TextBool(string str1, bool value, int jianGe)
        {
            bool tmp = value;

            MyCreate.Heng(() =>
            {
                MyCreate.Text("   " + str1, jianGe);
                tmp = MyCreate.InputBool(tmp);
            });
            return(tmp);
        }