WPF Calculator

This commit is contained in:
Tiago Conceição
2020-10-15 02:42:23 +01:00
parent 89f5df35a8
commit 5cc29e8d51
26 changed files with 1238 additions and 135 deletions
@@ -191,6 +191,7 @@ namespace UVtools.GUI.Controls.Tools
{
Program.SlicerFile.BottomLiftHeight = (float)Operation.CalcLightOffDelay.BottomLiftHeight;
Program.SlicerFile.BottomLiftSpeed = (float)Operation.CalcLightOffDelay.BottomLiftSpeed;
Program.SlicerFile.RetractSpeed = (float)Operation.CalcLightOffDelay.RetractSpeed;
Program.SlicerFile.BottomLayerOffTime = (float)Operation.CalcLightOffDelay.BottomLightOffDelay;
Program.FrmMain.CanSave = true;
lbLightOffDelayCurrentBottomValue.Text = $"Current value: {Program.SlicerFile.BottomLayerOffTime}";
+1 -1
View File
@@ -2296,7 +2296,7 @@ namespace UVtools.GUI
/// <summary>
/// Reshow current layer
/// </summary>
void ShowLayer() => ShowLayer(Math.Min(ActualLayer, SlicerFile.LayerCount - 1));
void ShowLayer() => ShowLayer(Math.Min(ActualLayer, SlicerFile.LastLayerIndex));
void ShowLayer(bool direction)
{