Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 10th, 2012  |  syntax: None  |  size: 0.31 KB  |  hits: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to show a .NET Balloon ToolTip?
  2. ToolTip hint = new ToolTip();
  3. hint.IsBalloon = true;
  4. hint.ToolTipCaption = "Hello, world!"
  5. hint.ToolTipIcon = ToolTipIcon.Error;
  6. hint.Show("Please create a world.", myTextBox, 0, 0);
  7.        
  8. toolTip.Show(string.Empty, myTextBox, 0);
  9. toolTip.Show("Please create a world.", myTextBox);