public static Form ShowLogConsole() { if (__instance == null) { __instance = new LogFileConsoleDialog(); __instance.Show(); __instance.CenterToScreen(); } __instance.BringToFront(); return __instance; }
void LogLineConsoleDialog_HandleDestroyed(object sender, EventArgs e) { if (_fsw != null) { _fsw.Dispose(); _fsw = null; } __instance = null; }