Files
StockSharp/Samples/Common/SampleSync/MainWindow.xaml
T

28 lines
1.4 KiB
XML

<Window x:Class="SampleSync.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:sx="http://schemas.stocksharp.com/xaml"
xmlns:xaml="clr-namespace:Ecng.Xaml;assembly=Ecng.Xaml"
Title="{x:Static loc:LocalizedStrings.XamlStr569}" Height="130" Width="500">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Label Grid.Column="0" Grid.Row="0" Content="{x:Static loc:LocalizedStrings.XamlStr592}" />
<xaml:FolderBrowserPicker x:Name="QuikPath" Grid.Column="1" Grid.Row="0" />
<Button x:Name="ConnectBtn" Grid.Column="0" Width="100" Grid.ColumnSpan="2" Grid.Row="1" Content="{x:Static loc:LocalizedStrings.Connect}" Click="ConnectClick" />
<sx:SecurityEditor x:Name="Security" Grid.Column="1" Grid.Row="2" SecuritySelected="OnSecuritySelected" />
<Button x:Name="ShowChart" Grid.Column="0" Width="100" Grid.ColumnSpan="2" Grid.Row="3" Content="{x:Static loc:LocalizedStrings.Str3200}" IsEnabled="False" Click="ShowChartClick" />
</Grid>
</Window>