Пример #1
0
        public static Form ShowLogConsole()
        {
            if (__instance == null)
            {
                __instance = new LogFileConsoleDialog();
                __instance.Show();
                __instance.CenterToScreen();
            }

            __instance.BringToFront();

            return __instance;
        }
Пример #2
0
        void LogLineConsoleDialog_HandleDestroyed(object sender, EventArgs e)
        {
            if (_fsw != null)
            {
                _fsw.Dispose();
                _fsw = null;
            }

            __instance = null;
        }