Which Statusbar Panel was clicked?

bjwade62

Well-known member
Joined
May 25, 2006
Messages
50
Programming Experience
3-5
This should be really easy but I can't figure out the .NET way of finding which Statusbar Panel was clicked?

Any help?
Thanks,
Bernie
 
Statusbar.PanelClick event, it's the default event whose code skeleton appears when you double click the control.

Also, for .Net 2.0 using StatusStrip instead is recommended. If .Net 2.0 is not your primary platform please update your profile.
 
Understood. However, that doesn't tell me which panel was clicked, just that the statusbar was clicked, or am I wrong?
 
Which panel was clicked is available in event parameter e.StatusBarPanel property.
 
Back
Top