public MonitorerTrayMenu(MonitorerSystemTrayHost host) { _monitorItemGroups = new Dictionary <string, ToolStripMenuItem>(); _monitorItems = new Dictionary <Guid, MonitorMenuItem>(); _host = host; CreateMenu(); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); using (MonitorerSystemTrayHost host = new MonitorerSystemTrayHost()) { host.Display(); Application.Run(); } }