GoDigram for .NET Framework and .NET Core
Northwoods.Go.Draw Namespace / GoPenForm Class
Members
In This Topic
    GoPenForm Class
    In This Topic
    Provides a user interface for editing the color, width, and dash style properties of a pen in a Form, either as a modal dialog or as a modeless form.
    Syntax
    [ToolboxItem(false)]
    [ToolboxItemFilter("System.Windows.Forms.Control.TopLevel")]
    [DesignTimeVisible(false)]
    [Designer("System.Windows.Forms.Design.FormDocumentDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IRootDesigner)]
    [DesignerCategory("Form")]
    [DefaultEvent("Load")]
    [InitializationEvent("Load")]
    [DefaultProperty("Text")]
    [DesignerSerializer("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    public class GoPenForm : GoPropertyForm, IGoPropertyControl  
    Remarks

    A typical use is to create an instance of this GoPenForm, assign the GoPropertyForm.View (a Northwoods.Go.GoView) so that this control knows which Northwoods.Go.GoSelection to consider, and assign the Property 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().

    See Also