Solved

Update multiple window forms in visual studio 2010

Posted on 2013-01-08
4
246 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
ID: 38757222
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
ID: 38758599
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
ID: 38759473
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
ID: 38759667
Thanks for the information.  Keeps me from going on a snipe hunt.
0

Featured Post

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

789 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