PictureBox Tooltip changing C# -


ok complete beginner , have managed put small app in c# enter username in textbox , application gets avatar of username , displays in picturebox.

what want have tooltip show username typed in textbox when mouse hovers on loaded avatar. should change each time new avatar loaded. know how use tooltips normal way bit complex me. appreciated.

thanks.

add hover event picturebox following code.

private void picturebox1_mousehover(object sender, eventargs e) {     tooltip tt = new tooltip();     tt.settooltip(this.picturebox1, "your username"); } 

Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -