private void InitializeComponent() { Logger log = Logger.GetInstance(); log.Clear(); log.WriteRaw($" === WebRT Started, Version {Application.ProductVersion} === "); MenuItem allAppsItem = new MenuItem("Show All Applications"); allAppsItem.Click += new EventHandler(OnMenuClick); MenuItem exitItem = new MenuItem("Exit"); exitItem.Click += new EventHandler(OnExitClick); MenuItem[] items = { allAppsItem, exitItem }; ContentMenu.MenuItems.AddRange(items); Icon = new NotifyIcon(Components) { Icon = Properties.Resources.AppIconXS, ContextMenu = ContentMenu, Text = "Web Runtime", Visible = true }; Loader.BootstrapEnvironment(); StartLauncher(); }