public static void Error(string message, params object[] args) { if (ErrorEvent != null) ErrorEvent(message, args); }