private void iconTray_BalloonTipClicked(Object sender, EventArgs e) { if (iconTray.Tag != null) { String tag = iconTray.Tag.ToString(); if (tag == "timeline") { FormTimeline ftl = new FromTimeline(); ftl.Show(); } else if (tag == "download") { MaintenanceManager.DownloadLatest(); } } }
private void menuTray_ViewTimeline_Click(Object sender, EventArgs e) { txtMessage.Text = Messages.TimelineOpen; try { FormTimeline ftl = new FromTimeline(); ftl.Show(); } catch (Exception ex) { MessageBox.Show(ex.Message.ToString()); } }