diff --git a/Pores/Controllers/ModelGenerationController.cs b/Pores/Controllers/ModelGenerationController.cs index 700cdd0..7370d89 100644 --- a/Pores/Controllers/ModelGenerationController.cs +++ b/Pores/Controllers/ModelGenerationController.cs @@ -1,12 +1,11 @@ -using Pores.Interfaces; +using Pores.Helpers; +using Pores.Interfaces; using Pores.Models; using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; namespace Pores.Controllers { - public class ModelGenerationController + public class ModelGenerationController : PropertyChangedClass { public IPoreLocalization PoresLocalization { get; set; } public Material MaterialInstance { get; set; } diff --git a/Pores/Interfaces/IPoresLocalization.cs b/Pores/Interfaces/IPoresLocalization.cs index 44b8444..c060349 100644 --- a/Pores/Interfaces/IPoresLocalization.cs +++ b/Pores/Interfaces/IPoresLocalization.cs @@ -1,10 +1,10 @@ using Pores.Models; -using System.Collections.Generic; +using System.Collections.ObjectModel; namespace Pores.Interfaces { public interface IPoreLocalization { - IList GetLocalization(); + ObservableCollection GetLocalization(); } } diff --git a/Pores/MainWindow.xaml b/Pores/MainWindow.xaml index ef24715..a4ebcf8 100644 --- a/Pores/MainWindow.xaml +++ b/Pores/MainWindow.xaml @@ -3,6 +3,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:localizations="clr-namespace:Pores.Models.Localizations" xmlns:local="clr-namespace:Pores" mc:Ignorable="d" Title="Pores" Height="450" Width="800"> @@ -14,7 +15,8 @@ - + + @@ -30,7 +32,32 @@ -