コード例 #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");
        }