public DescriptorBase(ShapeProvider provider, ICustomTypeDescriptor parentdescriptor, Type objectType) : base(parentdescriptor) { this.provider = provider; this.type = objectType; mProperties = new PropertyDescriptorCollection(null); }
public DescriptorBase(ShapeProvider provider, ICustomTypeDescriptor parentdescriptor, Type objectType) : base(parentdescriptor) { this.provider = provider; this.type = objectType; mProperties = new PropertyDescriptorCollection(null); }
protected DiagramControlBase() { //create the provider for all shapy diagram elements ShapeProvider provider = new ShapeProvider(); TypeDescriptor.AddProvider(provider, typeof(SimpleShapeBase)); }
public SimpleShapeDescriptor(ShapeProvider provider, Type type) : base(provider, type) { this.AddProperty("Demo", typeof(int)); }
public ShapeBaseDescriptor(ShapeProvider provider, Type objectType) : base(provider, objectType) { AddBaseProperties(); }
public SimpleShapeDescriptor(ShapeProvider provider, Type type) : base(provider, type) { this.AddProperty("Demo", typeof(int)); }
public ShapeBaseDescriptor(ShapeProvider provider, Type objectType) : base(provider, objectType) { AddBaseProperties(); }
protected DiagramControlBase() { //create the provider for all shapy diagram elements ShapeProvider provider = new ShapeProvider(); TypeDescriptor.AddProvider(provider, typeof(SimpleShapeBase)); }