PageUserEdit.xaml 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <Page x:Class="NEIntelligentControl2.Pages.User.PageUserEdit"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:NEIntelligentControl2.Pages.User"
  7. xmlns:usr="clr-namespace:NEIntelligentControl2.Views.User"
  8. mc:Ignorable="d"
  9. d:DesignHeight="450" d:DesignWidth="800"
  10. Title="PageUserEdit">
  11. <Page.Resources>
  12. <Style x:Key="TextBlockStyleMain" TargetType="TextBlock">
  13. <Setter Property="VerticalAlignment" Value="Center"/>
  14. <Setter Property="FontSize" Value="14"/>
  15. </Style>
  16. </Page.Resources>
  17. <Grid Margin="30,0" x:Name="_gd">
  18. <Grid.RowDefinitions>
  19. <RowDefinition/>
  20. <RowDefinition Height="27"/>
  21. <RowDefinition/>
  22. <RowDefinition/>
  23. <RowDefinition/>
  24. <RowDefinition/>
  25. <RowDefinition Height="5"/>
  26. <RowDefinition Height="Auto"/>
  27. <RowDefinition Height="5"/>
  28. <RowDefinition Height="27"/>
  29. <RowDefinition Height="7"/>
  30. </Grid.RowDefinitions>
  31. <TextBlock Text="用户注册" x:Name="_TBPageTitle" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"/>
  32. <TextBlock Grid.Row="1" x:Name="_TBTitle" TextWrapping="Wrap" HorizontalAlignment="Center" FontSize="12" Foreground="#FFFF5200" VerticalAlignment="Center"/>
  33. <Grid Grid.Row="2">
  34. <Grid.RowDefinitions>
  35. <RowDefinition/>
  36. <RowDefinition/>
  37. </Grid.RowDefinitions>
  38. <TextBlock Text="用户名:" Style="{StaticResource TextBlockStyleMain}"/>
  39. <TextBox Grid.Row="1" x:Name="_TBUserName" Text="{Binding UserName}" HorizontalContentAlignment="Left" VerticalContentAlignment="Center" FontSize="14"/>
  40. </Grid>
  41. <Grid Grid.Row="3">
  42. <Grid.RowDefinitions>
  43. <RowDefinition/>
  44. <RowDefinition/>
  45. </Grid.RowDefinitions>
  46. <TextBlock Text="姓名:" Style="{StaticResource TextBlockStyleMain}"/>
  47. <TextBox Grid.Row="1" x:Name="_TBName" Text="{Binding Name}" HorizontalContentAlignment="Left" VerticalContentAlignment="Center" FontSize="14"/>
  48. </Grid>
  49. <Grid Grid.Row="4">
  50. <Grid.RowDefinitions>
  51. <RowDefinition/>
  52. <RowDefinition/>
  53. </Grid.RowDefinitions>
  54. <TextBlock Text="新密码:" Style="{StaticResource TextBlockStyleMain}"/>
  55. <PasswordBox x:Name="_TBPassword" Grid.Row="1" HorizontalContentAlignment="Left" VerticalContentAlignment="Center" FontSize="14"/>
  56. </Grid>
  57. <Grid Grid.Row="5">
  58. <Grid.RowDefinitions>
  59. <RowDefinition/>
  60. <RowDefinition/>
  61. </Grid.RowDefinitions>
  62. <TextBlock Text="电话:" Style="{StaticResource TextBlockStyleMain}"/>
  63. <TextBox x:Name="_Phone" Text="{Binding Telephone}" Grid.Row="1" HorizontalContentAlignment="Left" VerticalContentAlignment="Center" FontSize="14"/>
  64. </Grid>
  65. <Grid Grid.Row="7">
  66. <Grid.RowDefinitions>
  67. <RowDefinition/>
  68. <RowDefinition/>
  69. </Grid.RowDefinitions>
  70. <ComboBox Text="选择指纹" x:Name="_CBMain" SelectionChanged="_CBMain_SelectionChanged"/>
  71. <Grid Grid.Row="1">
  72. <Grid.ColumnDefinitions>
  73. <ColumnDefinition/>
  74. <ColumnDefinition/>
  75. <ColumnDefinition/>
  76. </Grid.ColumnDefinitions>
  77. <usr:FingerpointImage x:Name="_fi1" Margin="2"/>
  78. <usr:FingerpointImage x:Name="_fi2" Grid.Column="1" Margin="2"/>
  79. <usr:FingerpointImage x:Name="_fi3" Grid.Column="2" Margin="2"/>
  80. </Grid>
  81. </Grid>
  82. <Button Grid.Row="9" Content="提 交" Click="Button_Click" Tag="submit" IsDefault="True"/>
  83. </Grid>
  84. </Page>