private void ReloadStationsMenu() { Stations stationsService = new Stations(); var reloadStationsSuccess = stationsService.ReloadStations(TrayMenu, Path.Combine(_configPath, "stations.xml")); if (reloadStationsSuccess) { foreach (var item in TrayMenu.Items) { NoStationsMenuItem.Visible = false; Type itemType = item.GetType(); if (itemType.Equals(typeof(ToolStripMenuItem))) { SubscribeToolStripClick((ToolStripMenuItem)item, TrayMenu_Click); } } } }