public static int TextInt2(string str1, int value, int minValue, int maxValue, int jianGe, ref bool isShow, Action showAction) { int tmp = value; JianTuoText2(" " + str1, jianGe, ref isShow, showAction, () => { tmp = MyCreate.InputInt(minValue, maxValue, tmp); }); return(tmp); }
public static int TextInt(string str1, int value, int minValue, int maxValue, int jianGe) { int tmp = value; MyCreate.Heng(() => { MyCreate.Text(" " + str1, jianGe); tmp = MyCreate.InputInt(minValue, maxValue, value); }); return(tmp); }