-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
39 lines (32 loc) · 1.54 KB
/
MainWindow.xaml
File metadata and controls
39 lines (32 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<Window x:Class="AlgoVizualization.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:AlgoVizualization"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800"
xmlns:ScottPlot="clr-namespace:ScottPlot.WPF;assembly=ScottPlot.WPF">
<Grid>
<Button Content="Запустить
" HorizontalAlignment="Left" Margin="693,10,0,0" VerticalAlignment="Top" Height="22" Width="97" Click="Button_Click"/>
<ComboBox x:Name="AlgorithmComboBox"
HorizontalAlignment="Left"
Margin="10,10,0,0"
VerticalAlignment="Top"
Width="648"
Height="22"
SelectionChanged="AlgorithmComboBox_SelectionChanged">
</ComboBox>
<ScottPlot:WpfPlot x:Name="PLOT" Margin="0,64,212,10"/>
<StackPanel Margin="588,46,0,285">
<TextBlock Text="{Binding ElementName=sizeSlider, Path=Value, StringFormat='Размер массива: {0:F0}'}"
HorizontalAlignment="Center"
Margin="0,0,0,10"/>
<Slider x:Name="sizeSlider"
Minimum="10"
Maximum="1000"
Value="100"
Width="152" ValueChanged="sizeSlider_ValueChanged" Panel.ZIndex="10" Height="54"/>
</StackPanel>
</Grid>
</Window>