|
|
|
<Window x:Class="Signal_Generator.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:Signal_Generator"
|
|
|
|
mc:Ignorable="d"
|
|
|
|
Title="MainWindow" Height="450" Width="489">
|
|
|
|
<Grid>
|
|
|
|
<DockPanel LastChildFill="True" Margin="10,10,10,10">
|
|
|
|
<ListBox x:Name="signals_ListBox" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
|
|
|
|
DockPanel.Dock="Top" ItemsSource="{Binding}" Margin="0,0,0,20">
|
|
|
|
<ListBox.ItemTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<TextBlock Text="{Binding Path=ParamsToString}"/>
|
|
|
|
</StackPanel>
|
|
|
|
</DataTemplate>
|
|
|
|
</ListBox.ItemTemplate>
|
|
|
|
</ListBox>
|
|
|
|
</DockPanel>
|
|
|
|
<DockPanel x:Name="buttons_DockPanel" IsEnabled="False" Margin="10,0,10,10" VerticalAlignment="Bottom">
|
|
|
|
<DockPanel DockPanel.Dock="Left">
|
|
|
|
<Button x:Name="startProcedure_Button" Width="120" Content="Запустить процедуру" />
|
|
|
|
</DockPanel>
|
|
|
|
<DockPanel HorizontalAlignment="Right">
|
|
|
|
<Button x:Name="addSignal_Button" Width="20" Content="+"/>
|
|
|
|
<Button x:Name="removeSignal_Button" Width="20" Content="-" />
|
|
|
|
</DockPanel>
|
|
|
|
</DockPanel>
|
|
|
|
</Grid>
|
|
|
|
</Window>
|