示例#1
0
        public static void TurnDebuggingOn()
        {
            if (df == null)
            {
                df = new DebugForm();
                df.Show();
            }

            DoDebug = true;
        }
示例#2
0
        public static void LogMessage(string message, string exception, string trace, bool bForce)
        {
            if (df == null && bForce)
            {
                df = new DebugForm();
                df.Show();
                df.AddMessage(message, exception, trace);
            }

            if (DoDebug)
            {
                df.AddMessage(message, null, null);
            }
        }