Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ToolRotateControl.axaml.cs « Tools « Controls « UVtools.WPF - github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0883966137a6b10a96844fe2f192680fa7a7175b (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 ToolRotateControl : ToolControl
    {
        public OperationRotate Operation => BaseOperation as OperationRotate;

        public ToolRotateControl()
        {
            BaseOperation = new OperationRotate(SlicerFile);
            if (!ValidateSpawn()) return;
            InitializeComponent();
        }

        private void InitializeComponent()
        {
            AvaloniaXamlLoader.Load(this);
        }
    }
}