Solved

Update multiple window forms in visual studio 2010

Posted on 2013-01-08
4
243 Views
Last Modified: 2013-01-09
I have mutliple forms in my project and I want to make sure each one has autoscroll set to true.  Is there a way to do this with code versus opening each one and setting the autoscroll (or any other thing) individually?

Thanks!
0
Comment
Question by:Karen Wilson
  • 2
  • 2
4 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
Comment Utility
You can set it programmatically wherever you show those forms. Not sure which one would be more tedious though.
0
 

Author Comment

by:Karen Wilson
Comment Utility
Couldn't I create a button and do a loop through all the forms in the application, setting it to make autoscroll = true?
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
Comment Utility
No because its an instance property not a static property so you only set it on an instance of a form. If all you forms are already open then yes you can do this.
0
 

Author Closing Comment

by:Karen Wilson
Comment Utility
Thanks for the information.  Keeps me from going on a snipe hunt.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now