How to add a tag value to balloonTooltip in notifyIcon in C# winform? -
i have windows form application retrieve data web , show data in datagridview. when form minimized , new data have been fetched notifyicon tooltip appeared in screen , alert user. now want create feature: when user click on tooltip (balloon) form must become maximized , highlight row related balloon. there isn't tag or info holder balloon determinate row index or data identifier? how can customize balloon or send data accessible in balloon click event? add data on tag: object obj = mydata; notifyicon1.tag = obj; add event click notify icon: private void notifyicon1_click(object sender, eventargs e) { object obj = notifyicon1.tag; myobject myobject = (myobject) obj; showintaskbar = true; notifyicon1.visible = false; windowstate = formwindowstate.normal; (int x = 0; x < datagridview1.rows.count; x++) { if (datagridview1.rows[x].cells["idobject"].value.tostring() == myobject.idobject.tostring()) {