Ejemplo n.º 1
0
 /// reset the static variables for each Web Request call.
 public static void ResetStaticVariables()
 {
     DebugLevel = 0;
     FNoLoggingToConsoleError = false;
     ULogWriter              = null;
     ULogFileName            = String.Empty;
     UUserNamePrefix         = DEFAULTUSERNAMEPREFIX;
     ULogTextAsString        = null;
     ULogPageNumber          = 1;
     UNewMessageCallback     = null;
     Context                 = String.Empty;
     StatusBarProcedure      = null;
     StatusBarProcedureValid = false;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Call this method on Windows Forms apps to send the 'console' output to a dynamic string
 /// </summary>
 public static void SendConsoleOutputToString(TLogNewMessageCallback ANewMessageCallback)
 {
     ULogTextAsString    = "Logging started..." + Environment.NewLine;
     UNewMessageCallback = ANewMessageCallback;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Call this method on Windows Forms apps to send the 'console' output to a dynamic string
 /// </summary>
 public static void SendConsoleOutputToString(TLogNewMessageCallback ANewMessageCallback)
 {
     ULogTextAsString = "Logging started..." + Environment.NewLine;
     UNewMessageCallback = ANewMessageCallback;
 }