Exemplo n.º 1
0
        public static void NotifyAlert(Index win)
        {
            System.Windows.Forms.MouseEventHandler oHandler = delegate(object sender, System.Windows.Forms.MouseEventArgs e)
            {
                win.Activate();
                win.WindowState = System.Windows.Forms.FormWindowState.Normal;
            };
            win.oNotify.MouseDoubleClick  += oHandler;
            win.oNotify.BalloonTipClicked += delegate(object sender, System.EventArgs e)
            {
                win.Activate();
                win.WindowState = System.Windows.Forms.FormWindowState.Normal;
            };

            System.Threading.Thread oThread = new System.Threading.Thread(new System.Threading.ParameterizedThreadStart(CheckInOrOut));
            oThread.IsBackground = true;
            oThread.Start(win);
        }
 public void Setup3()
 {
     Index.Activate();
 }