Алёна Плотникова 3 lat temu
rodzic
commit
e100b0a953

+ 25 - 0
kursach.sln

@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.30503.244
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "kursach", "kursach\kursach.csproj", "{6A9B7AA6-4D1A-4828-8174-F20CE17EFFB7}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{6A9B7AA6-4D1A-4828-8174-F20CE17EFFB7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{6A9B7AA6-4D1A-4828-8174-F20CE17EFFB7}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{6A9B7AA6-4D1A-4828-8174-F20CE17EFFB7}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{6A9B7AA6-4D1A-4828-8174-F20CE17EFFB7}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+	GlobalSection(ExtensibilityGlobals) = postSolution
+		SolutionGuid = {9358ED83-E9A6-434F-B9FB-67D889D6D86C}
+	EndGlobalSection
+EndGlobal

+ 9 - 0
kursach/App.config

@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+  <startup>
+    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
+  </startup>
+  <connectionStrings>
+    <add name="DefaultConnection" connectionString="Data Source=LAPTOP-306C0BCK\SQLEXPRESS;Initial Catalog=OpenSky;Integrated Security=True" providerName="System.Data.SqlClient" />
+  </connectionStrings>
+</configuration>

+ 9 - 0
kursach/App.xaml

@@ -0,0 +1,9 @@
+<Application x:Class="kursach.App"
+             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+             xmlns:local="clr-namespace:kursach"
+             StartupUri="MainWindow.xaml">
+    <Application.Resources>
+         
+    </Application.Resources>
+</Application>

+ 17 - 0
kursach/App.xaml.cs

@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows;
+
+namespace kursach
+{
+    /// <summary>
+    /// Логика взаимодействия для App.xaml
+    /// </summary>
+    public partial class App : Application
+    {
+    }
+}

BIN
kursach/Fonts/Montserrat-Medium.ttf


BIN
kursach/Image/aircraft.png


BIN
kursach/Image/ava_c.jpg


BIN
kursach/Image/ava_m.png


BIN
kursach/Image/ava_w.png


BIN
kursach/Image/menu.png


BIN
kursach/Image/testImage.jpg


+ 27 - 0
kursach/MainWindow.xaml

@@ -0,0 +1,27 @@
+<Window x:Class="kursach.MainWindow"
+        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:kursach"
+        mc:Ignorable="d"
+        x:Name="main"
+        Title="OpenSky" Height="450" Width="800" Icon="Image/aircraft.png" WindowStartupLocation="CenterScreen" MinHeight="250" MinWidth="400">
+    <Grid x:Name="Home">
+        <Grid x:Name="header" Grid.Row="0" Grid.Column="0">
+            <Border BorderBrush="#FFABCDEF" BorderThickness="1" Background="#FFABCDEF"/>
+            <Label Content="ОткрытоеНебо" HorizontalAlignment="Stretch" VerticalAlignment="Center" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="36"/>
+            <Image HorizontalAlignment="Right" VerticalAlignment="Stretch" Height="55" Width="55" Source="Image/menu.png" Cursor="Hand" MouseDown="Image_MouseDown"/>
+        </Grid>
+        <Grid x:Name="body" Grid.Row="1" Grid.Column="0">
+            <Image Source="Image/testImage.jpg" Margin="0,0,0,10"/>
+        </Grid>
+        <Grid.RowDefinitions>
+            <RowDefinition Height="Auto"/>
+            <RowDefinition Height="Auto"/>
+        </Grid.RowDefinitions>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition Width="*"/>
+        </Grid.ColumnDefinitions>
+    </Grid>
+</Window>

+ 36 - 0
kursach/MainWindow.xaml.cs

@@ -0,0 +1,36 @@
+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.Navigation;
+using System.Windows.Shapes;
+
+namespace kursach
+{
+    /// <summary>
+    /// Логика взаимодействия для MainWindow.xaml
+    /// </summary>
+    public partial class MainWindow : Window
+    {
+        public MainWindow()
+        {
+            InitializeComponent();
+        }
+
+        private void Image_MouseDown(object sender, MouseButtonEventArgs e)
+        {
+            //переход в меню
+            Windows.Menu menu = new Windows.Menu();
+            menu.ShowDialog();
+            this.Name = "main";
+        }
+    }
+}

+ 55 - 0
kursach/Properties/AssemblyInfo.cs

@@ -0,0 +1,55 @@
+using System.Reflection;
+using System.Resources;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Windows;
+
+// Общие сведения об этой сборке предоставляются следующим набором
+// набор атрибутов. Измените значения этих атрибутов, чтобы изменить сведения,
+// связанные со сборкой.
+[assembly: AssemblyTitle("kursach")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("kursach")]
+[assembly: AssemblyCopyright("Copyright ©  2021")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Установка значения False для параметра ComVisible делает типы в этой сборке невидимыми
+// для компонентов COM. Если необходимо обратиться к типу в этой сборке через
+// из модели COM, установите атрибут ComVisible для этого типа в значение true.
+[assembly: ComVisible(false)]
+
+//Чтобы начать создание локализуемых приложений, задайте
+//<UICulture>CultureYouAreCodingWith</UICulture> в файле .csproj
+//в <PropertyGroup>. Например, при использовании английского (США)
+//в своих исходных файлах установите <UICulture> в en-US.  Затем отмените преобразование в комментарий
+//атрибута NeutralResourceLanguage ниже.  Обновите "en-US" в
+//строка внизу для обеспечения соответствия настройки UICulture в файле проекта.
+
+//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
+
+
+[assembly: ThemeInfo(
+    ResourceDictionaryLocation.None, //где расположены словари ресурсов по конкретным тематикам
+                                     //(используется, если ресурс не найден на странице,
+                                     // или в словарях ресурсов приложения)
+    ResourceDictionaryLocation.SourceAssembly //где расположен словарь универсальных ресурсов
+                                              //(используется, если ресурс не найден на странице,
+                                              // в приложении или в каких-либо словарях ресурсов для конкретной темы)
+)]
+
+
+// Сведения о версии для сборки включают четыре следующих значения:
+//
+//      Основной номер версии
+//      Дополнительный номер версии
+//      Номер сборки
+//      Номер редакции
+//
+// Можно задать все значения или принять номера сборки и редакции по умолчанию 
+// используя "*", как показано ниже:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 71 - 0
kursach/Properties/Resources.Designer.cs

@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код был создан программным средством.
+//     Версия среды выполнения: 4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если
+//     код создан повторно.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace kursach.Properties
+{
+
+
+    /// <summary>
+    ///   Класс ресурсов со строгим типом для поиска локализованных строк и пр.
+    /// </summary>
+    // Этот класс был автоматически создан при помощи StronglyTypedResourceBuilder
+    // класс с помощью таких средств, как ResGen или Visual Studio.
+    // Для добавления или удаления члена измените файл .ResX, а затем перезапустите ResGen
+    // с параметром /str или заново постройте свой VS-проект.
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    internal class Resources
+    {
+
+        private static global::System.Resources.ResourceManager resourceMan;
+
+        private static global::System.Globalization.CultureInfo resourceCulture;
+
+        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+        internal Resources()
+        {
+        }
+
+        /// <summary>
+        ///   Возврат кэшированного экземпляра ResourceManager, используемого этим классом.
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Resources.ResourceManager ResourceManager
+        {
+            get
+            {
+                if ((resourceMan == null))
+                {
+                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("kursach.Properties.Resources", typeof(Resources).Assembly);
+                    resourceMan = temp;
+                }
+                return resourceMan;
+            }
+        }
+
+        /// <summary>
+        ///   Переопределяет свойство CurrentUICulture текущего потока для всех
+        ///   подстановки ресурсов с помощью этого класса ресурсов со строгим типом.
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Globalization.CultureInfo Culture
+        {
+            get
+            {
+                return resourceCulture;
+            }
+            set
+            {
+                resourceCulture = value;
+            }
+        }
+    }
+}

+ 117 - 0
kursach/Properties/Resources.resx

@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>

+ 30 - 0
kursach/Properties/Settings.Designer.cs

@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace kursach.Properties
+{
+
+
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
+    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+    {
+
+        private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+        public static Settings Default
+        {
+            get
+            {
+                return defaultInstance;
+            }
+        }
+    }
+}

+ 7 - 0
kursach/Properties/Settings.settings

@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding='utf-8'?>
+<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
+  <Profiles>
+    <Profile Name="(Default)" />
+  </Profiles>
+  <Settings />
+</SettingsFile>

+ 33 - 0
kursach/Windows/Account.xaml

@@ -0,0 +1,33 @@
+<Window x:Class="kursach.Windows.Account"
+        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:kursach.Windows"
+        mc:Ignorable="d"
+        Title="OpenSky" Height="400" Width="810" WindowStartupLocation="CenterScreen" MinHeight="250" MinWidth="400" Icon="/kursach;component/Image/aircraft.png" ResizeMode="NoResize">
+    <Grid>
+        <Grid x:Name="header" Grid.Row="0" Grid.Column="0">
+            <Border BorderBrush="#FFABCDEF" BorderThickness="1" Background="#FFABCDEF"/>
+            <Label Content="Профиль" HorizontalAlignment="Stretch" VerticalAlignment="Center" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="36"/>
+        </Grid>
+        <Grid x:Name="body" Grid.Row="1" Grid.Column="0">
+            <Rectangle Fill="#FFF4F4F5" HorizontalAlignment="Left" Height="160" Margin="25,25,0,0" Stroke="Black" VerticalAlignment="Top" Width="160"/>
+            <Image x:Name="ImageAva" Source="/Image/ava_c.jpg" Margin="25,25,609,444" />
+            <Button Click="AlterImage" Content="Изменить картинку" Margin="25,210,607,0" VerticalAlignment="Top" Width="160" Height="30" FontFamily="/kursach;component/Fonts/#Montserrat Medium"/>
+            <Button Click="Save" Content="Сохранить изменения" Margin="25,245,607,0" VerticalAlignment="Top" Width="160" Height="30" FontFamily="/kursach;component/Fonts/#Montserrat Medium"/>
+            <TextBlock x:Name="LFM" Margin="200,25,25,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Height="40" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="22"/>
+            <TextBlock x:Name="Login" Margin="200,70,335,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Height="39" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="20"/>
+            <Button Click="Home" Content="Вернуться в главное окно" Margin="200,210,25,0" VerticalAlignment="Top" Height="65" FontFamily="/kursach;component/Fonts/#Montserrat Medium" RenderTransformOrigin="0.481,0.4" FontSize="24"/>
+            <Label MouseDown="Like" Content=">перейти к избранному" HorizontalAlignment="Left" Margin="200,163,0,0" VerticalAlignment="Top" Height="31" Width="241" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="18" Cursor="Hand"/>
+            <Label Content="(выйти)" HorizontalAlignment="Left" Margin="715,-40,0,0" VerticalAlignment="Top" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="16" MouseDown="Exit" Cursor="Hand"/>
+        </Grid>
+        <Grid.RowDefinitions>
+            <RowDefinition Height="Auto"/>
+            <RowDefinition Height="Auto"/>
+        </Grid.RowDefinitions>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition Width="*"></ColumnDefinition>
+        </Grid.ColumnDefinitions>
+    </Grid>
+</Window>

+ 116 - 0
kursach/Windows/Account.xaml.cs

@@ -0,0 +1,116 @@
+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;
+using System.Data.SqlClient;
+using System.Data;
+using System.Configuration;
+
+namespace kursach.Windows
+{
+    /// <summary>
+    /// Логика взаимодействия для Account.xaml
+    /// </summary>
+    public partial class Account : Window
+    {
+        string connectionString;
+        SqlDataAdapter adapter = new SqlDataAdapter();
+        DataTable usersTable = new DataTable();
+
+        public Account(int IdUser)
+        {
+            Menu.UserId = IdUser;
+            InitializeComponent();
+            //получаем строку подключения из app.config
+            connectionString = ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString;
+
+            //вывод в профиль фио, логина и аватарки
+            SqlConnection connection = new SqlConnection(connectionString);
+            connection.Open();
+
+            SqlCommand command = new SqlCommand();
+            command.CommandText = "SELECT CONCAT(LastName, ' ', FirstName, ' ', MiddleName), Login, Image FROM Users WHERE IdUser = " + IdUser.ToString();
+            command.Connection = connection;
+
+            adapter.SelectCommand = command;
+            adapter.Fill(usersTable);
+
+            LFM.Text = usersTable.Rows[0][0].ToString();
+            Login.Text = usersTable.Rows[0][1].ToString();
+            ImageAva.Source = new BitmapImage(new Uri(usersTable.Rows[0][2].ToString()));
+
+            connection.Close();
+        }
+
+        string filename;
+
+        private void AlterImage(object sender, RoutedEventArgs e)
+        {
+            //изменение аватарки
+            Microsoft.Win32.OpenFileDialog dlg = new Microsoft.Win32.OpenFileDialog();
+
+            dlg.DefaultExt = ".png";
+            dlg.Filter = "JPEG Files (*.jpeg)|*.jpeg|PNG Files (*.png)|*.png|JPG Files (*.jpg)|*.jpg|GIF Files (*.gif)|*.gif";
+
+            Nullable<bool> result = dlg.ShowDialog();
+
+            if (result == true)
+            {
+                filename = dlg.FileName;
+                ImageAva.Source = new BitmapImage(new Uri(filename));
+            }
+        }
+
+        private void Save(object sender, RoutedEventArgs e)
+        {
+            //сохранение аватарки
+            SqlConnection connection = new SqlConnection(connectionString);
+            connection.Open();
+
+            SqlCommand command = new SqlCommand();
+            command.CommandText = "UPDATE Users SET Image = '" + filename + "' WHERE IdUser = " + Menu.UserId.ToString();
+            command.Connection = connection;
+
+            adapter.SelectCommand = command;
+            adapter.Fill(usersTable);
+
+            connection.Close();
+
+            MessageBox.Show("Сохранения изменены");
+        }
+
+        private void Home(object sender, RoutedEventArgs e)
+        {
+            //возврат на главную
+            MainWindow main = new MainWindow();
+            main.Show();
+            Close();
+        }
+
+        private void Like(object sender, MouseButtonEventArgs e)
+        {
+            //переход в избранное
+
+        }
+
+        private void Exit(object sender, MouseButtonEventArgs e)
+        {
+            //выход из аккаунта, возврат на главную
+            Menu.UserId = 0;
+            MessageBox.Show("Вы вышли из аккаунта");
+
+            MainWindow main = new MainWindow();
+            main.Show();
+            Close();
+        }
+    }
+}

+ 28 - 0
kursach/Windows/Auth.xaml

@@ -0,0 +1,28 @@
+<Window x:Class="kursach.Windows.Auth"
+        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:kursach.Windows"
+        mc:Ignorable="d"
+        Title="Auto" Height="360" Width="300" WindowStyle="None" ResizeMode="NoResize" WindowStartupLocation="CenterScreen">
+    <Grid>
+        <Grid.RowDefinitions>
+            <RowDefinition Height="0.2*"/>
+            <RowDefinition Height="*"/>
+        </Grid.RowDefinitions>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition Width="*"/>
+        </Grid.ColumnDefinitions>
+        <Border BorderBrush="#FFABCDEF" BorderThickness="1" Background="#FFABCDEF">
+            <Label Content="Авторизация" VerticalAlignment="Center" HorizontalAlignment="Center" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="24"/>
+        </Border>
+        <Label Content="Логин:" HorizontalAlignment="Left" Margin="10,30,0,0" Grid.Row="1" VerticalAlignment="Top" Height="36" Width="89" FontSize="18"/>
+        <Label Content="Пароль:" HorizontalAlignment="Left" Margin="10,80,0,0" Grid.Row="1" VerticalAlignment="Top" Height="36" Width="89" FontSize="18"/>
+        <TextBox x:Name="login" Margin="104,30,10,234" Grid.Row="1" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="16" VerticalContentAlignment="Center"/>
+        <PasswordBox x:Name="password" Margin="104,80,10,184" Grid.Row="1" FontSize="14" VerticalContentAlignment="Center"/>
+        <Button Click="auth" Content="Вход" Margin="10,205,10,0" Grid.Row="1" VerticalAlignment="Top" Height="40" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="18"/>
+        <Label MouseDown="reg" Content="Ещё не с нами? Зарегистрируйся!" Margin="18,145,18,126" Grid.Row="1" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="14" Foreground="#FF534B4B" Cursor="Hand"/>
+        <Button Click="back" Content="Отмена" Margin="10,250,10,0" Grid.Row="1" VerticalAlignment="Top" Height="40" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="18"/>
+    </Grid>
+</Window>

+ 91 - 0
kursach/Windows/Auth.xaml.cs

@@ -0,0 +1,91 @@
+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;
+using System.Data.SqlClient;
+using System.Data;
+using System.Configuration;
+
+namespace kursach.Windows
+{
+    /// <summary>
+    /// Логика взаимодействия для Auth.xaml
+    /// </summary>
+    public partial class Auth : Window
+    {
+        string connectionString;
+        SqlDataAdapter adapter = new SqlDataAdapter();
+        DataTable usersTable = new DataTable();
+
+        public Auth()
+        {
+            InitializeComponent();
+            //получаем строку подключения из app.config
+            connectionString = ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString;
+        }
+
+        private void back(object sender, RoutedEventArgs e)
+        {
+            //вернуться назад
+            MainWindow main = new MainWindow();
+            main.Show();
+            Windows.Menu menu = new Windows.Menu();
+            menu.ShowDialog();            
+            Close();
+        }
+
+        private void reg(object sender, RoutedEventArgs e)
+        {           
+            //перейти к регистрации
+            Windows.Reg reg = new Windows.Reg();
+            reg.Show();
+            Close();
+        }
+
+        private void auth(object sender, RoutedEventArgs e)
+        {
+            //обработчик ошибок при авторизации
+            if(login.Text == "" || password.Password == "")
+            {
+                MessageBox.Show("Ошибка! Пустые поля.");
+                return;
+            }
+
+            SqlConnection connection = new SqlConnection(connectionString);
+            connection.Open();
+
+            SqlCommand command = new SqlCommand();
+            command.CommandText = "SELECT * FROM Users WHERE Login = '" + login.Text + "' AND Password = '" + password.Password + "'";
+            command.Connection = connection;
+
+            adapter.SelectCommand = command;
+            adapter.Fill(usersTable);
+
+            if(usersTable.Rows.Count != 0)
+            {
+                //успех, переход в профиль
+                MessageBox.Show("Авторизация прошла успешно.");
+                
+                Windows.Account acc = new Windows.Account(Convert.ToInt32(usersTable.Rows[0][0]));
+                acc.Show();
+                Close();
+            }
+            else
+            {
+                MessageBox.Show("Ошибка! Неверный логин и/или пароль.");
+                return;
+            }
+
+            connection.Close();
+        }
+    }
+}

+ 24 - 0
kursach/Windows/Menu.xaml

@@ -0,0 +1,24 @@
+<Window x:Class="kursach.Windows.Menu"
+        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:kursach.Windows"
+        mc:Ignorable="d"
+        Title="OpenSky" Height="170" Width="200" Icon="/kursach;component/Image/aircraft.png" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" WindowStyle="None">
+    <Grid>
+        <Grid.RowDefinitions>
+            <RowDefinition Height="0.2*"/>
+            <RowDefinition Height="*"/>
+        </Grid.RowDefinitions>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition Width="*"></ColumnDefinition>
+        </Grid.ColumnDefinitions>
+        <Border BorderBrush="#FFABCDEF" BorderThickness="1" Background="#FFABCDEF" Margin="0,0,0,115" Grid.RowSpan="2">
+            <Label Content="Меню" VerticalAlignment="Center" HorizontalAlignment="Center" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="24"/>
+        </Border>
+        <Button Content="Войти" Click="Auth" Margin="10,32,10,0" Grid.Row="1" VerticalAlignment="Top" Height="30" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="18"/>
+        <Button Content="Поиск" Click="Search" Margin="10,67,10,0" Grid.Row="1" VerticalAlignment="Top" Height="30" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="18"/>
+        <Button Content="Назад" Click="Back" Margin="10,102,10,0" Grid.Row="1" VerticalAlignment="Top" Height="30" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="18"/>
+    </Grid>
+</Window>

+ 59 - 0
kursach/Windows/Menu.xaml.cs

@@ -0,0 +1,59 @@
+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 kursach.Windows
+{
+    /// <summary>
+    /// Логика взаимодействия для Menu.xaml
+    /// </summary>
+    public partial class Menu : Window
+    {
+        public static int UserId = 0;
+
+        public Menu()
+        {
+            InitializeComponent();
+        }
+
+        private void Back(object sender, RoutedEventArgs e)
+        {
+            //вернуться назад
+            this.Close();
+        }
+
+        private void Auth(object sender, RoutedEventArgs e)
+        {           
+            if(Menu.UserId != 0)
+            {
+                MessageBox.Show("Вы уже вошли, переходим в профиль...");
+                Windows.Account acc = new Windows.Account(UserId);
+                acc.Show();
+                Close();
+            }
+            else
+            {
+                //перейти к авторизации
+                Windows.Auth auth = new Windows.Auth();
+                auth.Show();
+                Close();
+                Application.Current.MainWindow.Close();
+            }             
+        }
+
+        private void Search(object sender, RoutedEventArgs e)
+        {
+            //перейти к поиску
+        }
+    }
+}

+ 37 - 0
kursach/Windows/Reg.xaml

@@ -0,0 +1,37 @@
+<Window x:Class="kursach.Windows.Reg"
+        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:kursach.Windows"
+        mc:Ignorable="d"
+        Title="Reg" Height="450" Width="666" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" WindowStyle="None">
+    <Grid>
+        <Grid.RowDefinitions>
+            <RowDefinition Height="0.2*"/>
+            <RowDefinition Height="*"/>
+        </Grid.RowDefinitions>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition Width="*"></ColumnDefinition>
+        </Grid.ColumnDefinitions>
+        <Border BorderBrush="#FFABCDEF" BorderThickness="1" Background="#FFABCDEF">
+            <Label Content="Регистрация" VerticalAlignment="Center" HorizontalAlignment="Center" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="24"/>
+        </Border>
+        <Button Content="Ок" Click="okay" Margin="10,280,10,0" Grid.Row="1" VerticalAlignment="Top" Height="40" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="18"/>
+        <Button Content="Отмена" Click="back" Margin="10,325,475,0" Grid.Row="1" VerticalAlignment="Top" Height="40" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="18"/>
+        <Button Content="Вернуться на главную" Click="home" Margin="196,325,10,0" Grid.Row="1" VerticalAlignment="Top" Height="40" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="18"/>
+        <TextBlock Text="Фамилия:" Margin="10,10,356,340" Grid.Row="1" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="18"/>
+        <TextBox x:Name="lname" Margin="10,40,356,300" Grid.Row="1" Height="35" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="16" VerticalContentAlignment="Center" VerticalAlignment="Center"/>
+        <TextBlock Text="Имя:" Margin="10,81,356,265" Grid.Row="1" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="18"/>
+        <TextBox x:Name="fname" Margin="10,115,356,225" Grid.Row="1" Height="35" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="16" VerticalContentAlignment="Center" VerticalAlignment="Center"/>
+        <TextBlock Text="Отчество:" Margin="10,155,356,191" Grid.Row="1" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="18"/>
+        <TextBox x:Name="mname" Margin="10,189,356,151" Grid.Row="1" Height="35" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="16" VerticalContentAlignment="Center" VerticalAlignment="Center"/>
+        <TextBlock Text="Придумайте логин:" Margin="325,10,10,340" Grid.Row="1" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="18"/>
+        <TextBox x:Name="login" Margin="325,40,10,300" Grid.Row="1" Height="35" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="16" VerticalContentAlignment="Center" VerticalAlignment="Center"/>
+        <TextBlock Text="Придумайте пароль:" Margin="325,80,10,270" Grid.Row="1" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="18"/>
+        <PasswordBox x:Name="pass1" Margin="325,115,10,225" Grid.Row="1" Height="35" Width="331" VerticalContentAlignment="Center"/>
+        <TextBlock Text="Повторите пароль:" Margin="325,155,10,195" Grid.Row="1" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="18"/>
+        <PasswordBox x:Name="pass2" Margin="325,189,10,151" Grid.Row="1" Height="35" Width="331" VerticalContentAlignment="Center"/>
+        <TextBlock Text="минимальная длина логина и пароля 5 символов." Margin="10,241,10,109" Grid.Row="1" FontFamily="/kursach;component/Fonts/#Montserrat Medium" VerticalAlignment="Center" Foreground="#FF292929" HorizontalAlignment="Center"/>
+    </Grid>
+</Window>

+ 108 - 0
kursach/Windows/Reg.xaml.cs

@@ -0,0 +1,108 @@
+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;
+using System.Data.SqlClient;
+using System.Data;
+using System.Configuration;
+
+namespace kursach.Windows
+{
+    /// <summary>
+    /// Логика взаимодействия для Reg.xaml
+    /// </summary>
+    public partial class Reg : Window
+    {
+        string connectionString;
+        SqlDataAdapter adapter = new SqlDataAdapter();
+        DataTable usersTable = new DataTable();
+
+        public Reg()
+        {
+            InitializeComponent();
+            //получаем строку подключения из app.config
+            connectionString = ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString;
+
+        }
+
+        private void back(object sender, RoutedEventArgs e)
+        {           
+            //вернуться назад
+            Windows.Auth auth = new Windows.Auth();
+            auth.Show();
+            Close();
+        }
+
+        private void home(object sender, RoutedEventArgs e)
+        {
+            //вернуться на главную
+            MainWindow main = new MainWindow();
+            main.Show();
+            Close();
+        }
+
+        private void okay(object sender, RoutedEventArgs e)
+        {
+            //обработчик ошибок при регистрации
+            if(lname.Text == "" || fname.Text == "" || mname.Text == "" || login.Text == "" || pass1.Password == "" || pass2.Password == "")
+            {
+                MessageBox.Show("Не все обязательные поля заполнены.");
+                return;
+            }
+
+            if(login.Text.Length < 5 || pass1.Password.Length < 5)
+            {
+                MessageBox.Show("Слишком короткий логин и/или пароль.");
+                return;
+            }
+
+            if(pass1.Password != pass2.Password)
+            {
+                MessageBox.Show("Пароли не совпадают.");
+                return;
+            }
+
+            SqlConnection connection = new SqlConnection(connectionString);
+            connection.Open();
+
+            SqlCommand command = new SqlCommand();
+            command.CommandText = "SELECT * FROM Users WHERE Login = '" + login.Text + "'";
+            command.Connection = connection;
+
+            adapter.SelectCommand = command;
+            adapter.Fill(usersTable);
+
+            if (usersTable.Rows.Count != 0)
+            {
+                MessageBox.Show("Такой логин уже существует, попробуйте другой.");
+                return;
+            }
+            else
+            {
+                //успех, переход в профиль
+                command.CommandText = "INSERT INTO Users (Login, Password, LastName, FirstName, MiddleName) VALUES ('" + login.Text + "', '" + pass1.Password + "', '" + lname.Text + "', '" + fname.Text + "', '" + mname.Text + "')";
+                command.Connection = connection;
+
+                adapter.InsertCommand = command;
+                adapter.Fill(usersTable);
+
+                MessageBox.Show("Регистрация прошла успешно.");
+
+                Windows.Auth auth = new Windows.Auth();
+                auth.Show();
+                Close();
+            }
+
+            connection.Close();
+        }
+    }
+}

+ 159 - 0
kursach/kursach.csproj

@@ -0,0 +1,159 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{6A9B7AA6-4D1A-4828-8174-F20CE17EFFB7}</ProjectGuid>
+    <OutputType>WinExe</OutputType>
+    <RootNamespace>kursach</RootNamespace>
+    <AssemblyName>kursach</AssemblyName>
+    <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <WarningLevel>4</WarningLevel>
+    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
+    <Deterministic>true</Deterministic>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
+      <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath>
+    </Reference>
+    <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
+      <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+    <Reference Include="System.ComponentModel.DataAnnotations" />
+    <Reference Include="System.Configuration" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Runtime.Serialization" />
+    <Reference Include="System.Security" />
+    <Reference Include="System.Xml" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="System.Net.Http" />
+    <Reference Include="System.Xaml">
+      <RequiredTargetFramework>4.0</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="WindowsBase" />
+    <Reference Include="PresentationCore" />
+    <Reference Include="PresentationFramework" />
+  </ItemGroup>
+  <ItemGroup>
+    <ApplicationDefinition Include="App.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </ApplicationDefinition>
+    <Compile Include="Windows\Account.xaml.cs">
+      <DependentUpon>Account.xaml</DependentUpon>
+    </Compile>
+    <Compile Include="Windows\Auth.xaml.cs">
+      <DependentUpon>Auth.xaml</DependentUpon>
+    </Compile>
+    <Compile Include="Windows\Menu.xaml.cs">
+      <DependentUpon>Menu.xaml</DependentUpon>
+    </Compile>
+    <Compile Include="Windows\Reg.xaml.cs">
+      <DependentUpon>Reg.xaml</DependentUpon>
+    </Compile>
+    <Page Include="MainWindow.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+    <Compile Include="App.xaml.cs">
+      <DependentUpon>App.xaml</DependentUpon>
+      <SubType>Code</SubType>
+    </Compile>
+    <Compile Include="MainWindow.xaml.cs">
+      <DependentUpon>MainWindow.xaml</DependentUpon>
+      <SubType>Code</SubType>
+    </Compile>
+    <Page Include="Windows\Account.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
+    <Page Include="Windows\Auth.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
+    <Page Include="Windows\Menu.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
+    <Page Include="Windows\Reg.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Properties\AssemblyInfo.cs">
+      <SubType>Code</SubType>
+    </Compile>
+    <Compile Include="Properties\Resources.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DesignTime>True</DesignTime>
+      <DependentUpon>Resources.resx</DependentUpon>
+    </Compile>
+    <Compile Include="Properties\Settings.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Settings.settings</DependentUpon>
+      <DesignTimeSharedInput>True</DesignTimeSharedInput>
+    </Compile>
+    <EmbeddedResource Include="Properties\Resources.resx">
+      <Generator>ResXFileCodeGenerator</Generator>
+      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
+    </EmbeddedResource>
+    <Resource Include="Fonts\Montserrat-Medium.ttf" />
+    <None Include="Properties\Settings.settings">
+      <Generator>SettingsSingleFileGenerator</Generator>
+      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
+    </None>
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="App.config" />
+  </ItemGroup>
+  <ItemGroup>
+    <WCFMetadata Include="Connected Services\" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="Image\menu.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="Image\aircraft.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="Image\testImage.jpg" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="Image\ava_m.png" />
+    <Resource Include="Image\ava_w.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="Image\ava_c.jpg" />
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+</Project>

BIN
menu.png


BIN
plane.png