Frm_Main.xaml 2.45 KB
<Window x:Class="HHWCSHost.View.Frm_Main"
        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:HHWCSHost.View"
        mc:Ignorable="d"
        Title="华恒WCS管理系统" Height="574.34" Width="859.2" Closed="Window_Closed" Background="#FFABABAB">
    <DockPanel>
        <Menu x:Name="menu" DockPanel.Dock="Top" Height="25" FontSize="14">
        </Menu>
        <StatusBar x:Name="statusBar" DockPanel.Dock="Bottom" Height="20" Background="#FF414152" Foreground="{DynamicResource {x:Static SystemColors.InfoBrushKey}}"/>
        <TabControl>
            <TabItem Header="主页">
                <Grid x:Name="grid">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="50"></RowDefinition>
                        <RowDefinition Height="130"></RowDefinition>
                        <RowDefinition Height="130"></RowDefinition>
                        <RowDefinition Height="*"></RowDefinition>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="35*"></ColumnDefinition>
                        <ColumnDefinition Width="35*"></ColumnDefinition>
                        <ColumnDefinition Width="30*"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <TextBlock Grid.Row="0" Grid.ColumnSpan="3" TextWrapping="Wrap" Text="主 监 控 画 面" FontWeight="Bold" FontSize="24" TextAlignment="Center" VerticalAlignment="Center"/>
                    <DockPanel Grid.Row="1" Grid.Column="2" Grid.RowSpan="2">
                        <TextBlock DockPanel.Dock="Top" HorizontalAlignment="Center" FontWeight="Bold" FontSize="14">日 志 记 录</TextBlock>
                        <ListBox  x:Name="list_Log" Margin="10,5,10,5">
                            <ListBoxItem>
                                日志记录
                            </ListBoxItem>
                        </ListBox>
                    </DockPanel>
                    <StackPanel Grid.Column="0" Grid.Row="3" Grid.ColumnSpan="3" >

                    </StackPanel>
                </Grid>
            </TabItem>
            <TabItem Header="监控"></TabItem>
        </TabControl>
    </DockPanel>
</Window>