Browse Source

Дизайн

mr.solder5 5 years ago
parent
commit
f9d2e448d5

BIN
CopyCenter/197293[1].png


+ 2 - 2
CopyCenter/AuthorizationWindow.xaml

@@ -4,7 +4,8 @@
         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
         xmlns:local="clr-namespace:CopyCenter"
-        mc:Ignorable="d"
+    mc:Ignorable="d"
+        Icon="197293[1].png"
         Title="" Height="300" Width="450" WindowStartupLocation="CenterScreen" FontFamily="Century Gothic">
     <Grid>
 
@@ -20,6 +21,5 @@
             <Image Margin="64,-190,346,165" Source="1536306136_user[1].png" Stretch="Fill" Height="24" />
             <Image Margin="278,-270,124,229" Source="w256h2561384699897signup[1].png" Stretch="Fill" RenderTransformOrigin="7.7,0.75"/>
          </StackPanel>
-
     </Grid>
 </Window>

+ 3 - 0
CopyCenter/CopyCenter.csproj

@@ -203,12 +203,15 @@
     <Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
   </ItemGroup>
   <ItemGroup>
+    <Resource Include="reg[1].png" />
+    <Resource Include="iBRB2T3S3.jpg" />
     <Resource Include="w256h2561384699897signup[1].png" />
     <Resource Include="1536306136_user[1].png" />
     <Resource Include="iEGK0L0W3.jpg" />
     <Resource Include="i5CKOC7YB.jpg" />
     <Resource Include="654a72aa16e5a5fcc7f2137f3a2fbea2[1].png" />
     <Resource Include="27598932_60x60[1].png" />
+    <Resource Include="197293[1].png" />
     <Content Include="DataBase.Context.tt">
       <Generator>TextTemplatingFileGenerator</Generator>
       <DependentUpon>DataBase.edmx</DependentUpon>

+ 18 - 28
CopyCenter/RegistrationWindow.xaml

@@ -5,35 +5,25 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 xmlns:local="clr-namespace:CopyCenter"
           mc:Ignorable="d"
-    Title="Регистрация" Height="400" Width="400" WindowStartupLocation="CenterScreen" FontFamily="Century Gothic">
+    Title="Регистрация" Height="550" Width="500" WindowStartupLocation="CenterScreen" FontFamily="Century Gothic">
     <Grid>
-        <Grid.RowDefinitions>
-        <RowDefinition/>
-        <RowDefinition/>
-        <RowDefinition/>
-        <RowDefinition/>
-        <RowDefinition/>
-        <RowDefinition/>
-        <RowDefinition/>
-    </Grid.RowDefinitions>
-        <Grid.ColumnDefinitions>
-        <ColumnDefinition/>
-        <ColumnDefinition/>
-    </Grid.ColumnDefinitions>
-            <TextBlock Text="Логин"/>
-        <TextBlock Text="Пароль" Grid.Row="1"/>
-        <TextBlock Text="Фамилия" Grid.Row="2"/>
-        <TextBlock Text="Имя" Grid.Row="3"/>
-        <TextBlock Text="Отчество" Grid.Row="4"/>
-        <TextBlock Text="Контактный номер" Grid.Row="5"/>
-        <TextBox x:Name="login" Grid.Column="1"/>
-        <PasswordBox Name="password" Grid.Column="1" Grid.Row="1"/>
-        <TextBox Name="lastname" Grid.Column="1" Grid.Row="2"/>
-        <TextBox x:Name="firstname" Grid.Column="1" Grid.Row="3"/>
-        <TextBox x:Name="middlename" Grid.Column="1" Grid.Row="4"/>
-        <TextBox x:Name="contactnumber" Grid.Column="1" Grid.Row="5"/>
-        <Button Grid.Row="6" Grid.Column="0" Content="Зарегистрироваться" Click="Registration_Click" FontFamily="Comic Sans MS"/>
-        <Button Grid.Row="6" Grid.Column="1" Content="Отмена" Click="Cancel" FontFamily="Comic Sans MS"/>
+
+        <TextBlock Text="Логин" Margin="15,87,393,398"/>
+        <TextBlock Text="Пароль" Margin="15,138,393,348"/>
+        <TextBlock Text="Фамилия" Margin="15,236,393,250"/>
+        <TextBlock Text="Имя" Margin="15,188,393,298"/>
+        <TextBlock Margin="15,284,383,192"><Run Text="Отчество "/><LineBreak/><Run Text="(при наличии)"/></TextBlock>
+        <TextBlock Margin="15,332,393,145"><Run Text="Контактный "/><LineBreak/><Run Text="номер"/></TextBlock>
+        <TextBox x:Name="login" Margin="120,87,79,398"/>
+        <PasswordBox Name="password" Margin="120,138,79,348"/>
+        <TextBox Name="lastname" Margin="120,188,79,298"/>
+        <TextBox x:Name="firstname" Margin="120,236,79,250"/>
+        <TextBox x:Name="middlename" Margin="120,284,79,202"/>
+        <TextBox x:Name="contactnumber" Margin="120,332,79,154"/>
+        <Button Grid.Column="0" Content="Зарегистрироваться" Click="Registration_Click" FontFamily="Comic Sans MS" Background="#FF138DE2" Margin="64,467,238,10" Width="Auto" Height="Auto"/>
+        <Button Content="Отмена" Click="Cancel" FontFamily="Comic Sans MS" Background="#FF138DE2" Margin="344,467,34,10" Height="Auto" Width="Auto"/>
+        <Image Margin="294,10,154,469" Source="reg[1].png" Stretch="Fill"/>
+        <TextBlock Text="РЕГИСТРАЦИЯ" Margin="202,10,198,486"/>
     </Grid>
 
 </Window>

+ 1 - 0
CopyCenter/Style.xaml

@@ -2,6 +2,7 @@
                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                     xmlns:local="clr-namespace:CopyCenter">
 
+
     <Style TargetType="{x:Type Button}" >
         <Setter Property="Template">
             <Setter.Value>

BIN
CopyCenter/iBRB2T3S3.jpg


BIN
CopyCenter/reg[1].png