Blog
Posts Tagged ‘Controls’
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 »
PrimalForms 2011: Spotlight on the ErrorProvider Control
Thursday, August 18th, 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 Timer control. This time we will look at the ErrorProvider control: ErrorProvider Control [System.Windows.Forms.ErrorProvider] Provides a user interface for indicating that a control on a form has an error associated with it. Default Event: N/A Why use a ErrorProvider control? Use the ErrorProvider if you…   More »
PrimalForms 2011: Spotlight on the Timer Control
Tuesday, August 9th, 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 PictureBox control. This time we will look at the Timer control: Timer Control [System.Windows.Forms.Timer] Implements a timer that raises an event at user-defined intervals. Default Event: Tick Why use a Timer control? Use the Timer event when you need to trigger an event / script…   More »
PrimalForms 2011: Spotlight on the PictureBox Control
Friday, August 5th, 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 ProgressBar control. This time we will look at the PictureBox control: PictureBox Control [System.Windows.Forms.PictureBox] Represents a Windows picture box control for displaying an image. Default Event: Click Why use a PictureBox control? Use a PictureBox when you need to display an image either located on…   More »
PrimalForms 2011: Spotlight on the ProgressBar Control
Thursday, July 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 took a look at the RadioButton control. This time we will look at the ProgressBar control: ProgressBar Control [System.Windows.Forms.ProgressBar] Represents a Windows progress bar control. Default Event: Click Why use a ProgressBar control? Use a ProgressBar when you need to show the user that progress is being made in some…   More »
