1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <Window x:Class="AIPractice.LabellerServer.WPF.AccountInfoWindow"
- 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:AIPractice.LabellerServer.WPF"
- mc:Ignorable="d"
- Title="用户信息" Height="400" Width="420" WindowStartupLocation="CenterScreen" ResizeMode="NoResize">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="56"/>
- <RowDefinition Height="48"/>
- <RowDefinition Height="48"/>
- <RowDefinition Height="48"/>
- <RowDefinition Height="48"/>
- <RowDefinition Height="48"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="0.3*"/>
- <ColumnDefinition Width="0.7*"/>
- </Grid.ColumnDefinitions>
- <Label Margin="4" VerticalAlignment="Center" Style="{StaticResource h3}" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Content="用户信息:"/>
- <TextBlock Style="{StaticResource textblock-default}" Margin="18,0,0,0" Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" Text="用户名:"/>
- <TextBox x:Name="UserName" Margin="8,4,8,4" Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" Text="{Binding Name}"/>
- <TextBlock Style="{StaticResource textblock-default}" Margin="18,0,0,0" Grid.Row="2" Grid.Column="0" VerticalAlignment="Center" Text="密码:"/>
- <PasswordBox x:Name="UserPassword" Margin="8,4,8,4" Grid.Row="2" Grid.Column="1" VerticalAlignment="Center"/>
- <TextBlock Style="{StaticResource textblock-default}" Margin="18,0,0,0" Grid.Row="3" Grid.Column="0" VerticalAlignment="Center" Text="姓名:"/>
- <TextBox x:Name="FullName" Margin="8,4,8,4" Grid.Row="3" Grid.Column="1" VerticalAlignment="Center" Text="{Binding Description}"/>
- <TextBlock Style="{StaticResource textblock-default}" Margin="18,0,0,0" Grid.Row="4" Grid.Column="0" VerticalAlignment="Center" Text="邮箱:"/>
- <TextBox x:Name="Email" Margin="8,4,8,4" Grid.Row="4" Grid.Column="1" VerticalAlignment="Center" Text="{Binding Email}"/>
- <TextBlock Style="{StaticResource textblock-default}" Margin="18,0,0,0" Grid.Row="5" Grid.Column="0" VerticalAlignment="Center" Text="审核员:"/>
- <CheckBox x:Name="IsReviewer" HorizontalAlignment="Right" Margin="8,4,8,4" Grid.Row="5" Grid.Column="1" VerticalAlignment="Center" IsChecked="{Binding IsReviewer}"/>
- <StackPanel Orientation="Horizontal" Grid.Row="6" Grid.Column="1" Margin="8" VerticalAlignment="Center" HorizontalAlignment="Right">
- <Button Style="{StaticResource btn-primary}" Margin="4" VerticalAlignment="Center" HorizontalAlignment="Right" Height="32" Content="确定" Width="80" Click="OnOkClick"/>
- <Button Style="{StaticResource btn-danger}" Margin="4" VerticalAlignment="Center" HorizontalAlignment="Right" Height="32" Content="关闭" Width="80" Click="OnCloseClick"/>
- </StackPanel>
- </Grid>
- </Window>
|