This commit is contained in:
Husky
2020-07-15 17:18:52 +02:00
parent 3e9a353fc0
commit 7911a44f2f
23 changed files with 290 additions and 127 deletions

View File

@@ -20,15 +20,10 @@ namespace KanSan.UI
/// </summary>
public partial class UCObjektEdit : UserControl
{
public UCObjektEdit(Sewer objekt)
public UCObjektEdit()
{
InitializeComponent();
this.DataContext = new ObjekteEditViewModel(objekt);
}
private void Speichern_Click(object sender, RoutedEventArgs e)
{
(DataContext as ObjekteEditViewModel).Speichern();
}
}
}