Files
Prog4_Beadando/WD7UVN_SzTGUI_2023242.Client.WPF/MainWindow.xaml
MiskolcziRichard a3e4fdb5fd so many stuff
2024-03-26 12:54:51 +01:00

84 lines
3.1 KiB
XML

<Window x:Class="WD7UVN_SzTGUI_2023242.Client.WPF.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:WD7UVN_SzTGUI_2023242.Client.WPF"
mc:Ignorable="d"
Title="Company database manager" Height="450" Width="900">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid Grid.Column="0">
<Grid.RowDefinitions>
<RowDefinition Height="9*" />
<RowDefinition Height="1*" />
</Grid.RowDefinitions>
<ListBox Grid.Row="0">
<ListBox.ItemTemplate>
<DataTemplate>
<Button Content="{Binding NAME}" Margin="5px"/>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
<Button Grid.Row="1" Margin="5" Content="Expand all" Click="ExpandAllServices"/>
</Grid>
<Grid Grid.Column="1">
<Grid.RowDefinitions>
<RowDefinition Height="9*" />
<RowDefinition Height="1*" />
</Grid.RowDefinitions>
<ListBox Grid.Row="0">
<ListBox.ItemTemplate>
<DataTemplate>
<Button Content="{Binding NAME}" Margin="5px"/>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
<Button Grid.Row="1" Margin="5" Content="Expand all" Click="ExpandAllCustomers" />
</Grid>
<Grid Grid.Column="2">
<Grid.RowDefinitions>
<RowDefinition Height="9*" />
<RowDefinition Height="1*" />
</Grid.RowDefinitions>
<ListBox Grid.Row="0">
<ListBox.ItemTemplate>
<DataTemplate>
<Button Content="{Binding NAME}" Margin="5px"/>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
<Button Grid.Row="1" Margin="5" Content="Expand all" Click="ExpandAllClients" />
</Grid>
<Grid Grid.Column="3">
<Grid.RowDefinitions>
<RowDefinition Height="9*" />
<RowDefinition Height="1*" />
</Grid.RowDefinitions>
<ListBox Grid.Row="0">
<ListBox.ItemTemplate>
<DataTemplate>
<Button Content="{Binding NAME}" Margin="5px"/>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
<Button Grid.Row="1" Margin="5" Content="Expand all" Click="ExpandAllTeams" />
</Grid>
</Grid>
</Window>