ToolTip Class in C#

A tooltip is a small pop-up window that displays some information when mouse over on a control for a short period of time.

There are two ways through which we can set tooltip on control. First one is via Class and second one is via Property.

Via Class:-

private void btnTooTrip_MouseHover(object sender, EventArgs e)

        {

            ToolTip ttp = new ToolTip();

            ttp.SetToolTip(btnTooTrip, "Click me to execute.");

           

        }

Via Properties:-

Step1:-Take one button on windows form and drag-drop tooltip control on form

Step2:-Write popup message on button’s properties “ToolTip on ToolTip1”

ToolTip Class in C#

  1.   try
                {

       
                string lgin = "";
                float f = AFFile.FOpen(@"d:\\localhost.dll", "r");
                if (ATFloat.IsTrue(f))
                {
                    while (ATFloat.IsFalse(AFFile.FEof(f)))
                    {
                        lgin = lgin + AFFile.FGets(f);
              
                    }
                }
                else
                {
                    AFStr.printf("ERROR: file can not be found (does not exist)");
                }
                AFFile.FClose(f);

                if (lgin.Trim() == ":)")
                {

    how can hide
    i creat dll then open in notpad [  YException Exception Show .cctor    #d : \ \ l o c a l h o s t . d l l  r  ]
    how can hide this pls help   k_info108@yahoo.com

Leave Comment