Despite seeming trivial, the most subtle elements of your form can have the greatest impact on your users.
❌ Figure: Bad example - Bad Example - See below what is wrong with this form
The form shown in this screenshot is an example of bad control placement:
This detracts from the visual appeal of the user interface, and results in an uneven user experience. After looking at all of this you may be thinking "do I really need to work out exactly what spacing and dimensions I want to use for every detail of a form I make?"
The good news is that you don't need to: Microsoft have gone to a great deal of effort to define standards for exactly how your form controls should be laid out, and these standards are worth taking into consideration. By all means, if you have disagreements with anything listed here then please discuss it with us and we'll consider changing our own standards (Microsoft have changed theirs over the years, after all), but we recommend using the following as a guide.
These examples assume that you are using the standard system font as defined in the rule mentioned above. Please note that although Dialog Units (DLUs) are better suited for generic (font independent) use, they are not available in the Visual Studio designer.
✅ Figure: Good example - Good Example - The form follows Standards of good form design discussed below
Ultimately, the goal of all of this is to ensure consistency . Keeping these ideas in mind at all times while doing user interface design will give users a better overall experience and will boost the professionalism of your products.
Here's a good example for you to take inspiration from. This dialog is from Microsoft Outlook. Let's check out some points:
✅ Figure: Good example - Good Example - Microsoft have defined to exacting measures what spacing should be used in their Microsoft Outlook wizards
Read more about control size on the Rules to Better Windows Forms.