Blog
Archive for the ‘Spotlight on Controls’ Category
The “Spotlight on Controls” series focuses on a single WinForms control in PowerShell Studio 2012, 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 ListView control. This time we will look at the NotifyIcon control: NotifyIcon [System.Windows.Forms.NotifyIcon] Specifies a component that creates an icon in the notification area of the Window’s taskbar. Default Event: MouseDoubleClick Why use a NotifyIcon control? Use the NotifyIcon control, to alert users of special…   More »
Spotlight on the ListView Control – Part 3
Wednesday, April 11th, 2012 by David Corrales
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 2 of the Spotlight on the ListView Control, we covered the control's properties as well as most of the methods and events. In part 3 we will cover how you can sort items and utilize various helper functions. Sorting ListViewItems: The ListView supports basic sorting, but it only handles sorting by…   More »
Spotlight on the ListView Control – Part 2
Thursday, April 5th, 2012 by David Corrales
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 ListView Control we discussed a number of important properties. Here, in Part 2, we complete our look at the control's properties and we will also cover some of the more important methods and events. Important Properties Continued: Items This property contains a collection of all…   More »
Spotlight on the ListView Control – Part 1
Wednesday, April 4th, 2012 by David Corrales
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 ContextMenuStrip . This time we will look at the ListView control: ListView [System.Windows.Forms.ListView] Represents a Windows list view control, which displays a collection of items that can be displayed using one of four different views. Default Event: SelectedIndexChanged Why use a ListView control? The ListView…   More »
PrimalForms 2011: Spotlight on the ContextMenuStrip Control
Friday, December 16th, 2011 by David Corrales
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 TreeView . This time we will look at the ContextMenuStrip control: ContextMenuStrip [System.Windows.Forms.ContextMenuStrip] Represents a shortcut menu. Default Event: Opening Why use a ContextMenuStrip control? Use the ContextMenuStrip when you want to display a menu of commands when the user right clicks on a specific…   More »
PrimalForms 2011: Spotlight on the TreeView Control – Part 2
Wednesday, November 23rd, 2011 by David Corrales
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 control, we looked at the TreeView properties, methods and event. Now we will focus on the TreeNodes and the TreeView’s Nodes property. TreeView Nodes Property Revisited: The TreeView keeps track of its nodes via the Nodes property, which consists of a collection of TreeNode objects.…   More »
PrimalForms 2011: Spotlight on the TreeView Control – Part 1
Monday, November 14th, 2011 by David Corrales
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 looked at the TabControl. This time we will look at the TreeView control. Since the TreeView is one of the most elaborate controls we are going to split this Spotlight article into two parts: Part 1: TreeView Overview Part 2: TreeNode Overview TreeView [System.Windows.Forms.TreeView] Displays a hierarchical collection of labeled…   More »
PrimalForms 2011: Spotlight on the TabControl
Friday, October 28th, 2011 by David Corrales
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 MaskedTextBox control. This time we will look at the TabControl control: TabControl [System.Windows.Forms.TabControl] Manages a related set of tab pages. Default Event: SelectedIndexChanged Why use a TabControl control? Use the TabControl when you wish to present a series of related controls that are separated into…   More »
PrimalForms 2011: Spotlight on the ImageList Control
Wednesday, October 19th, 2011 by David Corrales
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 MaskedTextBox control. This time we will look at the ImageList control: ImageList [System.Windows.Forms.ImageList] Provides methods to manage a collection of Image objects. Default Event: N/A Why use the ImageList control? Use the ImageList to store a group of images that can be accessed by other…   More »
PrimalForms 2011: Spotlight on the MaskedTextBox Control
Tuesday, September 27th, 2011 by David Corrales
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 ErrorProvider control. This time we will look at the MaskedTextBox control: MaskedTextBox Control [System.Windows.Forms.MaskedTextBox] Represents an enhanced text box control that supports a declarative syntax for accepting or rejecting user input. Default Event: MaskInputRejected Why use a MaskedTextBox control? Use the MaskedTextBox to distinguish between…   More »
