MainWindow geändert, dynamische Menu erzeugt

This commit is contained in:
Husky
2020-03-23 13:20:59 +01:00
parent 902e8f5712
commit 38a22e3803
11 changed files with 374 additions and 23 deletions

View File

@@ -0,0 +1,28 @@
using KanSan.Base.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace KanSan.ViewModel
{
public class SewerMainMenuViewModel : PropertyChangedClass,INotifyPropertyChanged
{
private Sewer model;
public string ObjektBezeichnung
{
get
{
return model.ObjektNummer;
}
}
public SewerMainMenuViewModel(Sewer model)
{
if (model == null) throw new ArgumentNullException();
this.model = model;
}
}
}