mr.solder5 5 年 前
コミット
e316bae4b2
3 ファイル変更60 行追加0 行削除
  1. 7 0
      CopyCenter/CopyCenter.csproj
  2. 26 0
      CopyCenter/Window1.xaml
  3. 27 0
      CopyCenter/Window1.xaml.cs

+ 7 - 0
CopyCenter/CopyCenter.csproj

@@ -128,6 +128,9 @@
     <Compile Include="User.cs">
       <DependentUpon>DataBase.tt</DependentUpon>
     </Compile>
+    <Compile Include="Window1.xaml.cs">
+      <DependentUpon>Window1.xaml</DependentUpon>
+    </Compile>
     <Page Include="AuthorizationWindow.xaml">
       <SubType>Designer</SubType>
       <Generator>MSBuild:Compile</Generator>
@@ -160,6 +163,10 @@
       <SubType>Designer</SubType>
       <Generator>MSBuild:Compile</Generator>
     </Page>
+    <Page Include="Window1.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
   </ItemGroup>
   <ItemGroup>
     <Compile Include="Properties\AssemblyInfo.cs">

+ 26 - 0
CopyCenter/Window1.xaml

@@ -0,0 +1,26 @@
+<Window x:Class="CopyCenter.AuthorizationWindow"
+        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:CopyCenter"
+        mc:Ignorable="d"
+        Title="" Height="150" Width="300" WindowStartupLocation="CenterScreen" FontFamily="Century Gothic">
+    <Grid>
+        <Grid.RowDefinitions>
+            <RowDefinition/>
+            <RowDefinition/>
+            <RowDefinition/>
+        </Grid.RowDefinitions>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition/>
+            <ColumnDefinition/>
+        </Grid.ColumnDefinitions>
+        <TextBlock Text="Логин"/>
+        <TextBlock Text="Пароль" Grid.Row="1"/>
+        <TextBox Name="login" Grid.Column="1" Grid.Row="0"/>
+        <PasswordBox Name="password" Grid.Column="1"  Grid.Row="1"/>
+        <Button Grid.Row="2" Grid.Column="0" Content="Войти" Click="lox" FontFamily="Comic Sans MS"/>
+        <Button Grid.Row="2" Grid.Column="1" Content="Зарегистрироваться" Click="Registration_Click" FontFamily="Comic Sans MS" Margin="6,5,5,5"/>
+    </Grid>
+</Window>

+ 27 - 0
CopyCenter/Window1.xaml.cs

@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+
+namespace CopyCenter
+{
+    /// <summary>
+    /// Interaction logic for Window1.xaml
+    /// </summary>
+    public partial class Window1 : Window
+    {
+        public Window1()
+        {
+            InitializeComponent();
+        }
+    }
+}