Esempio n. 1
0
        public void Initialize(ITwinkleNotifySupporter getter, Control ctrl)
        {
            this.control = ctrl;
            this.twinkleNotifySupporter = getter;
            this.timer.Tick            += new EventHandler(timer_Tick);
            this.timer.Interval         = 500;

            this.normalIcon              = this.twinkleNotifySupporter.Icon64;
            this.notifyIcon1.Icon        = this.normalIcon;
            this.notifyIcon1.MouseClick += new MouseEventHandler(notifyIcon1_MouseClick);
        }
Esempio n. 2
0
 public void Initialize(ITwinkleNotifySupporter getter, Control ctrl)
 {
     this.control = ctrl;
     this.twinkleNotifySupporter = getter;
     this.timer.Tick            += new EventHandler(timer_Tick);
     this.timer.Interval         = 500;
     //this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
     this.notifyIcon1.Text        = "福彩即时通";
     this.notifyIcon1.Visible     = true;
     this.normalIcon              = this.twinkleNotifySupporter.Icon64;
     this.notifyIcon1.Icon        = this.normalIcon;
     this.notifyIcon1.MouseClick += new MouseEventHandler(notifyIcon1_MouseClick);
 }