Solved

Update multiple window forms in visual studio 2010

Posted on 2013-01-08
4
249 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

728 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