Public/MainWindow.xaml
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="PlannerOne.Deployer" Height="600" Width="800" Background="#FF2F2D2D" WindowStartupLocation="CenterScreen" WindowStyle="None" ResizeMode="NoResize" FontSize="14"> <Grid> <Image Name="image" HorizontalAlignment="Left" Height="60" Margin="10,10,10,10" VerticalAlignment="Top" Width="200" Source="logo_p1_bd.png"/> <Button Name="btnExit" Content="Exit" HorizontalAlignment="Right" Margin="10,10,10,10" VerticalAlignment="Bottom" Width="100" Height="30" Background="#FF90C4DE"/> <TabControl Name="tabControl" HorizontalAlignment="Stretch" Height="450" Margin="10,10,10,10" VerticalAlignment="Stretch" Width="770" TabStripPlacement="Left" Background="#FFC8C8C8"> <TabItem Header="Prerequisites" Height="30" Margin="0" Padding="5" Background="#FFA0A0A0"> <Grid Background="#FFC8C8C8"> <DataGrid Name="prereqDataGrid" HorizontalAlignment="Left" Margin="10,10,10,10" VerticalAlignment="Top" Height="390" Width="655" AutoGenerateColumns="False"> <DataGrid.Columns> <DataGridTextColumn Header="Name" Binding="{Binding Name}" Width="30*"/> <DataGridTextColumn Header="Display Name" Binding="{Binding DisplayName}" Width="40*"/> <DataGridTextColumn Header="Install State" Binding="{Binding InstallState}" Width="40*"/> </DataGrid.Columns> </DataGrid> <Button Name="btnTest" Content="Test features" HorizontalAlignment="Left" Margin="10,10,10,10" VerticalAlignment="Bottom" Width="300"/> <Button Name="btnAddMissing" Content="Add missing features" HorizontalAlignment="Right" Margin="10,10,10,10" VerticalAlignment="Bottom" Width="300"/> </Grid> </TabItem> <TabItem Header="Packages" Margin="0,-0.4,-1,0" Height="30" Padding="5" Background="#FFA0A0A0" VerticalAlignment="Bottom"> <Grid Background="#FFC8C8C8"> <DataGrid Name="packagesDataGrid" HorizontalAlignment="Left" Margin="10,10,10,10" VerticalAlignment="Top" Height="390" Width="655" AutoGenerateColumns="False"> <DataGrid.Columns> <DataGridTextColumn Header="Name" Binding="{Binding Name}" Width="40*"/> <DataGridTextColumn Header="Latest version" Binding="{Binding Version}" Width="20*"/> <DataGridTextColumn Header="Installed version" Binding="{Binding InstalledVersion}" Width="20*"/> <DataGridCheckBoxColumn Header="Install" Binding="{Binding Install}" Width="20*"/> </DataGrid.Columns> </DataGrid> <Button Name="btnLoad" Content="Load packages" HorizontalAlignment="Left" Margin="10,10,10,10" VerticalAlignment="Bottom" Width="300"/> <Button Name="btnInstall" Content="Install selected packages" HorizontalAlignment="Right" Margin="10,10,10,10" VerticalAlignment="Bottom" Width="300"/> </Grid> </TabItem> <TabItem Header="Tenants" Margin="0,-2,-1,-2" Height="30" Padding="5" Background="#FFA0A0A0"> <Grid Background="#FFC8C8C8" Margin="0"/> </TabItem> </TabControl> </Grid> </Window> |