blob: 82a92721ba629e3269be7d565e6757fc73036f6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
using Avalonia.Markup.Xaml;
using UVtools.Core.Operations;
namespace UVtools.WPF.Controls.Tools
{
public partial class ToolRaiseOnPrintFinishControl : ToolControl
{
public OperationRaiseOnPrintFinish Operation => BaseOperation as OperationRaiseOnPrintFinish;
public ToolRaiseOnPrintFinishControl()
{
BaseOperation = new OperationRaiseOnPrintFinish(SlicerFile);
if (!ValidateSpawn()) return;
InitializeComponent();
}
private void InitializeComponent()
{
AvaloniaXamlLoader.Load(this);
}
}
}
|