Umbau angefangen auf ICommand
This commit is contained in:
32
KanSan/UI/SewerMainWindow.xaml.cs
Normal file
32
KanSan/UI/SewerMainWindow.xaml.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using KanSan.Base.Models;
|
||||
using KanSan.ViewModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace KanSan.UI
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaktionslogik für SewerMainWindow.xaml
|
||||
/// </summary>
|
||||
public partial class SewerMainWindow : Window
|
||||
{
|
||||
public SewerMainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
public SewerMainWindow(Sewer model)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.DataContext = new SewerMainWindowViewModel(model);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user