Design geändert
This commit is contained in:
@@ -22,6 +22,7 @@ namespace KanSan.ViewModel
|
||||
private Kunde _selectedKunde;
|
||||
private Projekt _selectedProjekt;
|
||||
private Baustelle _selectedBaustelle;
|
||||
private Sewer _selectedObjekt;
|
||||
|
||||
|
||||
public string ApplicationTitle
|
||||
@@ -93,6 +94,23 @@ namespace KanSan.ViewModel
|
||||
OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
|
||||
public Sewer SelectedObjekt
|
||||
{
|
||||
get
|
||||
{
|
||||
return _selectedObjekt;
|
||||
}
|
||||
set
|
||||
{
|
||||
if(_selectedObjekt != null)
|
||||
{
|
||||
if (_selectedObjekt.GuidNr.Equals(value.GuidNr)) return;
|
||||
}
|
||||
_selectedObjekt = value;
|
||||
OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
private void SaveInRegistry(string key, string value)
|
||||
{
|
||||
Registry.SetValue(REGISTRYKEY, key, value);
|
||||
|
||||
Reference in New Issue
Block a user