<Window x:Class="FSI.Lib.Guis.SieTiaWinCCMsgMgt.FrmMain"
        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:FSI.Lib.Guis.SieTiaWinCCMsgMgt"
        mc:Ignorable="d"
        Title="FSI WinCC Mgt"
        SizeToContent="WidthAndHeight"
        Height="Auto"
        Width="Auto"
        MinWidth="200"
        Icon="../../Icons/FondiumU.ico"
        WindowStyle="ToolWindow">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition MaxHeight="30"
                           Height="*" />
            <RowDefinition />
        </Grid.RowDefinitions>

        <StackPanel Orientation="Horizontal">
            <Button x:Name="btnStart"
                    Content="Start"
                    Margin="5 5 5 5 "
                    Click="btnStart_Click" />
            <Button x:Name="btnStop"
                    Content="Stop"
                    Margin="5 5 5 5 "
                    Click="btnStop_Click" />
        </StackPanel>
        
        <StatusBar Grid.Row="2">
            <StatusBar.ItemsPanel>
                <ItemsPanelTemplate>
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*" />
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="4*" />
                            <ColumnDefinition Width="Auto" />

                        </Grid.ColumnDefinitions>
                    </Grid>
                </ItemsPanelTemplate>
            </StatusBar.ItemsPanel>
            <StatusBarItem>
                <TextBlock x:Name="tbStatus" />
            </StatusBarItem>
            <StatusBarItem Grid.Column="1">
                <ProgressBar x:Name="pgProgress"
                             Width="80"
                             Height="18" />
            </StatusBarItem>
        </StatusBar>
    </Grid>
</Window>

