internal static void InitEnvironment() { if (!ButterflyEnvironment.isLive) { Console.ForegroundColor = ConsoleColor.White; Console.CursorVisible = false; AppDomain currentDomain = AppDomain.CurrentDomain; currentDomain.UnhandledException += new UnhandledExceptionEventHandler(MyHandler); ButterflyEnvironment.Initialize(); } }
public static void InitEnvironment() { Console.ForegroundColor = ConsoleColor.White; AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(MyHandler); ButterflyEnvironment.Initialize(); }