Solved

statusbar question?

Posted on 2006-11-06
3
515 Views
Last Modified: 2009-07-29
If you want to place a Status Bar control named 'statusBar1' at the bottom of your Windows Form, which of the following would be the correct property to set?

statusBar1.Dock = DockStyle.Bottom;
 
 
--------------------------------------------------------------------------------
 
  statusBar1.Lock = "Bottom";
 
 
--------------------------------------------------------------------------------
 
  Location(statusBar1) = DockStyle.Bottom;
 
 
--------------------------------------------------------------------------------
 
  statusBar1 = Placement.Down;
 
0
Comment
Question by:mathieu_cupryk
3 Comments
 
LVL 15

Accepted Solution

by:
ozymandias earned 250 total points
ID: 17885588
statusBar1.Dock = DockStyle.Bottom;


...but I am not sure you would need to.
I think that Bottom is the default DockStyle of a status bar.
0
 
LVL 62

Expert Comment

by:Fernando Soto
ID: 17885600
statusBar1.Dock = DockStyle.Bottom;
0
 

Author Comment

by:mathieu_cupryk
ID: 17885619
Thanks guys I tried it in a form and it work well.
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question