/// <summary> /// 插入信息 /// </summary> /// <param name="textBoxBase"></param> /// <param name="info"></param> /// <param name="maxAllowCount"></param> public static void InsertLineWithTimeToTextBox(TextBoxBase textBoxBase, string info, int maxAllowCount = 5000) { info = DateTimeUtil.GetFormatedTimeNow(true) + ":\t" + info; FormUtil.InsertLineToTextBox(textBoxBase, info, maxAllowCount); }