forked from QuantConnect/Lean
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProjectNameDialog.xaml
More file actions
56 lines (52 loc) · 3.49 KB
/
Copy pathProjectNameDialog.xaml
File metadata and controls
56 lines (52 loc) · 3.49 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!--
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>