GoDiagram Win Reference
GoColorForm Class
Members 

Provides a user interface for choosing colors in a Form, either as a modal dialog or as a modeless form.
Syntax
'Declaration
 
<ToolboxItemAttribute(ToolboxItemType=, ToolboxItemTypeName="")>
Public Class GoColorForm 
   Inherits GoPropertyForm
   Implements IGoPropertyControl 
[ToolboxItemAttribute(ToolboxItemType=, ToolboxItemTypeName="")]
public class GoColorForm : GoPropertyForm, IGoPropertyControl  
Remarks

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.

Inheritance Hierarchy

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

Requirements

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

See Also

Reference

GoColorForm Members
Northwoods.Go.Draw Namespace

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback