diff --git a/PopUps/LibraryWindow.xaml b/PopUps/LibraryWindow.xaml index 8ba4467..42be9cc 100644 --- a/PopUps/LibraryWindow.xaml +++ b/PopUps/LibraryWindow.xaml @@ -5,9 +5,47 @@ xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit" xmlns:local="clr-namespace:CtrEditor.PopUps" xmlns:ObjetosSim="clr-namespace:CtrEditor.ObjetosSim" - Title="Biblioteca de Objetos Simulables" Height="700" Width="1200" - WindowStartupLocation="CenterOwner" ResizeMode="CanResize" - Loaded="Window_Loaded"> + xmlns:ctr="clr-namespace:CtrEditor" + Title="Biblioteca de Objetos Simulables" + Height="{Binding Source={x:Static ctr:EstadoPersistente.Instance}, Path=LibraryWindow.Height, Mode=TwoWay}" + Width="{Binding Source={x:Static ctr:EstadoPersistente.Instance}, Path=LibraryWindow.Width, Mode=TwoWay}" + Left="{Binding Source={x:Static ctr:EstadoPersistente.Instance}, Path=LibraryWindow.Left, Mode=TwoWay}" + Top="{Binding Source={x:Static ctr:EstadoPersistente.Instance}, Path=LibraryWindow.Top, Mode=TwoWay}" + WindowStartupLocation="Manual" ResizeMode="CanResize" + Loaded="Window_Loaded" Closing="Window_Closing"> + + + + + + + + + + + + + + + + + + + + @@ -17,16 +55,16 @@ - + - + - + - + @@ -34,16 +72,45 @@ -