Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Balloon class in c#.net for winforms

Tags:

c#

.net

winforms

Is there any balloon class in c#.net using winforms ??

like image 761
Harikrishna Avatar asked May 22 '26 04:05

Harikrishna


2 Answers

No, but you can use ToolTip and set the IsBalloon property to true:

true if a balloon window should be used; otherwise, false if a standard rectangular window should be used. The default is false.

like image 158
Thomas Avatar answered May 23 '26 18:05

Thomas


    private void Form1_Load(object sender, EventArgs e)
    {
        ToolTip tp = new ToolTip();
        tp.AutoPopDelay = 5000;
        tp.InitialDelay = 0;
        tp.ReshowDelay = 500;

        tp.ShowAlways = true;

        //Gets or sets whether the tooltip should use a ballon window
        tp.IsBalloon = true;

        tp.SetToolTip(this.textBox1, "This is a Text");
        tp.SetToolTip(this.button1, "This is a button");
    }
like image 45
Nipuna Avatar answered May 23 '26 17:05

Nipuna



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!