示例#1
0
 public void UpdateControls(PublicPropertyChange change)
 {
     change.SetRowVisible(nameof(RoundSegments), () => Round != RoundTypes.None);
 }
 public void UpdateControls(PublicPropertyChange change)
 {
     change.Context.GetEditRow(nameof(StartingAngle)).Visible = Advanced;
     change.Context.GetEditRow(nameof(EndingAngle)).Visible   = Advanced;
     InnerDiameter = Math.Min(OuterDiameter - .1, InnerDiameter);
 }
示例#3
0
 public void UpdateControls(PublicPropertyChange change)
 {
     //var editRow = context.GetEditRow((this.ID, nameof(InfillAmount)));
     //if (editRow != null) editRow.Visible = CurrentBaseType == BaseTypes.Outline;
 }
示例#4
0
 public void UpdateControls(PublicPropertyChange change)
 {
 }
示例#5
0
 public void UpdateControls(PublicPropertyChange change)
 {
     //change.SetRowVisible(nameof(InfillAmount), () => CurrentBaseType == BaseTypes.Outline);
 }
示例#6
0
 public void UpdateControls(PublicPropertyChange change)
 {
     change.SetRowVisible(nameof(StartingAngle), () => Advanced);
     change.SetRowVisible(nameof(EndingAngle), () => Advanced);
     change.SetRowVisible(nameof(LatitudeSides), () => Advanced);
 }
示例#7
0
 public void UpdateControls(PublicPropertyChange change)
 {
     change.SetRowVisible(nameof(Diameter), () => BendType == BendTypes.Diameter);
     change.SetRowVisible(nameof(Angle), () => BendType == BendTypes.Angle);
     change.SetRowVisible(nameof(MinSidesPerRotation), () => SplitMesh);
 }
 public void UpdateControls(PublicPropertyChange change)
 {
     change.Context.GetEditRow(nameof(StartingAngle)).Visible = Advanced;
     change.Context.GetEditRow(nameof(EndingAngle)).Visible   = Advanced;
     change.Context.GetEditRow(nameof(LatitudeSides)).Visible = Advanced;
 }
示例#9
0
 public void UpdateControls(PublicPropertyChange change)
 {
     change.SetRowVisible(nameof(StartingAngle), () => Advanced);
     change.SetRowVisible(nameof(EndingAngle), () => Advanced);
     change.SetRowVisible(nameof(EasyModeMessage), () => !Advanced);
 }