<Window xmlns:hc="https://handyorg.github.io/handycontrol"  x:Class="智慧物流软件系统.UserEditView"
        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:智慧物流软件系统"
        mc:Ignorable="d"
        Title="用户管理信息" Height="300" Width="550" ResizeMode="NoResize" Icon="/Resources/Logo.ico" WindowStartupLocation="CenterScreen">
    <Grid Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>

        <hc:ScrollViewer IsInertiaEnabled="True" hc:ScrollViewerAttach.AutoHide="False">
            <hc:UniformSpacingPanel Margin="20,10" Spacing="10" Orientation="Vertical">
                <TextBox x:Name="textBox" Style="{StaticResource TextBoxExtend}" hc:InfoElement.Placeholder="请输入用户名" hc:InfoElement.Title="用户名" hc:InfoElement.Necessary="True"></TextBox>
                <PasswordBox x:Name="passwordBox" Style="{StaticResource PasswordBoxExtend}" hc:InfoElement.Placeholder="请输入密码" hc:InfoElement.Title="密码"></PasswordBox>
                <hc:CheckComboBox x:Name="checkComboBox" Style="{StaticResource CheckComboBoxPlus}" ShowSelectAllButton="True" hc:InfoElement.Placeholder="请选择角色" hc:InfoElement.Title="角色"/>
            </hc:UniformSpacingPanel>
        </hc:ScrollViewer>

        <StackPanel Grid.Row="1" Margin="10" Orientation="Horizontal" HorizontalAlignment="Right">
            <Button x:Name="qr" Margin="0,0,10,0" Padding="25,0" Style="{StaticResource ButtonPrimary}">确认</Button>
            <Button Margin="0,0,10,0" Padding="25,0" Click="qx">取消</Button>
        </StackPanel>
    </Grid>
</Window>
