private void checkNowToolStripMenuItem_Click(object sender, EventArgs e) { string text = WarframeAlertsTwitter.FetchCurrentAlerts(true); if (text != "") { notifyIcon1.BalloonTipText = "Location \tTime Left\tRewards\n" + text; notifyIcon1.ShowBalloonTip(1000); } }
void Handler1(string s) { if (s == "Tick") { string text = WarframeAlertsTwitter.FetchCurrentAlerts(AllAlerts); if (text != "") { notifyIcon1.BalloonTipText = "Location \tTime Left\tRewards\n" + text; notifyIcon1.ShowBalloonTip(1000); } } }