Пример #1
0
 // Constructor to create a CBalloon object
 public HelpBalloon(string text, Icon icon, Control control, bool showCloseButton, BalloonDirection direction, BalloonEffect effect)
 {
     MyBalloon = CreateBalloon(control.Handle, 0, 0, text, showCloseButton, icon.Handle, (uint)direction, (uint)effect, 0, 0, 0);
 }
Пример #2
0
 public HelpBalloon(string text, Icon icon, Control control, bool showCloseButton, BalloonDirection direction, BalloonEffect effect, Color start, Color mid, Color end)
 {
     MyBalloon = CreateBalloon(control.Handle, 0, 0, text, showCloseButton, icon.Handle, (uint)direction, (uint)effect, (uint)start.ToArgb(), (uint)mid.ToArgb(), (uint)end.ToArgb());
 }