Exemplo n.º 1
0
            // To be used when we have a "close button" inside balloon.
            //private void HandleClick (object sender, EventArgs e)
            //{
            //	Close ();
            //}

            private void HandleMouseDown(object sender, MouseEventArgs e)
            {
                XplatUI.SendMessage(owner, Msg.WM_USER, IntPtr.Zero, (IntPtr)Msg.NIN_BALLOONUSERCLICK);
                base.Close();
            }
Exemplo n.º 2
0
 private void HandleTimer(object sender, EventArgs e)
 {
     timer.Stop();
     XplatUI.SendMessage(owner, Msg.WM_USER, IntPtr.Zero, (IntPtr)Msg.NIN_BALLOONTIMEOUT);
     base.Close();
 }
Exemplo n.º 3
0
 public new void Close()
 {
     base.Close();
     XplatUI.SendMessage(owner, Msg.WM_USER, IntPtr.Zero, (IntPtr)Msg.NIN_BALLOONHIDE);
 }