소스 검색

first commit

binellibelos2001@gmail.com 3 년 전
커밋
f46b9e65fa
100개의 변경된 파일5014개의 추가작업 그리고 0개의 파일을 삭제
  1. 7 0
      .vs/VSWorkspaceState.json
  2. BIN
      .vs/bookstore/DesignTimeBuild/.dtbcache.v2
  3. BIN
      .vs/bookstore/v16/.suo
  4. BIN
      .vs/slnx.sqlite
  5. 25 0
      bookstore.sln
  6. 6 0
      bookstore/App.config
  7. 9 0
      bookstore/App.xaml
  8. 17 0
      bookstore/App.xaml.cs
  9. 10 0
      bookstore/AssemblyInfo.cs
  10. 23 0
      bookstore/BookStoreContext.cs
  11. 51 0
      bookstore/MainWindow.xaml
  12. 80 0
      bookstore/MainWindow.xaml.cs
  13. BIN
      bookstore/bin/Debug/net5.0-windows/Microsoft.Data.SqlClient.dll
  14. BIN
      bookstore/bin/Debug/net5.0-windows/Microsoft.EntityFrameworkCore.Abstractions.dll
  15. BIN
      bookstore/bin/Debug/net5.0-windows/Microsoft.EntityFrameworkCore.Relational.dll
  16. BIN
      bookstore/bin/Debug/net5.0-windows/Microsoft.EntityFrameworkCore.SqlServer.dll
  17. BIN
      bookstore/bin/Debug/net5.0-windows/Microsoft.EntityFrameworkCore.dll
  18. BIN
      bookstore/bin/Debug/net5.0-windows/Microsoft.Extensions.Caching.Abstractions.dll
  19. BIN
      bookstore/bin/Debug/net5.0-windows/Microsoft.Extensions.Caching.Memory.dll
  20. BIN
      bookstore/bin/Debug/net5.0-windows/Microsoft.Extensions.Configuration.Abstractions.dll
  21. BIN
      bookstore/bin/Debug/net5.0-windows/Microsoft.Extensions.DependencyInjection.Abstractions.dll
  22. BIN
      bookstore/bin/Debug/net5.0-windows/Microsoft.Extensions.DependencyInjection.dll
  23. BIN
      bookstore/bin/Debug/net5.0-windows/Microsoft.Extensions.Logging.Abstractions.dll
  24. BIN
      bookstore/bin/Debug/net5.0-windows/Microsoft.Extensions.Logging.dll
  25. BIN
      bookstore/bin/Debug/net5.0-windows/Microsoft.Extensions.Options.dll
  26. BIN
      bookstore/bin/Debug/net5.0-windows/Microsoft.Extensions.Primitives.dll
  27. BIN
      bookstore/bin/Debug/net5.0-windows/Microsoft.Identity.Client.dll
  28. BIN
      bookstore/bin/Debug/net5.0-windows/Microsoft.IdentityModel.JsonWebTokens.dll
  29. BIN
      bookstore/bin/Debug/net5.0-windows/Microsoft.IdentityModel.Logging.dll
  30. BIN
      bookstore/bin/Debug/net5.0-windows/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
  31. BIN
      bookstore/bin/Debug/net5.0-windows/Microsoft.IdentityModel.Protocols.dll
  32. BIN
      bookstore/bin/Debug/net5.0-windows/Microsoft.IdentityModel.Tokens.dll
  33. BIN
      bookstore/bin/Debug/net5.0-windows/Newtonsoft.Json.dll
  34. BIN
      bookstore/bin/Debug/net5.0-windows/System.Diagnostics.DiagnosticSource.dll
  35. BIN
      bookstore/bin/Debug/net5.0-windows/System.IdentityModel.Tokens.Jwt.dll
  36. BIN
      bookstore/bin/Debug/net5.0-windows/System.Runtime.Caching.dll
  37. 1635 0
      bookstore/bin/Debug/net5.0-windows/bookstore.deps.json
  38. BIN
      bookstore/bin/Debug/net5.0-windows/bookstore.dll
  39. 6 0
      bookstore/bin/Debug/net5.0-windows/bookstore.dll.config
  40. BIN
      bookstore/bin/Debug/net5.0-windows/bookstore.exe
  41. BIN
      bookstore/bin/Debug/net5.0-windows/bookstore.pdb
  42. 10 0
      bookstore/bin/Debug/net5.0-windows/bookstore.runtimeconfig.dev.json
  43. 9 0
      bookstore/bin/Debug/net5.0-windows/bookstore.runtimeconfig.json
  44. BIN
      bookstore/bin/Debug/net5.0-windows/ref/bookstore.dll
  45. BIN
      bookstore/bin/Debug/net5.0-windows/runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll
  46. BIN
      bookstore/bin/Debug/net5.0-windows/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll
  47. BIN
      bookstore/bin/Debug/net5.0-windows/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.pdb
  48. BIN
      bookstore/bin/Debug/net5.0-windows/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll
  49. BIN
      bookstore/bin/Debug/net5.0-windows/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.pdb
  50. BIN
      bookstore/bin/Debug/net5.0-windows/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll
  51. BIN
      bookstore/bin/Debug/net5.0-windows/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.pdb
  52. BIN
      bookstore/bin/Debug/net5.0-windows/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll
  53. BIN
      bookstore/bin/Debug/net5.0-windows/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.pdb
  54. BIN
      bookstore/bin/Debug/net5.0-windows/runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll
  55. BIN
      bookstore/bin/Debug/net5.0-windows/runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll
  56. 17 0
      bookstore/book.cs
  57. 14 0
      bookstore/bookstore.csproj
  58. 14 0
      bookstore/bookstore.csproj.user
  59. 4 0
      bookstore/obj/Debug/net5.0-windows/.NETCoreApp,Version=v5.0.AssemblyAttributes.cs
  60. 71 0
      bookstore/obj/Debug/net5.0-windows/App.g.cs
  61. 71 0
      bookstore/obj/Debug/net5.0-windows/App.g.i.cs
  62. BIN
      bookstore/obj/Debug/net5.0-windows/MainWindow.baml
  63. 191 0
      bookstore/obj/Debug/net5.0-windows/MainWindow.g.cs
  64. 191 0
      bookstore/obj/Debug/net5.0-windows/MainWindow.g.i.cs
  65. BIN
      bookstore/obj/Debug/net5.0-windows/apphost.exe
  66. 25 0
      bookstore/obj/Debug/net5.0-windows/bookstore.AssemblyInfo.cs
  67. 1 0
      bookstore/obj/Debug/net5.0-windows/bookstore.AssemblyInfoInputs.cache
  68. 10 0
      bookstore/obj/Debug/net5.0-windows/bookstore.GeneratedMSBuildEditorConfig.editorconfig
  69. BIN
      bookstore/obj/Debug/net5.0-windows/bookstore.assets.cache
  70. BIN
      bookstore/obj/Debug/net5.0-windows/bookstore.csproj.AssemblyReference.cache
  71. 0 0
      bookstore/obj/Debug/net5.0-windows/bookstore.csproj.CopyComplete
  72. 1 0
      bookstore/obj/Debug/net5.0-windows/bookstore.csproj.CoreCompileInputs.cache
  73. 59 0
      bookstore/obj/Debug/net5.0-windows/bookstore.csproj.FileListAbsolute.txt
  74. 2004 0
      bookstore/obj/Debug/net5.0-windows/bookstore.designer.deps.json
  75. 18 0
      bookstore/obj/Debug/net5.0-windows/bookstore.designer.runtimeconfig.json
  76. BIN
      bookstore/obj/Debug/net5.0-windows/bookstore.dll
  77. BIN
      bookstore/obj/Debug/net5.0-windows/bookstore.g.resources
  78. 1 0
      bookstore/obj/Debug/net5.0-windows/bookstore.genruntimeconfig.cache
  79. BIN
      bookstore/obj/Debug/net5.0-windows/bookstore.pdb
  80. 20 0
      bookstore/obj/Debug/net5.0-windows/bookstore_MarkupCompile.cache
  81. 20 0
      bookstore/obj/Debug/net5.0-windows/bookstore_MarkupCompile.i.cache
  82. 4 0
      bookstore/obj/Debug/net5.0-windows/bookstore_MarkupCompile.i.lref
  83. 4 0
      bookstore/obj/Debug/net5.0-windows/bookstore_MarkupCompile.lref
  84. BIN
      bookstore/obj/Debug/net5.0-windows/ref/bookstore.dll
  85. 4 0
      bookstore/obj/Release/net5.0-windows/.NETCoreApp,Version=v5.0.AssemblyAttributes.cs
  86. 71 0
      bookstore/obj/Release/net5.0-windows/App.g.cs
  87. 191 0
      bookstore/obj/Release/net5.0-windows/MainWindow.g.cs
  88. 25 0
      bookstore/obj/Release/net5.0-windows/bookstore.AssemblyInfo.cs
  89. 1 0
      bookstore/obj/Release/net5.0-windows/bookstore.AssemblyInfoInputs.cache
  90. 10 0
      bookstore/obj/Release/net5.0-windows/bookstore.GeneratedMSBuildEditorConfig.editorconfig
  91. BIN
      bookstore/obj/Release/net5.0-windows/bookstore.assets.cache
  92. 20 0
      bookstore/obj/Release/net5.0-windows/bookstore_MarkupCompile.cache
  93. 4 0
      bookstore/obj/Release/net5.0-windows/bookstore_MarkupCompile.lref
  94. 25 0
      bookstore/obj/Release/net5.0-windows/bookstore_dzfpr0zm_wpftmp.AssemblyInfo.cs
  95. 1 0
      bookstore/obj/Release/net5.0-windows/bookstore_dzfpr0zm_wpftmp.AssemblyInfoInputs.cache
  96. 10 0
      bookstore/obj/Release/net5.0-windows/bookstore_dzfpr0zm_wpftmp.GeneratedMSBuildEditorConfig.editorconfig
  97. BIN
      bookstore/obj/Release/net5.0-windows/bookstore_dzfpr0zm_wpftmp.assets.cache
  98. 20 0
      bookstore/obj/Release/net5.0-windows/bookstore_dzfpr0zm_wpftmp_MarkupCompile.cache
  99. 4 0
      bookstore/obj/Release/net5.0-windows/bookstore_dzfpr0zm_wpftmp_MarkupCompile.lref
  100. 0 0
      bookstore/obj/bookstore.csproj.nuget.dgspec.json

+ 7 - 0
.vs/VSWorkspaceState.json

@@ -0,0 +1,7 @@
+{
+  "ExpandedNodes": [
+    ""
+  ],
+  "SelectedNode": "\\bookstore.sln",
+  "PreviewInSolutionExplorer": false
+}

BIN
.vs/bookstore/DesignTimeBuild/.dtbcache.v2


BIN
.vs/bookstore/v16/.suo


BIN
.vs/slnx.sqlite


+ 25 - 0
bookstore.sln

@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.31605.320
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "bookstore", "bookstore\bookstore.csproj", "{6394C936-6286-4E4F-9500-BEA5C8532CA8}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{6394C936-6286-4E4F-9500-BEA5C8532CA8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{6394C936-6286-4E4F-9500-BEA5C8532CA8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{6394C936-6286-4E4F-9500-BEA5C8532CA8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{6394C936-6286-4E4F-9500-BEA5C8532CA8}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+	GlobalSection(ExtensibilityGlobals) = postSolution
+		SolutionGuid = {AA340B77-8F07-4DD1-A4A1-237149CADB1B}
+	EndGlobalSection
+EndGlobal

+ 6 - 0
bookstore/App.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+	<connectionStrings>
+		<add name="gr601_benan" connectionString="Data Source=mssql;Initial Catalog=gr601_benan;Integrated Security=True"/>
+	</connectionStrings>
+</configuration>

+ 9 - 0
bookstore/App.xaml

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

+ 17 - 0
bookstore/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 bookstore
+{
+    /// <summary>
+    /// Interaction logic for App.xaml
+    /// </summary>
+    public partial class App : Application
+    {
+    }
+}

+ 10 - 0
bookstore/AssemblyInfo.cs

@@ -0,0 +1,10 @@
+using System.Windows;
+
+[assembly: ThemeInfo(
+    ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
+                                     //(used if a resource is not found in the page,
+                                     // or application resource dictionaries)
+    ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
+                                              //(used if a resource is not found in the page,
+                                              // app, or any theme specific resource dictionaries)
+)]

+ 23 - 0
bookstore/BookStoreContext.cs

@@ -0,0 +1,23 @@
+using Microsoft.EntityFrameworkCore;
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace bookstore
+{
+    class BookStoreContext: DbContext
+    {
+        public DbSet<book> Books { get; set; }
+        public BookStoreContext()
+        {
+
+        }
+        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
+        {
+            optionsBuilder.UseSqlServer(ConfigurationManager.ConnectionStrings["gr601_benan"].ConnectionString);
+        }
+    }
+}

+ 51 - 0
bookstore/MainWindow.xaml

@@ -0,0 +1,51 @@
+<Window x:Class="bookstore.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:bookstore"
+        mc:Ignorable="d"
+        Title="MainWindow" Height="450" Width="800">
+    <Grid>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition/>
+            <ColumnDefinition/>
+        </Grid.ColumnDefinitions>
+        <Grid.RowDefinitions>
+            <RowDefinition Height="50"/>
+            <RowDefinition/>
+        </Grid.RowDefinitions>
+        <DataGrid Grid.Row="1" SelectionChanged="BooksGrid_SelectionChanged" Name="BooksGrid" AutoGenerateColumns="False" IsReadOnly="True" ColumnWidth="*">
+            <DataGrid.Columns>
+                <DataGridTextColumn Header="Наименование" Binding="{Binding Name}"></DataGridTextColumn>
+                <DataGridTextColumn Header="Цена" Binding="{Binding Price}"></DataGridTextColumn>
+                <DataGridTextColumn Header="Категория" Binding="{Binding Category}"></DataGridTextColumn>
+                <DataGridTextColumn Header="Автор" Binding="{Binding Author}"></DataGridTextColumn>
+            </DataGrid.Columns>
+        </DataGrid>
+        <Button Height="30" Width="150" Name="BtnDelete" Click="BtnDelete_Click" HorizontalAlignment="Left" Content="Удалить"></Button>
+        <Grid Grid.Column="1" Grid.Row="1">
+            <Grid.ColumnDefinitions>
+                <ColumnDefinition/>
+                <ColumnDefinition/>
+            </Grid.ColumnDefinitions>
+            <Grid.RowDefinitions>
+                <RowDefinition/>
+                <RowDefinition/>
+                <RowDefinition/>
+                <RowDefinition/>
+                <RowDefinition/>
+            </Grid.RowDefinitions>
+            <TextBlock Text="Наименование" HorizontalAlignment="Right" VerticalAlignment="Center"></TextBlock>
+            <TextBlock Text="Цена" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Row="1"></TextBlock>
+            <TextBlock Text="Категория" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Row="2"></TextBlock>
+            <TextBlock Text="Автор" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Row="3"></TextBlock>
+            <TextBox Grid.Column="1" VerticalAlignment="Center" Name="TbName"></TextBox>
+            <TextBox Grid.Column="1" VerticalAlignment="Center" Name="TbPrice" Grid.Row="1"></TextBox>
+            <TextBox Grid.Column="1" VerticalAlignment="Center" Name="TbCategoty" Grid.Row="2"></TextBox>
+            <TextBox Grid.Column="1" VerticalAlignment="Center" Name="TbAuthor" Grid.Row="3"></TextBox>
+            <Button Grid.Row="4" Name="BtnInsert" Click="BtnInsert_Click" Height="30" Width="150" Content="Добавить"></Button>
+            <Button Grid.Column="1" Grid.Row="4" Name="BtnUpdate" Click="BtnUpdate_Click" Height="30" Width="150" Content="Обновить"></Button>
+        </Grid> 
+    </Grid>
+</Window>

+ 80 - 0
bookstore/MainWindow.xaml.cs

@@ -0,0 +1,80 @@
+using System.Linq;
+using System.Windows;
+using System.Windows.Controls;
+
+namespace bookstore
+{
+    /// <summary>
+    /// Interaction logic for MainWindow.xaml
+    /// </summary>
+    public partial class MainWindow : Window
+    {
+        private BookStoreContext _context;
+        public MainWindow()
+        {
+            InitializeComponent();
+            _context = new BookStoreContext();
+            Load();
+        }
+        private void Load()
+        {
+            BooksGrid.ItemsSource = _context.Books.ToList();
+        }
+        private void BtnInsert_Click(object sender, RoutedEventArgs e)
+        {
+            if(!decimal.TryParse(TbPrice.Text, out decimal price))
+            {
+                return;
+            }
+            book book = new()
+            {
+                Name = TbName.Text,
+                Price = price,
+                Author = TbAuthor.Text,
+                Category = TbCategoty.Text,
+            };
+            _context.Books.Add(book);
+            _context.SaveChanges();
+            Load();
+        }
+
+        private void BtnUpdate_Click(object sender, RoutedEventArgs e)
+        {
+            if(BooksGrid.SelectedItem is book selectedBook)
+            {
+                if (!decimal.TryParse(TbPrice.Text, out decimal price))
+                {
+                    return;
+                }
+                selectedBook.Name = TbName.Text;
+                selectedBook.Price = price;
+                selectedBook.Author = TbAuthor.Text;
+                selectedBook.Category = TbCategoty.Text;
+                _context.SaveChanges();
+                Load();
+            }
+        }
+
+        private void BtnDelete_Click(object sender, RoutedEventArgs e)
+        {
+            if(BooksGrid.SelectedItem is book selectedBook)
+            {
+                _context.Books.Remove(selectedBook);
+                _context.SaveChanges();
+                Load();
+            }
+        }
+
+        private void BooksGrid_SelectionChanged(object sender, SelectionChangedEventArgs e)
+        {
+            if(BooksGrid.SelectedItem is book selectedBook)
+            {
+                TbName.Text = selectedBook.Name;
+                TbPrice.Text = selectedBook.Price.ToString();
+                TbAuthor.Text = selectedBook.Author;
+                TbCategoty.Text = selectedBook.Category;
+            }
+        }
+        
+    }
+}

BIN
bookstore/bin/Debug/net5.0-windows/Microsoft.Data.SqlClient.dll


BIN
bookstore/bin/Debug/net5.0-windows/Microsoft.EntityFrameworkCore.Abstractions.dll


BIN
bookstore/bin/Debug/net5.0-windows/Microsoft.EntityFrameworkCore.Relational.dll


BIN
bookstore/bin/Debug/net5.0-windows/Microsoft.EntityFrameworkCore.SqlServer.dll


BIN
bookstore/bin/Debug/net5.0-windows/Microsoft.EntityFrameworkCore.dll


BIN
bookstore/bin/Debug/net5.0-windows/Microsoft.Extensions.Caching.Abstractions.dll


BIN
bookstore/bin/Debug/net5.0-windows/Microsoft.Extensions.Caching.Memory.dll


BIN
bookstore/bin/Debug/net5.0-windows/Microsoft.Extensions.Configuration.Abstractions.dll


BIN
bookstore/bin/Debug/net5.0-windows/Microsoft.Extensions.DependencyInjection.Abstractions.dll


BIN
bookstore/bin/Debug/net5.0-windows/Microsoft.Extensions.DependencyInjection.dll


BIN
bookstore/bin/Debug/net5.0-windows/Microsoft.Extensions.Logging.Abstractions.dll


BIN
bookstore/bin/Debug/net5.0-windows/Microsoft.Extensions.Logging.dll


BIN
bookstore/bin/Debug/net5.0-windows/Microsoft.Extensions.Options.dll


BIN
bookstore/bin/Debug/net5.0-windows/Microsoft.Extensions.Primitives.dll


BIN
bookstore/bin/Debug/net5.0-windows/Microsoft.Identity.Client.dll


BIN
bookstore/bin/Debug/net5.0-windows/Microsoft.IdentityModel.JsonWebTokens.dll


BIN
bookstore/bin/Debug/net5.0-windows/Microsoft.IdentityModel.Logging.dll


BIN
bookstore/bin/Debug/net5.0-windows/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll


BIN
bookstore/bin/Debug/net5.0-windows/Microsoft.IdentityModel.Protocols.dll


BIN
bookstore/bin/Debug/net5.0-windows/Microsoft.IdentityModel.Tokens.dll


BIN
bookstore/bin/Debug/net5.0-windows/Newtonsoft.Json.dll


BIN
bookstore/bin/Debug/net5.0-windows/System.Diagnostics.DiagnosticSource.dll


BIN
bookstore/bin/Debug/net5.0-windows/System.IdentityModel.Tokens.Jwt.dll


BIN
bookstore/bin/Debug/net5.0-windows/System.Runtime.Caching.dll


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1635 - 0
bookstore/bin/Debug/net5.0-windows/bookstore.deps.json


BIN
bookstore/bin/Debug/net5.0-windows/bookstore.dll


+ 6 - 0
bookstore/bin/Debug/net5.0-windows/bookstore.dll.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+	<connectionStrings>
+		<add name="gr601_benan" connectionString="Data Source=mssql;Initial Catalog=gr601_benan;Integrated Security=True"/>
+	</connectionStrings>
+</configuration>

BIN
bookstore/bin/Debug/net5.0-windows/bookstore.exe


BIN
bookstore/bin/Debug/net5.0-windows/bookstore.pdb


+ 10 - 0
bookstore/bin/Debug/net5.0-windows/bookstore.runtimeconfig.dev.json

@@ -0,0 +1,10 @@
+{
+  "runtimeOptions": {
+    "additionalProbingPaths": [
+      "C:\\Users\\gr601_benan\\.dotnet\\store\\|arch|\\|tfm|",
+      "C:\\Users\\gr601_benan\\.nuget\\packages",
+      "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
+      "C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet"
+    ]
+  }
+}

+ 9 - 0
bookstore/bin/Debug/net5.0-windows/bookstore.runtimeconfig.json

@@ -0,0 +1,9 @@
+{
+  "runtimeOptions": {
+    "tfm": "net5.0",
+    "framework": {
+      "name": "Microsoft.WindowsDesktop.App",
+      "version": "5.0.0"
+    }
+  }
+}

BIN
bookstore/bin/Debug/net5.0-windows/ref/bookstore.dll


BIN
bookstore/bin/Debug/net5.0-windows/runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll


BIN
bookstore/bin/Debug/net5.0-windows/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll


BIN
bookstore/bin/Debug/net5.0-windows/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.pdb


BIN
bookstore/bin/Debug/net5.0-windows/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll


BIN
bookstore/bin/Debug/net5.0-windows/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.pdb


BIN
bookstore/bin/Debug/net5.0-windows/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll


BIN
bookstore/bin/Debug/net5.0-windows/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.pdb


BIN
bookstore/bin/Debug/net5.0-windows/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll


BIN
bookstore/bin/Debug/net5.0-windows/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.pdb


BIN
bookstore/bin/Debug/net5.0-windows/runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll


BIN
bookstore/bin/Debug/net5.0-windows/runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll


+ 17 - 0
bookstore/book.cs

@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace bookstore
+{
+    class book
+    {
+        public int Id { get; set; }
+        public string Name { get; set; }
+        public decimal Price { get; set; }
+        public string Category { get; set; }
+        public string Author { get; set; }
+    }
+}

+ 14 - 0
bookstore/bookstore.csproj

@@ -0,0 +1,14 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+  <PropertyGroup>
+    <OutputType>WinExe</OutputType>
+    <TargetFramework>net5.0-windows</TargetFramework>
+    <UseWPF>true</UseWPF>
+  </PropertyGroup>
+
+  <ItemGroup>
+    <PackageReference Include="Microsoft.EntityFrameworkCore" Version="5.0.9" />
+    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="5.0.9" />
+  </ItemGroup>
+
+</Project>

+ 14 - 0
bookstore/bookstore.csproj.user

@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup />
+  <ItemGroup>
+    <ApplicationDefinition Update="App.xaml">
+      <SubType>Designer</SubType>
+    </ApplicationDefinition>
+  </ItemGroup>
+  <ItemGroup>
+    <Page Update="MainWindow.xaml">
+      <SubType>Designer</SubType>
+    </Page>
+  </ItemGroup>
+</Project>

+ 4 - 0
bookstore/obj/Debug/net5.0-windows/.NETCoreApp,Version=v5.0.AssemblyAttributes.cs

@@ -0,0 +1,4 @@
+// <autogenerated />
+using System;
+using System.Reflection;
+[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")]

+ 71 - 0
bookstore/obj/Debug/net5.0-windows/App.g.cs

@@ -0,0 +1,71 @@
+#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4504D684D2C53EB079D0547C9CAEC047681DFDB2"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using bookstore;
+
+
+namespace bookstore {
+    
+    
+    /// <summary>
+    /// App
+    /// </summary>
+    public partial class App : System.Windows.Application {
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
+        public void InitializeComponent() {
+            
+            #line 5 "..\..\..\App.xaml"
+            this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
+            
+            #line default
+            #line hidden
+        }
+        
+        /// <summary>
+        /// Application Entry Point.
+        /// </summary>
+        [System.STAThreadAttribute()]
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
+        public static void Main() {
+            bookstore.App app = new bookstore.App();
+            app.InitializeComponent();
+            app.Run();
+        }
+    }
+}
+

+ 71 - 0
bookstore/obj/Debug/net5.0-windows/App.g.i.cs

@@ -0,0 +1,71 @@
+#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4504D684D2C53EB079D0547C9CAEC047681DFDB2"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using bookstore;
+
+
+namespace bookstore {
+    
+    
+    /// <summary>
+    /// App
+    /// </summary>
+    public partial class App : System.Windows.Application {
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
+        public void InitializeComponent() {
+            
+            #line 5 "..\..\..\App.xaml"
+            this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
+            
+            #line default
+            #line hidden
+        }
+        
+        /// <summary>
+        /// Application Entry Point.
+        /// </summary>
+        [System.STAThreadAttribute()]
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
+        public static void Main() {
+            bookstore.App app = new bookstore.App();
+            app.InitializeComponent();
+            app.Run();
+        }
+    }
+}
+

BIN
bookstore/obj/Debug/net5.0-windows/MainWindow.baml


+ 191 - 0
bookstore/obj/Debug/net5.0-windows/MainWindow.g.cs

@@ -0,0 +1,191 @@
+#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4F089684AD0ECDF50B68C1DABEA79567E42D49CF"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using bookstore;
+
+
+namespace bookstore {
+    
+    
+    /// <summary>
+    /// MainWindow
+    /// </summary>
+    public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 18 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.DataGrid BooksGrid;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 26 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button BtnDelete;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 43 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TbName;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 44 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TbPrice;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 45 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TbCategoty;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 46 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TbAuthor;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 47 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button BtnInsert;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 48 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button BtnUpdate;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/bookstore;component/mainwindow.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\MainWindow.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.BooksGrid = ((System.Windows.Controls.DataGrid)(target));
+            
+            #line 18 "..\..\..\MainWindow.xaml"
+            this.BooksGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.BooksGrid_SelectionChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            this.BtnDelete = ((System.Windows.Controls.Button)(target));
+            
+            #line 26 "..\..\..\MainWindow.xaml"
+            this.BtnDelete.Click += new System.Windows.RoutedEventHandler(this.BtnDelete_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            this.TbName = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 4:
+            this.TbPrice = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 5:
+            this.TbCategoty = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 6:
+            this.TbAuthor = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 7:
+            this.BtnInsert = ((System.Windows.Controls.Button)(target));
+            
+            #line 47 "..\..\..\MainWindow.xaml"
+            this.BtnInsert.Click += new System.Windows.RoutedEventHandler(this.BtnInsert_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 8:
+            this.BtnUpdate = ((System.Windows.Controls.Button)(target));
+            
+            #line 48 "..\..\..\MainWindow.xaml"
+            this.BtnUpdate.Click += new System.Windows.RoutedEventHandler(this.BtnUpdate_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 191 - 0
bookstore/obj/Debug/net5.0-windows/MainWindow.g.i.cs

@@ -0,0 +1,191 @@
+#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4F089684AD0ECDF50B68C1DABEA79567E42D49CF"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using bookstore;
+
+
+namespace bookstore {
+    
+    
+    /// <summary>
+    /// MainWindow
+    /// </summary>
+    public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 18 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.DataGrid BooksGrid;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 26 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button BtnDelete;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 43 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TbName;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 44 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TbPrice;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 45 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TbCategoty;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 46 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TbAuthor;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 47 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button BtnInsert;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 48 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button BtnUpdate;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/bookstore;component/mainwindow.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\MainWindow.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.BooksGrid = ((System.Windows.Controls.DataGrid)(target));
+            
+            #line 18 "..\..\..\MainWindow.xaml"
+            this.BooksGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.BooksGrid_SelectionChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            this.BtnDelete = ((System.Windows.Controls.Button)(target));
+            
+            #line 26 "..\..\..\MainWindow.xaml"
+            this.BtnDelete.Click += new System.Windows.RoutedEventHandler(this.BtnDelete_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            this.TbName = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 4:
+            this.TbPrice = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 5:
+            this.TbCategoty = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 6:
+            this.TbAuthor = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 7:
+            this.BtnInsert = ((System.Windows.Controls.Button)(target));
+            
+            #line 47 "..\..\..\MainWindow.xaml"
+            this.BtnInsert.Click += new System.Windows.RoutedEventHandler(this.BtnInsert_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 8:
+            this.BtnUpdate = ((System.Windows.Controls.Button)(target));
+            
+            #line 48 "..\..\..\MainWindow.xaml"
+            this.BtnUpdate.Click += new System.Windows.RoutedEventHandler(this.BtnUpdate_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

BIN
bookstore/obj/Debug/net5.0-windows/apphost.exe


+ 25 - 0
bookstore/obj/Debug/net5.0-windows/bookstore.AssemblyInfo.cs

@@ -0,0 +1,25 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+
+[assembly: System.Reflection.AssemblyCompanyAttribute("bookstore")]
+[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
+[assembly: System.Reflection.AssemblyProductAttribute("bookstore")]
+[assembly: System.Reflection.AssemblyTitleAttribute("bookstore")]
+[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
+[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
+[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
+
+// Создано классом WriteCodeFragment MSBuild.
+

+ 1 - 0
bookstore/obj/Debug/net5.0-windows/bookstore.AssemblyInfoInputs.cache

@@ -0,0 +1 @@
+4b4168567872406c249efe3aafe2d9df26556e23

+ 10 - 0
bookstore/obj/Debug/net5.0-windows/bookstore.GeneratedMSBuildEditorConfig.editorconfig

@@ -0,0 +1,10 @@
+is_global = true
+build_property.TargetFramework = net5.0-windows
+build_property.TargetPlatformMinVersion = 7.0
+build_property.UsingMicrosoftNETSdkWeb = 
+build_property.ProjectTypeGuids = 
+build_property.PublishSingleFile = 
+build_property.IncludeAllContentForSelfExtract = 
+build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows
+build_property.RootNamespace = bookstore
+build_property.ProjectDir = Z:\2kurs\TIS\bookstore\bookstore\

BIN
bookstore/obj/Debug/net5.0-windows/bookstore.assets.cache


BIN
bookstore/obj/Debug/net5.0-windows/bookstore.csproj.AssemblyReference.cache


+ 0 - 0
bookstore/obj/Debug/net5.0-windows/bookstore.csproj.CopyComplete


+ 1 - 0
bookstore/obj/Debug/net5.0-windows/bookstore.csproj.CoreCompileInputs.cache

@@ -0,0 +1 @@
+d47f13c71cd5b25b7492f706f0ed2e0f15bf75ef

+ 59 - 0
bookstore/obj/Debug/net5.0-windows/bookstore.csproj.FileListAbsolute.txt

@@ -0,0 +1,59 @@
+Z:\2kurs\TIS\bookstore\bookstore\obj\Debug\net5.0-windows\bookstore.csproj.AssemblyReference.cache
+Z:\2kurs\TIS\bookstore\bookstore\obj\Debug\net5.0-windows\MainWindow.g.cs
+Z:\2kurs\TIS\bookstore\bookstore\obj\Debug\net5.0-windows\App.g.cs
+Z:\2kurs\TIS\bookstore\bookstore\obj\Debug\net5.0-windows\bookstore_MarkupCompile.cache
+Z:\2kurs\TIS\bookstore\bookstore\obj\Debug\net5.0-windows\bookstore_MarkupCompile.lref
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\bookstore.exe
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\bookstore.dll.config
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\bookstore.deps.json
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\bookstore.runtimeconfig.json
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\bookstore.runtimeconfig.dev.json
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\bookstore.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\ref\bookstore.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\bookstore.pdb
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\Microsoft.Data.SqlClient.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\Microsoft.EntityFrameworkCore.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\Microsoft.EntityFrameworkCore.Abstractions.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\Microsoft.EntityFrameworkCore.Relational.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\Microsoft.EntityFrameworkCore.SqlServer.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\Microsoft.Extensions.Caching.Abstractions.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\Microsoft.Extensions.Caching.Memory.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\Microsoft.Extensions.Configuration.Abstractions.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\Microsoft.Extensions.DependencyInjection.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\Microsoft.Extensions.DependencyInjection.Abstractions.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\Microsoft.Extensions.Logging.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\Microsoft.Extensions.Logging.Abstractions.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\Microsoft.Extensions.Options.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\Microsoft.Extensions.Primitives.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\Microsoft.Identity.Client.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\Microsoft.IdentityModel.JsonWebTokens.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\Microsoft.IdentityModel.Logging.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\Microsoft.IdentityModel.Protocols.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\Microsoft.IdentityModel.Tokens.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\Newtonsoft.Json.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\System.Diagnostics.DiagnosticSource.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\System.IdentityModel.Tokens.Jwt.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\System.Runtime.Caching.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\runtimes\unix\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\runtimes\win\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\runtimes\win-arm\native\Microsoft.Data.SqlClient.SNI.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\runtimes\win-arm\native\Microsoft.Data.SqlClient.SNI.pdb
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\runtimes\win-arm64\native\Microsoft.Data.SqlClient.SNI.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\runtimes\win-arm64\native\Microsoft.Data.SqlClient.SNI.pdb
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\runtimes\win-x64\native\Microsoft.Data.SqlClient.SNI.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\runtimes\win-x64\native\Microsoft.Data.SqlClient.SNI.pdb
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\runtimes\win-x86\native\Microsoft.Data.SqlClient.SNI.dll
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\runtimes\win-x86\native\Microsoft.Data.SqlClient.SNI.pdb
+Z:\2kurs\TIS\bookstore\bookstore\bin\Debug\net5.0-windows\runtimes\win\lib\netstandard2.0\System.Runtime.Caching.dll
+Z:\2kurs\TIS\bookstore\bookstore\obj\Debug\net5.0-windows\MainWindow.baml
+Z:\2kurs\TIS\bookstore\bookstore\obj\Debug\net5.0-windows\bookstore.g.resources
+Z:\2kurs\TIS\bookstore\bookstore\obj\Debug\net5.0-windows\bookstore.GeneratedMSBuildEditorConfig.editorconfig
+Z:\2kurs\TIS\bookstore\bookstore\obj\Debug\net5.0-windows\bookstore.AssemblyInfoInputs.cache
+Z:\2kurs\TIS\bookstore\bookstore\obj\Debug\net5.0-windows\bookstore.AssemblyInfo.cs
+Z:\2kurs\TIS\bookstore\bookstore\obj\Debug\net5.0-windows\bookstore.csproj.CoreCompileInputs.cache
+Z:\2kurs\TIS\bookstore\bookstore\obj\Debug\net5.0-windows\bookstore.csproj.CopyComplete
+Z:\2kurs\TIS\bookstore\bookstore\obj\Debug\net5.0-windows\bookstore.dll
+Z:\2kurs\TIS\bookstore\bookstore\obj\Debug\net5.0-windows\ref\bookstore.dll
+Z:\2kurs\TIS\bookstore\bookstore\obj\Debug\net5.0-windows\bookstore.pdb
+Z:\2kurs\TIS\bookstore\bookstore\obj\Debug\net5.0-windows\bookstore.genruntimeconfig.cache

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2004 - 0
bookstore/obj/Debug/net5.0-windows/bookstore.designer.deps.json


+ 18 - 0
bookstore/obj/Debug/net5.0-windows/bookstore.designer.runtimeconfig.json

@@ -0,0 +1,18 @@
+{
+  "runtimeOptions": {
+    "tfm": "net5.0",
+    "framework": {
+      "name": "Microsoft.WindowsDesktop.App",
+      "version": "5.0.0"
+    },
+    "additionalProbingPaths": [
+      "C:\\Users\\gr601_benan\\.dotnet\\store\\|arch|\\|tfm|",
+      "C:\\Users\\gr601_benan\\.nuget\\packages",
+      "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
+      "C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet"
+    ],
+    "configProperties": {
+      "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true
+    }
+  }
+}

BIN
bookstore/obj/Debug/net5.0-windows/bookstore.dll


BIN
bookstore/obj/Debug/net5.0-windows/bookstore.g.resources


+ 1 - 0
bookstore/obj/Debug/net5.0-windows/bookstore.genruntimeconfig.cache

@@ -0,0 +1 @@
+5a7aa46ef66ff90d5277af13a2d2402835a430a5

BIN
bookstore/obj/Debug/net5.0-windows/bookstore.pdb


+ 20 - 0
bookstore/obj/Debug/net5.0-windows/bookstore_MarkupCompile.cache

@@ -0,0 +1,20 @@
+bookstore
+
+
+winexe
+C#
+.cs
+Z:\2kurs\TIS\bookstore\bookstore\obj\Debug\net5.0-windows\
+bookstore
+none
+false
+TRACE;DEBUG;NET;NET5_0;NETCOREAPP
+Z:\2kurs\TIS\bookstore\bookstore\App.xaml
+11407045341
+
+5-1592642927
+214-605069306
+MainWindow.xaml;
+
+False
+

+ 20 - 0
bookstore/obj/Debug/net5.0-windows/bookstore_MarkupCompile.i.cache

@@ -0,0 +1,20 @@
+bookstore
+1.0.0.0
+
+winexe
+C#
+.cs
+Z:\2kurs\TIS\bookstore\bookstore\obj\Debug\net5.0-windows\
+bookstore
+none
+false
+TRACE;DEBUG;NET;NET5_0;NETCOREAPP
+Z:\2kurs\TIS\bookstore\bookstore\App.xaml
+11407045341
+
+7-1481710567
+214-605069306
+MainWindow.xaml;
+
+True
+

+ 4 - 0
bookstore/obj/Debug/net5.0-windows/bookstore_MarkupCompile.i.lref

@@ -0,0 +1,4 @@
+
+
+FZ:\2kurs\TIS\bookstore\bookstore\MainWindow.xaml;;
+

+ 4 - 0
bookstore/obj/Debug/net5.0-windows/bookstore_MarkupCompile.lref

@@ -0,0 +1,4 @@
+
+
+FZ:\2kurs\TIS\bookstore\bookstore\MainWindow.xaml;;
+

BIN
bookstore/obj/Debug/net5.0-windows/ref/bookstore.dll


+ 4 - 0
bookstore/obj/Release/net5.0-windows/.NETCoreApp,Version=v5.0.AssemblyAttributes.cs

@@ -0,0 +1,4 @@
+// <autogenerated />
+using System;
+using System.Reflection;
+[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")]

+ 71 - 0
bookstore/obj/Release/net5.0-windows/App.g.cs

@@ -0,0 +1,71 @@
+#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4504D684D2C53EB079D0547C9CAEC047681DFDB2"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using bookstore;
+
+
+namespace bookstore {
+    
+    
+    /// <summary>
+    /// App
+    /// </summary>
+    public partial class App : System.Windows.Application {
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
+        public void InitializeComponent() {
+            
+            #line 5 "..\..\..\App.xaml"
+            this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
+            
+            #line default
+            #line hidden
+        }
+        
+        /// <summary>
+        /// Application Entry Point.
+        /// </summary>
+        [System.STAThreadAttribute()]
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
+        public static void Main() {
+            bookstore.App app = new bookstore.App();
+            app.InitializeComponent();
+            app.Run();
+        }
+    }
+}
+

+ 191 - 0
bookstore/obj/Release/net5.0-windows/MainWindow.g.cs

@@ -0,0 +1,191 @@
+#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4F089684AD0ECDF50B68C1DABEA79567E42D49CF"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Controls.Ribbon;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+using bookstore;
+
+
+namespace bookstore {
+    
+    
+    /// <summary>
+    /// MainWindow
+    /// </summary>
+    public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 18 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.DataGrid BooksGrid;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 26 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button BtnDelete;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 43 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TbName;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 44 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TbPrice;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 45 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TbCategoty;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 46 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TbAuthor;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 47 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button BtnInsert;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 48 "..\..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button BtnUpdate;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/bookstore_dzfpr0zm_wpftmp;component/mainwindow.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\..\MainWindow.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.9.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.BooksGrid = ((System.Windows.Controls.DataGrid)(target));
+            
+            #line 18 "..\..\..\MainWindow.xaml"
+            this.BooksGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.BooksGrid_SelectionChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            this.BtnDelete = ((System.Windows.Controls.Button)(target));
+            
+            #line 26 "..\..\..\MainWindow.xaml"
+            this.BtnDelete.Click += new System.Windows.RoutedEventHandler(this.BtnDelete_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            this.TbName = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 4:
+            this.TbPrice = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 5:
+            this.TbCategoty = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 6:
+            this.TbAuthor = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 7:
+            this.BtnInsert = ((System.Windows.Controls.Button)(target));
+            
+            #line 47 "..\..\..\MainWindow.xaml"
+            this.BtnInsert.Click += new System.Windows.RoutedEventHandler(this.BtnInsert_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 8:
+            this.BtnUpdate = ((System.Windows.Controls.Button)(target));
+            
+            #line 48 "..\..\..\MainWindow.xaml"
+            this.BtnUpdate.Click += new System.Windows.RoutedEventHandler(this.BtnUpdate_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 25 - 0
bookstore/obj/Release/net5.0-windows/bookstore.AssemblyInfo.cs

@@ -0,0 +1,25 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+
+[assembly: System.Reflection.AssemblyCompanyAttribute("bookstore")]
+[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
+[assembly: System.Reflection.AssemblyProductAttribute("bookstore")]
+[assembly: System.Reflection.AssemblyTitleAttribute("bookstore")]
+[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
+[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
+[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
+
+// Создано классом WriteCodeFragment MSBuild.
+

+ 1 - 0
bookstore/obj/Release/net5.0-windows/bookstore.AssemblyInfoInputs.cache

@@ -0,0 +1 @@
+d8d08918c84c1eaabd3bce408075f279541898af

+ 10 - 0
bookstore/obj/Release/net5.0-windows/bookstore.GeneratedMSBuildEditorConfig.editorconfig

@@ -0,0 +1,10 @@
+is_global = true
+build_property.TargetFramework = net5.0-windows
+build_property.TargetPlatformMinVersion = 7.0
+build_property.UsingMicrosoftNETSdkWeb = 
+build_property.ProjectTypeGuids = 
+build_property.PublishSingleFile = 
+build_property.IncludeAllContentForSelfExtract = 
+build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows
+build_property.RootNamespace = bookstore
+build_property.ProjectDir = Z:\2kurs\TIS\bookstore\bookstore\

BIN
bookstore/obj/Release/net5.0-windows/bookstore.assets.cache


+ 20 - 0
bookstore/obj/Release/net5.0-windows/bookstore_MarkupCompile.cache

@@ -0,0 +1,20 @@
+bookstore
+
+
+winexe
+C#
+.cs
+Z:\2kurs\TIS\bookstore\bookstore\obj\Release\net5.0-windows\
+bookstore
+none
+false
+TRACE;RELEASE;NET;NET5_0;NETCOREAPP
+Z:\2kurs\TIS\bookstore\bookstore\App.xaml
+11407045341
+
+5-1592642927
+214-605069306
+MainWindow.xaml;
+
+True
+

+ 4 - 0
bookstore/obj/Release/net5.0-windows/bookstore_MarkupCompile.lref

@@ -0,0 +1,4 @@
+
+
+FZ:\2kurs\TIS\bookstore\bookstore\MainWindow.xaml;;
+

+ 25 - 0
bookstore/obj/Release/net5.0-windows/bookstore_dzfpr0zm_wpftmp.AssemblyInfo.cs

@@ -0,0 +1,25 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+
+[assembly: System.Reflection.AssemblyCompanyAttribute("bookstore_dzfpr0zm_wpftmp")]
+[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
+[assembly: System.Reflection.AssemblyProductAttribute("bookstore_dzfpr0zm_wpftmp")]
+[assembly: System.Reflection.AssemblyTitleAttribute("bookstore_dzfpr0zm_wpftmp")]
+[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
+[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
+[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
+
+// Создано классом WriteCodeFragment MSBuild.
+

+ 1 - 0
bookstore/obj/Release/net5.0-windows/bookstore_dzfpr0zm_wpftmp.AssemblyInfoInputs.cache

@@ -0,0 +1 @@
+56823d8757b93e6348fff329323373d74d4b0433

+ 10 - 0
bookstore/obj/Release/net5.0-windows/bookstore_dzfpr0zm_wpftmp.GeneratedMSBuildEditorConfig.editorconfig

@@ -0,0 +1,10 @@
+is_global = true
+build_property.TargetFramework = net5.0-windows
+build_property.TargetPlatformMinVersion = 7.0
+build_property.UsingMicrosoftNETSdkWeb = 
+build_property.ProjectTypeGuids = 
+build_property.PublishSingleFile = 
+build_property.IncludeAllContentForSelfExtract = 
+build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows
+build_property.RootNamespace = bookstore_dzfpr0zm_wpftmp
+build_property.ProjectDir = Z:\2kurs\TIS\bookstore\bookstore\

BIN
bookstore/obj/Release/net5.0-windows/bookstore_dzfpr0zm_wpftmp.assets.cache


+ 20 - 0
bookstore/obj/Release/net5.0-windows/bookstore_dzfpr0zm_wpftmp_MarkupCompile.cache

@@ -0,0 +1,20 @@
+bookstore_dzfpr0zm_wpftmp
+
+
+winexe
+C#
+.cs
+Z:\2kurs\TIS\bookstore\bookstore\obj\Release\net5.0-windows\
+bookstore_dzfpr0zm_wpftmp
+none
+false
+TRACE;RELEASE;NET;NET5_0;NETCOREAPP
+Z:\2kurs\TIS\bookstore\bookstore\App.xaml
+11407045341
+
+7543240573
+428-1210138612
+MainWindow.xaml;
+
+True
+

+ 4 - 0
bookstore/obj/Release/net5.0-windows/bookstore_dzfpr0zm_wpftmp_MarkupCompile.lref

@@ -0,0 +1,4 @@
+
+
+FZ:\2kurs\TIS\bookstore\bookstore\MainWindow.xaml;;
+

+ 0 - 0
bookstore/obj/bookstore.csproj.nuget.dgspec.json


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.