diff --git a/InputBox.xaml b/InputBox.xaml index 73d3045..6bf916b 100644 --- a/InputBox.xaml +++ b/InputBox.xaml @@ -14,21 +14,21 @@ - + - - + - diff --git a/InputBox.xaml.cs b/InputBox.xaml.cs index 5c69155..26e7005 100644 --- a/InputBox.xaml.cs +++ b/InputBox.xaml.cs @@ -38,7 +38,7 @@ namespace FAtoPA.Net InitializeComponent(); cbModbusRegister.ItemsSource = ModbusRegisters; - txtLogicalState.Text = key; + txtLogicalState.Content = key; cbModbusRegister.SelectedIndex = ModbusRegisters.IndexOf(value); diff --git a/MainWindow.xaml b/MainWindow.xaml index 5db0960..67a20cd 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -9,10 +9,14 @@ Closing="Window_Closing" Title="MainWindow" MinWidth="800" + MaxWidth="1024" MinHeight="480" - WindowState="Maximized" > + MaxHeight="600" + WindowState="Maximized" + IsManipulationEnabled="True"> + - - - + @@ -106,7 +111,6 @@ - @@ -117,16 +121,16 @@ - - + + - + - + -