WinForms Archives - Page 2 of 3 - All Things DotNetAll Things DotNet
  • Subscribe to this RSS feed
  • Receive updates as soon as they are posted.

WinForms Category

October 11 , 2010 | | In: ASP.Net, C#, DotNet General, VB.Net, WinForms

Differences – ASP.Net/VB.Net/C#

I know, to some of you, this will seem like a ridiculously basic question/post. But since it was posted on one of the forums recently, and I had many problems with head hunters/recruiters on this, I thought it might be worthy to create a post about it. The question was: “What’s the difference between, […]

September 29 , 2010 | | In: Visual Studio, WinForms Tips

VS.Net Setup Project – Change Metadata

Every time I build a setup project in Visual Studio.Net, I find it very easy to use the wizard and setup the program menu, etc, but for some reason, I can never remember where to change the Manufacturer and Product Name, so that when it’s installed, it will go to specific folders.

One of the great string methods that was introduced in dotNet 2.0 is ‘IsNullOrEmpty’

September 15 , 2010 | | In: WinForms, WinForms Tutorials

How to Use a WinForms Timer

First, you drag a Timer control over to the form you are using (or double-click it). This will put it in the tray at the bottom.

Navigation to controls in the toolbox has finally gotten easier now, in Visual Studio.Net 2010. You can actually type to get to the control you want. The sections in which they reside don’t even need to be open.

September 9 , 2010 | | In: WinForms, WinForms Tips

Default Buttons on a Form

There’s are a couple of form properties that kind of sneaked in DotNet development a while back. They are: AcceptButton CancelButton

September 8 , 2010 | | In: WinForms, WinForms Tips

2 Ways to Create an MDI Application

The first way is pretty self-explanatory – you create it from scratch. When you create a new Windows Forms application, a default Windows Form is present. Just change the isMDIParent property to True and voila – you’re on your way to working with an MDI application.

August 28 , 2010 | | In: WinForms, WinForms Tips

WinForms TabControl – show specific tab

When working with the TabControl in your Windows application, in order to programmatically choose the tab you want to show, use the SelectedIndex property of the TabControl: TabControl1.SelectedIndex=2

August 28 , 2010 | | In: WinForms, WinForms Tips

Check to See if an MDI Child is Open

Here’s the code function that iterates through the open MDI children to see if a certain form is already open, before opening it:

In order to iterate through all the textboxes on a form, and remove the text from all of them, you can use the following In order to iterate through all the textboxes on a form, and remove the text from all of them, you can use the following code:

All Things DotNet Discussed – Winforms/ASP.Net/SharePoint/WPF

If you find this site helpful,
please donate to help keep it online and free

Code 'n' Sprox   DreamTemplate - Web Templates

Follow us on Twitter

Follow AllThingsDotNet on Twitter

Test - The Name: 6936