<Window x:Class="EveCalc.UI.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:EveCalc.UI"
        mc:Ignorable="d"
        Title="MainWindow" Height="450" Width="800">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="2*"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>

        <Menu Grid.Row="0" Grid.ColumnSpan="2">
            <Menu.Items>
                <MenuItem Header="Daten">
                    <MenuItem Header="Login..." Click="MnuLogin_Click"/>
                    <MenuItem Header="Blueprints laden" Click="MnuLoadBlueprints_Click"/>
                    <MenuItem Header="Vorhandene Materialien laden" Click="MnuLoadMats_Click"/>
                </MenuItem>
            </Menu.Items>
        </Menu>

        <ListView x:Name="LvwBlueprints" Grid.Row="1" ItemsSource="{Binding CorpBlueprints, UpdateSourceTrigger=PropertyChanged}">
            <ListView.View>
                <GridView>
                    <GridView.Columns>
                        <GridViewColumn Header="Name" Width="150" DisplayMemberBinding="{Binding TypeName}"/>
                        <GridViewColumn Header="Quanity" Width="47" DisplayMemberBinding="{Binding Quantity}"/>
                        <GridViewColumn Header="Runs" Width="30" DisplayMemberBinding="{Binding Runs}"/>
                        <GridViewColumn Header="Mat Eff" Width="50" DisplayMemberBinding="{Binding MaterialEfficiency}"/>
                        <GridViewColumn Header="Time Eff" Width="50" DisplayMemberBinding="{Binding TimeEfficiency}"/>
                    </GridView.Columns>
                </GridView>
            </ListView.View>
        </ListView>

        <ListView x:Name="LvwMats" Grid.Row="1" Grid.Column="1" ItemsSource="{Binding CorpBlueprints, UpdateSourceTrigger=PropertyChanged}">
            <ListView.View>
                <GridView>
                    <GridView.Columns>
                        <GridViewColumn Header="Name" Width="150" DisplayMemberBinding="{Binding TypeName}"/>
                        <GridViewColumn Header="Quantity" Width="50" DisplayMemberBinding="{Binding Quantity}"/>
                    </GridView.Columns>
                </GridView>
            </ListView.View>
        </ListView>
    </Grid>
</Window>
