Northwoods.Go.Draw Assembly > Northwoods.Go.Draw Namespace : GoColorForm Class |
'Declaration <ToolboxItemAttribute(ToolboxItemType=, ToolboxItemTypeName="")> Public Class GoColorForm Inherits GoPropertyForm Implements IGoPropertyControl
[ToolboxItemAttribute(ToolboxItemType=, ToolboxItemTypeName="")] public class GoColorForm : GoPropertyForm, IGoPropertyControl
A typical use is to create an instance of this GoColorForm, assign the GoPropertyForm.View (a Northwoods.Go.GoView) so that this control knows which Northwoods.Go.GoSelection to consider, and assign the Property, PropertyPart, and PropertyChoice values so that this control knows which properties of which objects to modify.
For modeless use, just call Form.Show(). For modal use, just call Form.ShowDialog().
This control can also be used without a GoPropertyForm.View or a GoPropertyForm.PropertyModifier, by setting the Color and OldColor properties, and by looking at the value of the Color property after a ColorControl.ColorChanged event or after the user clicks OK when modal.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ScrollableControl
System.Windows.Forms.ContainerControl
System.Windows.Forms.Form
Northwoods.Go.Draw.GoPropertyForm
Northwoods.Go.Draw.GoColorForm
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2