添加项目文件。
This commit is contained in:
74
GroupLine.App/MainWindow.xaml
Normal file
74
GroupLine.App/MainWindow.xaml
Normal file
@@ -0,0 +1,74 @@
|
||||
<Window
|
||||
x:Class="GroupLine.App.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:local="clr-namespace:GroupLine.App"
|
||||
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
Title="GroupLine产线管理系统"
|
||||
Width="1600"
|
||||
Height="900"
|
||||
Background="{DynamicResource MaterialDesignBackground}"
|
||||
Closed="Window_Closed"
|
||||
FontFamily="pack://application:,,,/MaterialDesignThemes.Wpf;component/Resources/Roboto/#Roboto"
|
||||
Foreground="{DynamicResource MaterialDesignBody}"
|
||||
Icon="Images/P0.ico"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
WindowState="Maximized"
|
||||
mc:Ignorable="d">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="250" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<materialDesign:ColorZone
|
||||
Grid.ColumnSpan="2"
|
||||
HorizontalAlignment="Stretch"
|
||||
Mode="PrimaryMid">
|
||||
<Grid>
|
||||
<Label
|
||||
Name="LabelTitle"
|
||||
Padding="20"
|
||||
FontSize="26"
|
||||
Foreground="White">
|
||||
DAIKIN-GroupLine生产管理系统
|
||||
</Label>
|
||||
<materialDesign:PopupBox
|
||||
Margin="10"
|
||||
HorizontalAlignment="Right"
|
||||
PlacementMode="BottomAndAlignRightEdges" />
|
||||
</Grid>
|
||||
</materialDesign:ColorZone>
|
||||
<Grid
|
||||
Grid.Row="1"
|
||||
HorizontalAlignment="Stretch"
|
||||
Background="{StaticResource PrimaryHueMidBrush}">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="70" />
|
||||
<RowDefinition Height="326*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid Grid.Row="0" Background="GhostWhite">
|
||||
<Image Source="Images/logo.png" />
|
||||
</Grid>
|
||||
<ScrollViewer
|
||||
Grid.Row="1"
|
||||
HorizontalAlignment="Stretch"
|
||||
HorizontalScrollBarVisibility="Disabled"
|
||||
VerticalScrollBarVisibility="Auto">
|
||||
<StackPanel x:Name="Menu" Margin="10" />
|
||||
</ScrollViewer>
|
||||
</Grid>
|
||||
<StackPanel
|
||||
x:Name="StackPanelMain"
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
HorizontalAlignment="Stretch" />
|
||||
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user