mirror of
https://github.com/StockSharp/StockSharp.git
synced 2026-12-06 01:22:11 +00:00
42 lines
2.0 KiB
XML
42 lines
2.0 KiB
XML
<Window x:Class="SampleHistoryTestingParallel.MainWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:loc="clr-namespace:StockSharp.Localization;assembly=StockSharp.Localization"
|
|
xmlns:charting="http://schemas.stocksharp.com/xaml"
|
|
xmlns:xaml="clr-namespace:Ecng.Xaml;assembly=Ecng.Xaml"
|
|
Title="{x:Static loc:LocalizedStrings.XamlStr563}" Height="430" Width="525">
|
|
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="*" />
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="10" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="10" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<Label Grid.Column="0" Grid.Row="0" Content="{x:Static loc:LocalizedStrings.XamlStr593}" />
|
|
<xaml:FolderBrowserPicker x:Name="HistoryPath" Grid.Column="1" Grid.Row="0" />
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row="2" Grid.Column="0">
|
|
<Button x:Name="StartBtn" Content="{x:Static loc:LocalizedStrings.Str2421}" Width="100" Click="StartBtnClick" />
|
|
<Button x:Name="PauseBtn" Content="{x:Static loc:LocalizedStrings.Pause}" Width="100" Click="PauseBtnClick" IsEnabled="False"/>
|
|
<Button x:Name="StopBtn" Content="{x:Static loc:LocalizedStrings.Str242}" Width="100" HorizontalAlignment="Left" Click="StopBtnClick" IsEnabled="False"/>
|
|
</StackPanel>
|
|
<ProgressBar x:Name="TestingProcess" Grid.Column="1" Grid.Row="2" Maximum="100" />
|
|
|
|
<TabControl Grid.Row="4" Grid.ColumnSpan="2" Grid.Column="0" >
|
|
<TabItem Header="{x:Static loc:LocalizedStrings.Equity}">
|
|
<charting:EquityCurveChart x:Name="Curve" />
|
|
</TabItem>
|
|
<TabItem Header="{x:Static loc:LocalizedStrings.Str436}">
|
|
<charting:StrategiesStatisticsPanel x:Name="Stat" ShowProgress="False"/>
|
|
</TabItem>
|
|
</TabControl>
|
|
</Grid>
|
|
</Window>
|