コード例 #1
0
        /// <summary>
        /// 对话框获取一个输入字符的返回值
        /// </summary>
        /// <param name="Title">标题</param>
        /// <param name="Tip">提示文字</param>
        /// <returns>输入字符的字符串</returns>
        public static string SetAString(string Title, string Tip, bool _isNum)
        {
            result = "";
            isNum  = _isNum;
            Inputbox n = new Inputbox(Title, Tip);

            return(result);
        }
コード例 #2
0
        /// <summary>
        /// 对话框获取一个输入字符的返回值
        /// </summary>
        /// <returns>输入字符的字符串</returns>
        public static string SetAString(bool _isNum)
        {
            result = "";
            Inputbox n = new Inputbox();

            isNum = _isNum;
            return(result);
        }