How to Update StatusBar Pannel  
Author Message
Mirific201201





PostPosted: Visual C# General, How to Update StatusBar Pannel Top

Hi,

I want to update one of the Pannels within my statusbar, but I'm not sure how to reference the pannel I want. Can someone point me in the right direction, or know of an example

Thanks Regards,

Andrew



Visual C#20  
 
 
PJ. van de Sande





PostPosted: Visual C# General, How to Update StatusBar Pannel Top

You can just set the Text property of the StatusBarPanel you have added to it.


_myStatusBar.Panels[0].Text = DateTime.Now.ToShortTimeString();



 
 
Mirific





PostPosted: Visual C# General, How to Update StatusBar Pannel Top

Hi,

Appreciated, as simple as that!

Many Thanks & Regards,

Andrew