Public/UI/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> <Label Name="WindowTitle" Content="Tenant Manager" HorizontalAlignment="Left" Height="60" Margin="10,10,0,0" VerticalAlignment="Top" Width="299" Foreground="#FF90C4DE" FontSize="28"/> <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" 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="Reload features" HorizontalAlignment="Left" Margin="10,10,10,10" VerticalAlignment="Bottom" Width="200"/> <Button Name="btnAddMissing" Content="Add missing features" HorizontalAlignment="Right" Margin="10,10,10,10" VerticalAlignment="Bottom" Width="400"/> </Grid> </TabItem> <TabItem Header="Packages" Height="30" Padding="5" Background="#FFA0A0A0"> <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="Reload packages" HorizontalAlignment="Left" Margin="10,10,10,10" VerticalAlignment="Bottom" Width="200"/> <Button Name="btnInstall" Content="Install selected packages" HorizontalAlignment="Right" Margin="10,10,10,10" VerticalAlignment="Bottom" Width="400"/> </Grid> </TabItem> <TabItem Header="Tenants" Height="30" Padding="5" Background="#FFA0A0A0"> <Grid Background="#FFC8C8C8"> <DataGrid Name="tenantsDataGrid" 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="Version" Binding="{Binding Version}" Width="20*"/> <DataGridTextColumn Header="ERP" Binding="{Binding ERP}" Width="20*"/> </DataGrid.Columns> </DataGrid> <Button Name="btnLoadTenants" Content="Reload tenants" HorizontalAlignment="Left" Margin="10,10,10,10" VerticalAlignment="Bottom" Width="200"/> <Button Name="btnNewTenant" Content="New tenant" HorizontalAlignment="Right" Margin="10,10,10,10" VerticalAlignment="Bottom" Width="400"/> </Grid> </TabItem> </TabControl> </Grid> </Window> |