Files
Prog4_Beadando/WD7UVN_SzTGUI_2023242.Client.WPF/Windows/Create/CreateNewCustomer.xaml.cs

18 lines
474 B
C#
Raw Normal View History

2024-04-28 18:00:25 +02:00
using System;
using System.Windows;
2024-05-05 18:14:31 +02:00
using WD7UVN_HFT_2023241.Models;
using WD7UVN_SzTGUI_2023242.Client.WPF.ViewModels;
2024-04-28 18:00:25 +02:00
namespace WD7UVN_SzTGUI_2023242.Client.WPF.Windows
{
public partial class CreateNewCustomer : Window
{
2024-05-05 18:14:31 +02:00
public CreateNewCustomer(CreateNewCustomerViewModel viewModel)
2024-04-28 18:00:25 +02:00
{
InitializeComponent();
2024-05-05 18:14:31 +02:00
DataContext = viewModel;
viewModel.CloseAction = new Action(() => this.Close());
2024-04-28 18:00:25 +02:00
}
}
}