Browse Source

fix design auth

АсташинИА 7 tháng trước cách đây
mục cha
commit
e2776b549e
2 tập tin đã thay đổi với 22 bổ sung9 xóa
  1. 9 8
      WriteErase/Pages/Auth.xaml
  2. 13 1
      WriteErase/WriteErase.csproj

+ 9 - 8
WriteErase/Pages/Auth.xaml

@@ -5,25 +5,26 @@
       xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
       xmlns:local="clr-namespace:WriteErase.Pages"
       mc:Ignorable="d" 
-      d:DesignHeight="450" d:DesignWidth="800"
+      d:DesignHeight="550" d:DesignWidth="800"
       Title="Auth">
 
     <Grid Background="LightGray">
-        <Rectangle HorizontalAlignment="Center" Height="416"  Fill="White" VerticalAlignment="Center" Width="306" RadiusX="15" RadiusY="15"/>
+        <Rectangle HorizontalAlignment="Center" Height="500"  Fill="White" VerticalAlignment="Center" Width="306" RadiusX="15" RadiusY="15"/>
         <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
             <TextBlock HorizontalAlignment="Center" FontWeight="DemiBold" Margin="0,10,0,0" FontSize="40">SIGN IN</TextBlock>
-            <GroupBox Header="Login" Margin="0,50,0,0">
+            <GroupBox Header="Login" Margin="0,30,0,0">
                 <TextBox Background="#0000" BorderBrush="#0000" Foreground="#4f4f4f" Name="Login"></TextBox>
             </GroupBox>
             <GroupBox Header="Password" Margin="0,10,0,0">
                 <PasswordBox Background="#0000" BorderBrush="#0000" Foreground="#4f4f4f" Name="Pass"></PasswordBox>
             </GroupBox>
-            <StackPanel Margin="0,10,0,0" Visibility="Collapsed" Name="Capa">
-                <Image />
-                <TextBlock Text="Введите текст с картинки"/>
-                <TextBox Name="CapaText"/>
+            <StackPanel Margin="0,10,0,0" Visibility="Collapsed" Width="200" Name="Capa">
+                <Image Source="\Picture\capcha.png"/>
+                <GroupBox Header="Введите капчу" Margin="0,5,0,0">
+                    <TextBox Background="#0000" BorderBrush="#0000" Foreground="#4f4f4f" Name="CapaText"/>
+                </GroupBox>
             </StackPanel>
-            <Border BorderThickness="1" CornerRadius="7" BorderBrush="#bababa" Background="LightGray" Width="200" Height="28" Margin="0,50,0,0" >
+            <Border BorderThickness="1" CornerRadius="7" BorderBrush="#bababa" Background="LightGray" Width="200" Height="28" Margin="0,30,0,0" >
                 <Button Name="Enter" Background="#0000" BorderBrush="#0000" Content="Sign in" FontSize="16"></Button>
             </Border>
             <TextBlock HorizontalAlignment="Center" FontWeight="DemiBold" Foreground="#4f4f4f" FontSize="11" Margin="0,5,0,0">Or</TextBlock>

+ 13 - 1
WriteErase/WriteErase.csproj

@@ -102,8 +102,20 @@
   <ItemGroup>
     <None Include="App.config" />
   </ItemGroup>
+  <ItemGroup />
   <ItemGroup>
-    <Folder Include="Picture\" />
+    <Resource Include="Picture\A346R4.jpg" />
+    <Resource Include="Picture\A543T6.jpg" />
+    <Resource Include="Picture\B730E2.jpg" />
+    <Resource Include="Picture\capcha.png" />
+    <Resource Include="Picture\D419T7.png" />
+    <Resource Include="Picture\F719R5.jpg" />
+    <Resource Include="Picture\G278R6.png" />
+    <Resource Include="Picture\H452A3.png" />
+    <Resource Include="Picture\picture.png" />
+    <Resource Include="Picture\R259E6.jpg" />
+    <Resource Include="Picture\T564P5.jpg" />
+    <Resource Include="Picture\А112Т4.jpg" />
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
 </Project>