<Window x:Class="MWS.Domain.View.SystemManage.UserAddWindow"
        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:md="http://materialdesigninxaml.net/winfx/xaml/themes" 
        xmlns:local="clr-namespace:MWS.Domain.View.SystemManage"
        mc:Ignorable="d"
        WindowStyle="None"
        ResizeMode="NoResize"
        WindowStartupLocation="CenterScreen"
        Loaded="Window_Loaded"
        Background="#F0F5F8"
        BorderBrush="#2DA6EC"
        Title="UserEditWindow" Height="500" Width="500">
    <Grid>
        <StackPanel>
            <StackPanel Height="80" Orientation="Horizontal" >
                <StackPanel Width="100">
                    
                </StackPanel>
                <StackPanel Width="300">
                    <TextBlock Text="添加新用户" FontSize="28" Foreground="#4C8FB6" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,20,0,0"></TextBlock>
                    
                </StackPanel>
                <StackPanel  Width="100" Orientation="Horizontal"  DockPanel.Dock="Right" HorizontalAlignment="Right">
                    <Button x:Name="close"  Height="36" Margin="40,0,0,30" Background="Gray" BorderThickness="0" md:ButtonAssist.CornerRadius="5" Click="close_Click">
                        <TextBlock>
                         <md:PackIcon Kind="CloseOutline" Width="20" Height="20" Margin="0,2"/>
                        </TextBlock>
                    </Button>
                </StackPanel>
                
            </StackPanel>
            <Border BorderThickness="1" BorderBrush="#4C8FB6"></Border>
            <StackPanel Height="340">
                <StackPanel DockPanel.Dock="Left" Height="60" Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,10,0,10" >
                    <TextBlock Text="用户名:" VerticalAlignment="Center" FontSize="20" Margin="0,0,25,0" />
                    <TextBox x:Name="tbUserAccount"  Style="{StaticResource DefaultTextBoxStyle}" BorderBrush="#CCCCCC" Height="36" Width="200" Padding="9"  />
                </StackPanel>
                <StackPanel DockPanel.Dock="Left" Height="60" Orientation="Horizontal" HorizontalAlignment="Center"  Margin="0,10,0,10" >
                    <TextBlock Text="真实姓名:" VerticalAlignment="Center" FontSize="20" Margin="0,0,10,0" />
                    <TextBox x:Name="tbRealName"  Style="{StaticResource DefaultTextBoxStyle}" BorderBrush="#CCCCCC" Height="36" Width="200" Padding="9"  />
                </StackPanel>
                <StackPanel DockPanel.Dock="Left" Height="60" Orientation="Horizontal" HorizontalAlignment="Center"  Margin="0,10,0,10" >
                    <TextBlock Text="密码:" VerticalAlignment="Center" FontSize="20" Margin="0,0,50,0" />
                    <TextBox x:Name="tbPassword"  Style="{StaticResource DefaultTextBoxStyle}" BorderBrush="#CCCCCC" Height="36" Width="200" Padding="9"  />
                </StackPanel>
                <StackPanel DockPanel.Dock="Left" Height="60" Orientation="Horizontal" HorizontalAlignment="Center"  Margin="0,10,0,10" >
                    <TextBlock Text="是否锁定:" VerticalAlignment="Center" FontSize="20" Margin="0,0,10,0" />
                    <ComboBox x:Name="cmLock"  Style="{StaticResource DefaultComboBoxStyle}"  ItemsSource="{Binding}"  Height="36"   Width="200" >
                    </ComboBox>
                </StackPanel>
            </StackPanel>
            <Border BorderThickness="1" BorderBrush="#4C8FB6"></Border>
            <StackPanel Height="80">
                <Button x:Name="tbsave"  Height="36" Margin="0,20,0,20" Width="150" Background="#2DA6EC" BorderThickness="0" md:ButtonAssist.CornerRadius="5" Click="tbsave_Click">
                    <TextBlock>
                            <md:PackIcon Kind="ContentSave" Width="20" Height="20" Margin="0,2"/>
                            <Label Content="保存" FontSize="14" Foreground="#FFFFFF" />
                    </TextBlock>
                </Button>
            </StackPanel>
        </StackPanel>
    </Grid>
</Window>
