Exemplo n.º 1
0
        static void Main(string[] args)
        {
            printersList = (NameValueCollection)ConfigurationManager.GetSection("printers");
            Watchdog wd = new Watchdog();

            PrinterManager.LoadPrinters();

            AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(UnhandledException);

            Application.Run(new SysTrayApp());
        }