private static CDebugBox GetDebugBox() { if ((_DebugBox == null) || !_DebugBox.Visible) { _DebugBox = new CDebugBox(); _DebugBox.Show(); } return(_DebugBox); }
public static void ClearLog() { CDebugBox DebugBox = GetDebugBox(); DebugBox.txtLog.Text = ""; }
public static void AddLog(string Log) { CDebugBox DebugBox = GetDebugBox(); DebugBox.txtLog.AppendText(DateTime.Now.ToString(CConst.Format_HH_mm_ss_fff) + " " + Log + "\r\n"); }