private void RecreateBalloon() { balloonHelp = new Balloon.NET.BalloonHelp(); balloonHelp.Icon = Properties.Resources.warning; balloonHelp.CloseOnMouseClick = true; balloonHelp.CloseOnDeactivate = false; balloonHelp.ShowCloseButton = false; balloonHelp.TopMost = true; }
private void showBalloon(string title, string content, Point displayPoint) { balloonHelp = new Balloon.NET.BalloonHelp(); balloonHelp.Caption = title; balloonHelp.Content = content; balloonHelp.Icon = SystemIcons.Warning; balloonHelp.ShowBalloon(dgvDetail); balloonHelp.AnchorPoint = displayPoint; }
public static Balloon.NET.BalloonHelp RecreateBalloon(Balloon.NET.BalloonHelp balloonHelp) { balloonHelp = new Balloon.NET.BalloonHelp(); try { balloonHelp.Icon = Icon.ExtractAssociatedIcon("warning.ico"); } catch (Exception) { } balloonHelp.ShowCloseButton = false; return(balloonHelp); }
/// <summary> /// Mostra mensagem. /// </summary> private static void MostrarMensagem(TextBoxBase txt, string título, string mensagem) { Balloon.NET.BalloonHelp balão = new Balloon.NET.BalloonHelp(); balão.Caption = título; balão.Icon = SystemIcons.Exclamation; balão.CloseOnDeactivate = false; balão.CloseOnKeyPress = false; balão.Content = mensagem; try { balão.ShowBalloon(txt); txt.Focus(); } catch { } }
private void RecreateBalloon() { balloonHelp = new Balloon.NET.BalloonHelp(); balloonHelp.Icon = Properties.Resources.warning_ico; balloonHelp.ShowCloseButton = false; }