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