简体   繁体   中英

Change notification Icon on mouse hover

I want to change notification icon text on mouse hover using c# eg

  NotifyIcon notifyicon;
  notifyicon.Icon = (Icon)resManager.GetObject("test");
            notifyicon.Visible = true;
    if(a==b)
    {
     notifyicon.Text = "Both are equal";
    }
    else
    {
     notifyicon.Text = "Not equal";
    }

Is it possible???

See the documentation for the ToolTip class on MSDN. The "Examples" section should contain the information you need.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM