Esempio n. 1
0
 public MonitorerTrayMenu(MonitorerSystemTrayHost host)
 {
     _monitorItemGroups = new Dictionary <string, ToolStripMenuItem>();
     _monitorItems      = new Dictionary <Guid, MonitorMenuItem>();
     _host = host;
     CreateMenu();
 }
Esempio n. 2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            using (MonitorerSystemTrayHost host = new MonitorerSystemTrayHost())
            {
                host.Display();
                Application.Run();
            }
        }