示例#1
0
        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);
            }
        }
示例#2
0
 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);
         }
     }
 }