The “Spotlight on Controls” series focuses on a single WinForms control in PrimalForms 2011, details the important Properties, Methods, and Events of the control and demonstrates how to utilize the control. Most of the information about the controls is still applicable to previous versions of PrimalForms. In Part 1 of the Spotlight on the TreeView […]
Tag: WinForm
PrimalForms 2011: Spotlight on the TreeView Control – Part 1
The Spotlight on Controls series describes the controls, that is, the objects in the System.Windows.Forms namespace, so you can use them effectively when building GUI apps in PowerShell Studio and PrimalScript. Each post focuses on one control and lists its most important properties, methods, and events, including the default event that PowerShell Studio adds to […]
Got Shrinkage?
Is your form suffering from shrinkage? Nobody likes it when your form shrinks to sizes where you can no longer see any controls. How embarrassing! Well there is hope! Stop embarrassing shrinkage with our simple solution! With a single application you will impress instead of depress! The PrimalForms Solution: Click on your form in the […]
PrimalForms 2011: Spotlight on the TabControl
The “Spotlight on Controls” series focuses on a single WinForms control in PrimalForms 2011 , details the important Properties, Methods, and Events of the control and demonstrates how to utilize the control. Most of the information about the controls is still applicable to previous versions of PrimalForms. Last time we took a look at the […]
PrimalForms 2011: Spotlight on the ImageList Control
The “Spotlight on Controls” series focuses on a single WinForms control in PrimalForms 2011 , details the important Properties, Methods, and Events of the control and demonstrates how to utilize the control. Most of the information about the controls is still applicable to previous versions of PrimalForms. Last time we took a look at the […]
PrimalForms 2011: Spotlight on the MaskedTextBox Control
The “Spotlight on Controls” series focuses on a single WinForms control in PrimalForms 2011 , details the important Properties, Methods, and Events of the control and demonstrates how to utilize the control. Most of the information about the controls is still applicable to previous versions of PrimalForms. Last time we took a look at the […]
PrimalForms 2011: Validating the Form – Part 4
In Part 3 we discussed validating techniques. Now in the final part of this series we will discuss how to validate the form as a whole. How to Trigger Validation when the Form is Closing: If you have worked with validation in the past, you may have noticed that the unfocused controls do not trigger […]
PrimalForms 2011: Validating the Form – Part 3
In Part 2 we discussed how to validate a control. Now we will cover some techniques that can be utilize for validation. Validating Techniques: Regular Expressions: For more complex validation, such as validating an email address, you may need to rely on Regular Expressions. Regular expressions are useful because it allows you to match complex […]
PrimalForms 2011: Validating the Form – Part 2
In Part 1 we discussed the import events and properties that are needed for validation. Now we will discuss how to validate a control. How do I validate a control? As it turns out, validating controls depends on what type of control and the format of the data you wish to validate. Typically you will […]
PrimalForms 2011: Validating the Form – Part 1
A good user interface will validate user input to ensure it is in the correct format. This may come in the form of simply checking if there is an entry for a field, such as a name or a more complex task such as validating an email address. Thankfully WinForms has built in mechanisms to […]