示例#1
0
        private static CDebugBox GetDebugBox()
        {
            if ((_DebugBox == null) || !_DebugBox.Visible)
            {
                _DebugBox = new CDebugBox();
                _DebugBox.Show();
            }

            return(_DebugBox);
        }
示例#2
0
        public static void ClearLog()
        {
            CDebugBox DebugBox = GetDebugBox();

            DebugBox.txtLog.Text = "";
        }
示例#3
0
        public static void AddLog(string Log)
        {
            CDebugBox DebugBox = GetDebugBox();

            DebugBox.txtLog.AppendText(DateTime.Now.ToString(CConst.Format_HH_mm_ss_fff) + " " + Log + "\r\n");
        }