Home > Net >  C # the Tooltip control problem
C # the Tooltip control problem

Time:09-21

V c # use the Tooltip control, how to realize the Button Button with the mouse? Button mobile trajectory consistent with the mouse,

CodePudding user response:

Along with the mouse movement make sense? Where is the point where the right-click popup ToolTip is bad?

CodePudding user response:

Nonsense, of course, ok???????? , our teacher has just left the homework, I'm also a little meng, the effect of the prompt dialog box will do last night, the teacher said no??????????

CodePudding user response:

I in some frequently seen similar page update website usage, are advertising point

CodePudding user response:

Like this?
 
Public _click ()
{
InitializeComponent();
DoubleBuffered=true;

ToolTip ToolTip=new ToolTip ();
ToolTip. ShowAlways=true;
Enclosing MouseMove +=(sender, e)=& gt;
{
For the Location=new Point (e.X, e.Y);
ToolTip. Show (" this is a... "And this, new Point (e.X, e.Y));
};
}

  •  Tags:  
  • C#
  • Related