SigninDialog.xaml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <Window
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:local="clr-namespace:AwInitilizer"
  6. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7. xmlns:resx="clr-namespace:AwInitilizer.Resx"
  8. Title="Signin"
  9. Width="800"
  10. Height="600"
  11. FontSize="36"
  12. ResizeMode="NoResize"
  13. Topmost="True"
  14. WindowStartupLocation="CenterOwner"
  15. mc:Ignorable="d"
  16. x:Class="AwInitilizer.SigninDialog">
  17. <Border BorderBrush="Gray" BorderThickness="2">
  18. <Grid>
  19. <Grid.RowDefinitions>
  20. <RowDefinition Height="60" />
  21. <RowDefinition Height="*" />
  22. </Grid.RowDefinitions>
  23. <Grid Grid.Row="0" Background="Gray">
  24. <Label
  25. x:Name="uxTitle"
  26. Content="{x:Static resx:AppResources.SigninDialogTitle}"
  27. Foreground="White" />
  28. </Grid>
  29. <Grid Grid.Row="1">
  30. <StackPanel VerticalAlignment="Center" Orientation="Vertical">
  31. <StackPanel VerticalAlignment="Center" Orientation="Vertical">
  32. <Label
  33. HorizontalAlignment="Center"
  34. VerticalAlignment="Center"
  35. Content="{x:Static resx:AppResources.SigninDialogEnterIDHint}"
  36. Foreground="Black" />
  37. <Rectangle Height="10" />
  38. <TextBox
  39. x:Name="uxIdBox"
  40. Height="60"
  41. Margin="10"
  42. TextAlignment="Center" />
  43. </StackPanel>
  44. <StackPanel VerticalAlignment="Center" Orientation="Vertical">
  45. <Label
  46. HorizontalAlignment="Center"
  47. VerticalAlignment="Center"
  48. Content="{x:Static resx:AppResources.SigninDialogEnterWOHint}"
  49. Foreground="Black" />
  50. <Rectangle Height="10" />
  51. <TextBox
  52. x:Name="uxWorkOrderBox"
  53. Height="60"
  54. Margin="10"
  55. TextAlignment="Center" />
  56. </StackPanel>
  57. <Label
  58. x:Name="uxErrmsg"
  59. HorizontalAlignment="Center"
  60. Content="error"
  61. Foreground="Red"
  62. Visibility="Hidden" />
  63. <Rectangle Height="10" />
  64. <Grid
  65. x:Name="uxCancelContainer"
  66. Grid.Row="2"
  67. Height="60">
  68. <Button
  69. Width="150"
  70. Height="60"
  71. HorizontalAlignment="Center"
  72. VerticalAlignment="Center"
  73. Click="OK_Pressed">
  74. <Label x:Name="uxBtnText" Content="{x:Static resx:AppResources.Confirm}" />
  75. </Button>
  76. </Grid>
  77. </StackPanel>
  78. </Grid>
  79. </Grid>
  80. </Border>
  81. </Window>