25 lines
548 B
C#
25 lines
548 B
C#
|
|
using System.Windows;
|
||
|
|
using System.Windows.Input;
|
||
|
|
|
||
|
|
namespace EngineeringSync.Setup.Views;
|
||
|
|
|
||
|
|
public partial class WizardWindow : Window
|
||
|
|
{
|
||
|
|
public WizardWindow()
|
||
|
|
{
|
||
|
|
InitializeComponent();
|
||
|
|
}
|
||
|
|
|
||
|
|
private void TitleBar_MouseDown(object sender, MouseButtonEventArgs e)
|
||
|
|
{
|
||
|
|
if (e.ChangedButton == MouseButton.Left)
|
||
|
|
DragMove();
|
||
|
|
}
|
||
|
|
|
||
|
|
private void CloseButton_Click(object sender, RoutedEventArgs e)
|
||
|
|
{
|
||
|
|
var vm = (ViewModels.WizardViewModel)DataContext;
|
||
|
|
vm.CancelCommand.Execute(null);
|
||
|
|
}
|
||
|
|
}
|