p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer (http://p2p.wrox.com/forumdisplay.php?f=574)
-   -   Lesson 3 question (http://p2p.wrox.com/showthread.php?t=80742)

soneal777 August 30th, 2010 06:10 PM

Lesson 3 question
I bought this book to learn C# and am a new programmer with very little programming experience. A couple of classes in Java is about all I've got.

In Lesson 3, Exercise 3 you are asked to "set the SplitContainer's Panel1MinSize and Panel2MinSize properties to 100." I do not see a MinSize property to change on either of the panels' Properties tab. I also downloaded the solution from the website and do not see the property to change in the solution either. Can anyone tell me where I am supposed to be able to change this property?

Rod Stephens August 30th, 2010 06:17 PM

This is kind of tricky because the SplitContainer isn't just one control. When you add it to the form, it creates two panels, too.

The trick here is that Panel1MinSize and Panel2MinSize are properties of the SplitContainer not the panels. If you click on the SplitContainer and not a panel, you should see them in the Properties window.

Clicking on the SplitContainer can be hard. You can either click on the bar between the two panels or click off to the side and drag until you overlap the control. Or use the dropdown at the top of the Properties window to select the SplitContainer.

Let me know if you have other questions!

All times are GMT -4. The time now is 09:32 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.