Ejemplo n.º 1
0
 public Widget ResolveEditor(PropertyItem propertyItem = null)
 {
     this.widget = new NumberEditorWidget(false, true, 30);
     this.widget.SetMaxMin(200, 0);
     this.widget.SetEntryPRoperty(false, 2, 1.0);
     this.widget.SetMaxMin(200, 0);
     this.widget.SetLabel(LanguageInfo.RotationX, LanguageInfo.RotationY);
     this.SetControl();
     this.widget.PointX += new EventHandler <PointEvent>(this.widget_PointX);
     return(this.widget);
 }
Ejemplo n.º 2
0
 public Widget ResolveEditor(PropertyItem propertyItem = null)
 {
     this.widget = new NumberEditorWidget(false, true, (LanguageOption.CurrentLanguage == LanguageType.Chinese) ? 105 : 89);
     this.widget.SetEntryPRoperty(false, 2, 1.0);
     this.widget.SetLabel(LanguageInfo.RotationX, LanguageInfo.RotationY);
     this.SetControl();
     this.widget.SetLabelText((LanguageOption.CurrentLanguage == LanguageType.Chinese) ? "度" : "°");
     this.widget.PointX += new EventHandler <PointEvent>(this.widget_PointX);
     if (this._propertyItem.IsEnable)
     {
         this.widget.Sensitive = false;
     }
     return(this.widget);
 }
Ejemplo n.º 3
0
 public Widget ResolveEditor(PropertyItem propertyItem = null)
 {
     this.widget = new NumberEditorWidget(false, false, 30);
     this.widget.SetEntryPRoperty(false, 2, 1.0);
     this.widget.SetLabel(LanguageInfo.RotationX, LanguageInfo.RotationY);
     this.SetControl();
     this.widget.PointX         += new EventHandler <PointEvent>(this.widget_PointX);
     this.widget.PointY         += new EventHandler <PointEvent>(this.widget_PointY);
     this.widget.PerCentChanged += new EventHandler <UIControlEvent>(this.widget_PerCentChanged);
     if (this._propertyItem.IsEnable)
     {
         this.widget.Sensitive = false;
     }
     return(this.widget);
 }
Ejemplo n.º 4
0
 public Widget ResolveEditor(PropertyItem item = null)
 {
     this.widget = new NumberEditorWidget(false, false, 30);
     this.widget.SetMenuVisble(false);
     this.widget.SetLabel(LanguageInfo.Radio_HorizontalGuides, LanguageInfo.Radio_VerticalGuides);
     this.widget.SetEntryPRoperty(false, 2, 1.0);
     this.SetControl();
     this.widget.SetLabelText((LanguageOption.CurrentLanguage == LanguageType.Chinese) ? "度" : "°");
     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);
 }