AKunSimulator/AKunSimGUI/MainWindow.xaml

29 lines
1.2 KiB
XML

<Window x:Class="AKunSimGUI.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
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:local="clr-namespace:AKunSimGUI"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800"
ResizeMode="NoResize">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid Margin="5,5,5,5">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100"/>
<ColumnDefinition/>
<ColumnDefinition Width="100"/>
</Grid.ColumnDefinitions>
<TextBlock Text="Temp. SP"/>
<Slider Name="SliderTemp" Grid.Column="1" Maximum="1700" Minimum="600"/>
<TextBox Name="TxtTempSP" Grid.Column="2" IsReadOnly="True" Text="{Binding ElementName=SliderTemp, Path=Value, StringFormat={}{0:F1}}"></TextBox>
</Grid>
<ListBox Grid.Row="1"/>
</Grid>
</Window>