public void ShowBalloon(string CaptionText, string Text)
{
DevComponents.DotNetBar.Balloon b = new DevComponents.DotNetBar.Balloon();
Rectangle r = Screen.GetWorkingArea(this);
b.Size = new Size(280, 120);
b.Location = new Point(r.Right - b.Width, r.Bottom - b.Height);
b.AlertAnimation = eAlertAnimation.BottomToTop;
b.Style = eBallonStyle.Office2007Alert;
//b.CaptionImage = balloonTipFocus.CaptionImage.Clone() as Image;
b.CaptionText = CaptionText;
b.Text = Text;
//b.AlertAnimation=eAlertAnimation.TopToBottom;
//b.AutoResize();
b.AutoClose = true;
b.AutoCloseTimeOut = 5;
//b.Owner=this;
b.Show(false);
}
11-20
5858
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交