public Widget ResolveEditor(PropertyItem propertyItem) { this.widget = new ScaleEditorWidget(false); this.widget.SetInit((double)int.MinValue, (double)int.MaxValue, 0.1, 2U); this.widget.SetMenuVisble(false); this.widget.SetLabel(LanguageInfo.RotationX, LanguageInfo.RotationY); this.widget.SetMenuLabel(); this.SetControl(); this.widget.PointX += new EventHandler <PointEvent>(this.widget_PointX); this.widget.PointY += new EventHandler <PointEvent>(this.widget_PointY); if (this._propertyItem.IsEnable) { this.widget.Sensitive = false; } return((Widget)this.widget); }
public Widget ResolveEditor(PropertyItem propertyItem) { this.widget = new ScaleEditorWidget(false); this.widget.SetInit(-2147483648.0, 2147483647.0, 0.1, 2u); this.widget.SetMenuVisble(false); this.widget.SetLabel(LanguageInfo.RotationX, LanguageInfo.RotationY); this.widget.SetMenuLabel(); this.SetControl(); this.widget.PointX += new EventHandler <PointEvent>(this.widget_PointX); this.widget.PointY += new EventHandler <PointEvent>(this.widget_PointY); if (this._propertyItem.IsEnable) { this.widget.Sensitive = false; } return(this.widget); }