public Node CreateSeparatingSurfuceTreeViewItem(SeparatingSurfuce separatingSurfuce) { return new Node() { Tag = separatingSurfuce, Title = "Διαχωριστική Επιφάνεια" }; }
public void RemoveSeparatingSurfuceFromShell(SeparatingSurfuce separatingSurfuce, Shell shell) { if (shell.SeparatingSurfuces.Contains(separatingSurfuce)) { shell.SeparatingSurfuces.Remove(separatingSurfuce); SaveBuildingData(); _action = e => { if (e == null) StatusBar.Display("o χώρος διαγράφηκε"); }; Model.DataAccesLayerService.SaveChanges(_action); } }
private object CreateSeparatingSurfuceTreeViewItem(SeparatingSurfuce separatingSurfuce) { return new TreeViewItem() { Tag = separatingSurfuce, Header = "Διαχωριστική Επιφάνεια" }; }