|
@ -5,24 +5,28 @@ |
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
|
xmlns:local="clr-namespace:Signal_Generator" |
|
|
xmlns:local="clr-namespace:Signal_Generator" |
|
|
mc:Ignorable="d" |
|
|
mc:Ignorable="d" |
|
|
Title="TaskWindow" Height="127" Width="284" |
|
|
Title="Моделирование работы группы сигналов" Height="250" Width="500" |
|
|
ResizeMode="NoResize"> |
|
|
ResizeMode="NoResize"> |
|
|
<Grid> |
|
|
<Grid Margin="10"> |
|
|
<DockPanel VerticalAlignment="Top" Margin="10,10,10,0"> |
|
|
<Grid.RowDefinitions> |
|
|
<DockPanel> |
|
|
<RowDefinition Height="*"/> |
|
|
<TextBlock x:Name="currentTime_TextBlock" TextWrapping="Wrap" DockPanel.Dock="Top" Height="18"> |
|
|
<RowDefinition Height="Auto"/> |
|
|
Время выполения: |
|
|
<RowDefinition Height="Auto"/> |
|
|
</TextBlock> |
|
|
<RowDefinition Height="Auto"/> |
|
|
<TextBlock x:Name="currentAmplitude_TextBlock" TextWrapping="Wrap"> |
|
|
</Grid.RowDefinitions> |
|
|
Текущий сигнал: |
|
|
<Grid.ColumnDefinitions> |
|
|
</TextBlock> |
|
|
<ColumnDefinition Width="*"/> |
|
|
</DockPanel> |
|
|
<ColumnDefinition Width="Auto"/> |
|
|
<TextBox x:Name="currentTime_TextBox" TextWrapping="Wrap" DockPanel.Dock="Top"/> |
|
|
<ColumnDefinition Width="*"/> |
|
|
<TextBox x:Name="currentAmplitude_TextBox" TextWrapping="Wrap" DockPanel.Dock="Top"/> |
|
|
<ColumnDefinition Width="*"/> |
|
|
<DockPanel HorizontalAlignment="Center"> |
|
|
</Grid.ColumnDefinitions> |
|
|
<Button x:Name="start_Button" Width="60" Content="Старт" Margin="5,0"/> |
|
|
|
|
|
<Button x:Name="pause_Button" Width="60" Content="Пауза" Margin="5,0"/> |
|
|
<Canvas x:Name="signalGraph_Canvas" Grid.ColumnSpan="4" Margin="0,0,0,5"></Canvas> |
|
|
</DockPanel> |
|
|
<TextBlock x:Name="currentTime_TextBlock" Margin="0,0,5,5" Grid.Row="1" Grid.Column="1">Время выполения:</TextBlock> |
|
|
</DockPanel> |
|
|
<TextBox x:Name="currentTime_TextBox" Margin="0,0,0,5" Grid.Row="1" Grid.Column="2"/> |
|
|
|
|
|
<TextBlock x:Name="currentAmplitude_TextBlock" Margin="0,0,5,5" Grid.Row="2" Grid.Column="1">Текущий сигнал:</TextBlock> |
|
|
|
|
|
<TextBox x:Name="currentAmplitude_TextBox" Margin="0,0,0,5" Grid.Row="2" Grid.Column="2"/> |
|
|
|
|
|
<Button x:Name="start_Button" Width="60" Content="Старт" Margin="5,0" Grid.Row="3" Grid.Column="1"/> |
|
|
|
|
|
<Button x:Name="pause_Button" Width="60" Content="Пауза" Margin="5,0" Grid.Row="3" Grid.Column="2"/> |
|
|
</Grid> |
|
|
</Grid> |
|
|
</Window> |
|
|
</Window> |
|
|