This is my question as a beginner programmer. I have a C# form application. I want to show a message while mouse cursor is waiting on a label, a textbox or a button. How can I do that?
Thanks in advance
This is my question as a beginner programmer. I have a C# form application. I want to show a message while mouse cursor is waiting on a label, a textbox or a button. How can I do that?
Thanks in advance
You can either use mouse events or register a ToolTip for the object like this:
ToolTip toolTip1 = new ToolTip();
// Set up the delays for the ToolTip.
toolTip1.AutoPopDelay = 5000;
toolTip1.InitialDelay = 1000;
toolTip1.ReshowDelay = 500;
// Set up the ToolTip text for the Button.
toolTip1.SetToolTip(this.button1, "Hey it works!");