Exemplo n.º 1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Config.Initialize();
            TargetManager.Initialize();

            pingThread = new Thread(PingAll);
            pingThread.Start();
            BuildTrayIcon();

            new frmMain().Show();
            Application.Run();
            icon.Dispose();
            pingThread.Abort();
            TargetManager.DisposeAll();
        }