/// <summary> /// 日志记录 /// </summary> /// <param name="info"></param> public void Info(string info) { this.Invoke((EventHandler) delegate { Debug_Info_Display.AppendText(info + "\r\n"); }); }
/// <summary> /// 日志记录带时间戳 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> /// public void appendInfo(string info) { this.Invoke((EventHandler) delegate { //Debug_Info_Display.AppendText(Cal_Elapse_Time.Get_Current_Time(1) + "\r\n"); //Debug_Info_Display.AppendText(info + "\r\n"); Debug_Info_Display.AppendText(Cal_Elapse_Time.Get_Current_Time(1) + " ---- " + info + "\r\n"); }); }
/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> /// public void appendInfo(string info) { Debug_Info_Display.AppendText(Cal_Elapse_Time.Get_Current_Time(1) + "\r\n"); Debug_Info_Display.AppendText(info + "\r\n"); }