We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to get the index of panels loaded in the StatusBarAdv being currently painted?

The index of the StatusBarAdvPanel being painted can be achieved by handling the paint event of the StatusBarAdvPanel.

The following code example demonstrates the same.

C#

VB

 

Figure 1: Before painting the StatusBarAdv panel

Figure 2: StatusBarAdv panel is painted in index number 3

Figure 3: StatusBarAdv panel is painted in index number 2

Figure 4: StatusBarAdv panel is painted in index number 1

Figure 5: StatusBarAdv panel is painted in index number 0

Figure 6: After painting the StatusBarAdv panel

Sample Links

C#: StatusBarAdv_Index_C#

VB: StatusBarAdv_Index_VB

Article ID: Published Date: Last Revised Date: Platform: Control:
5459 10/09/2015 10/09/2015 Windows Forms StatusBarAdvPanel
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.