C# - Changing controls properties in other forms in C#









The controls you add to a form have something called Properties. A property of a control is things like its Height, its Width, its Name, its Text, and a whole lot more besides. To see what properties are available for a button, make sure the button is selected.

If a control is selected, it will have white squares surrounding it. If your button is not selected, simply click it once.

Now look in the bottom right of Visual C# Express, just below the Solution Explorer. You should see the Properties Window.

Comments

Popular posts from this blog

Displaying Message Boxes in C#

How to set value of a field from sharepoint list