public StringPropertyEditor()
        {
            this.stringEditor = new StringEditorTemplate(this);
            this.stringEditor.Invalidate += this.stringEditor_Invalidate;
            this.stringEditor.Edited += this.stringEditor_Edited;
            this.stringEditor.EditingFinished += this.stringEditor_EditingFinished;

            //this.Height = 18;
        }
예제 #2
0
        public NumericEditorTemplate(PropertyEditor parent) : base(parent)
        {
            this.stringEditor                  = new StringEditorTemplate(parent);
            this.stringEditor.Invalidate      += this.ForwardInvalidate;
            this.stringEditor.Edited          += this.stringEditor_Edited;
            this.stringEditor.EditingFinished += this.stringEditor_EditingFinished;

            this.ResetProperties();
            this.Value = 0;
        }
        public NumericEditorTemplate(PropertyEditor parent)
            : base(parent)
        {
            this.stringEditor = new StringEditorTemplate(parent);
            this.stringEditor.Invalidate += this.ForwardInvalidate;
            this.stringEditor.Edited += this.stringEditor_Edited;
            this.stringEditor.EditingFinished += this.stringEditor_EditingFinished;

            this.ResetProperties();
            this.Value = 0;
        }