Files
quantconnect--lean/VisualStudioPlugin/ProjectNameDialog.xaml

57 lines
3.5 KiB
XML

<!--
QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<platformUi:DialogWindow x:Class="QuantConnect.VisualStudioPlugin.ProjectNameDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:platformUi="clr-namespace:Microsoft.VisualStudio.PlatformUI;assembly=Microsoft.VisualStudio.Shell.14.0"
mc:Ignorable="d"
WindowStartupLocation="CenterScreen"
Title="Select Project Name" Height="150" Width="365" ResizeMode="NoResize" x:ClassModifier="internal">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="30*"/>
<ColumnDefinition Width="290"/>
<ColumnDefinition Width="5*"/>
</Grid.ColumnDefinitions>
<Image Grid.Row="0" Source="/QuantConnect.VisualStudioPlugin;component/Resources/icon_128x128_resource.png" Stretch="Fill" Width="30" Height="30" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="8,21,9,0"/>
<ComboBox x:Name="projectNameBox" HorizontalAlignment="Center" Margin="0,40,0,0" VerticalAlignment="Top" Width="290" TabIndex="2" IsEditable="True" Grid.Column="1"/>
<Label x:Name="projectNameLabel" Content="Project Name" HorizontalAlignment="Left" Margin="0,10,0,0" VerticalAlignment="Top" Grid.Column="1" Padding="0,5,5,5"/>
<Button x:Name="selectButton" HorizontalAlignment="Left" VerticalAlignment="Top" Width="85" Margin="105,70,0,0" Height="30" TabIndex="1" Click="SelectButton_Click" Grid.Column="1" IsDefault="True">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Image Grid.Row="0" Source="/QuantConnect.VisualStudioPlugin;component/Resources/dialog-ok-apply-32.png" Stretch="Fill" Width="16" Height="16"/>
<Label Grid.Column="1" Content="Select" FontSize="12"/>
</Grid>
</Button>
<Button x:Name="cancelButton" HorizontalAlignment="Right" VerticalAlignment="Top" Width="85" Margin="0,70,0,0" Height="30" TabIndex="3" Click="CancelButton_Click" Grid.Column="1">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Image Grid.Row="0" Source="/QuantConnect.VisualStudioPlugin;component/Resources/dialog-close-32.png" Stretch="Fill" Width="16" Height="16"/>
<Label Grid.Column="1" Content="Cancel" FontSize="12"/>
</Grid>
</Button>
</Grid>
</platformUi:DialogWindow>