added samples
[windows-sources.git] / sdk / samples / CrossTechnologySamples / MSBuildG / windows / pickerwindow.xaml
blob4154be4748ede021ca0d8f5cffac9229b1442941
1 <Window x:Class="Microsoft.Samples.MSBuildG.PickerWindow"
2     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4     Title="GUI for MSBuild"
5                 ResizeMode="NoResize"
6                 Width="400"
7                 Height="300"
8                 Style="{DynamicResource WindowStyle}"
9                 
10                 WindowStartupLocation="CenterScreen" >
11         
12         <Grid  Style="{DynamicResource ContentGrid}">
14                 <!--Begin Window Content-->
15     <Grid.ColumnDefinitions>
16       <ColumnDefinition Width="*"/>
17     </Grid.ColumnDefinitions>
18     <Grid.RowDefinitions>
19       <RowDefinition Height="Auto"/>
20       <RowDefinition Height="*"/>
21       <RowDefinition Height="Auto"/>
22     </Grid.RowDefinitions>
24                 <TextBlock Grid.Column="0" Grid.Row="1" TextAlignment="Center"  Margin="4,12,4,4" FontSize="12">
25                         Welcome to GUI for MSBuild. Please select an editor view below:
26                 </TextBlock>
28                 <StackPanel Grid.Row="1" Grid.Column="0"  Orientation ="Horizontal" VerticalAlignment="Center"  HorizontalAlignment="Center">
29                         <Button Style ="{DynamicResource ChooseButton}" Margin ="0,0,10,0" Click="ShowWizard">
30                                 <StackPanel Orientation ="Vertical" HorizontalAlignment ="Center" Height="80">
31                                         <Image Source ="pack://application:,,,/Icons/generic.ico" Width="48"/>
32                                         <TextBlock HorizontalAlignment ="Center" TextAlignment="Center" TextWrapping="Wrap">
33                                                 Create New Project Wizard
34                                         </TextBlock>
35                                 </StackPanel>
36                         </Button>
37                         <Button Style ="{DynamicResource ChooseButton}"  Click="ShowDesigner">
38                                 <StackPanel Orientation ="Vertical" HorizontalAlignment ="Center" Height="80">
39                                         <Image Source ="pack://application:,,,/Icons/folderopen.ico" Width="48"/>
40                                         <TextBlock HorizontalAlignment ="Center" TextAlignment="Center" TextWrapping="Wrap">
41                                                 Project Designer
42                                         </TextBlock>
43                                 </StackPanel>
44                         </Button>
45                 </StackPanel>
47                 
49                 <!--End Window Content-->
51                 <!-- Begin Window Resources -->
53                 <Grid.Resources>
54                         <Style x:Key ="WindowChooseButton" TargetType ="{x:Type Button}">
56                         </Style>
57                 </Grid.Resources>
59                 <!-- End Window Resources -->
60         </Grid>
61 </Window>