Bytes ---------------------------------------------------------------------------------------------
Taskbar bubble message yyicon Control
1. notifyicon2.showballoontip (10000, "hello", "world", tooltipicon. info );
2. contextmenustrip1, it seems that you still need to put this control
3. The policyicon must specify its ICO attribute so that the message will pop up.
---------------------------------
Right mouse show menu
1. contextmenustrip1. You need to find the mouseup method on the control.
Private void form=mouseup (Object sender, mouseeventargs E)
{
If (E. Button = mousebuttons. Right)
{
// Contextmenu menu = new contextmenu ();
// Menu. Show (this, new point (E. X, E. Y + _ lvhosts. Top ));
Contextmenustrip1.show (this, new point (E. X, E. Y + this. Top ));
}
}
----------------------------------------------------------------------
Do not show form
// Not displayed on the taskbar
This. showintaskbar = false;
--------------------------------