Косарев Андрей Иванович %!s(int64=3) %!d(string=hai) anos
achega
7b693d68c4
Modificáronse 100 ficheiros con 6557 adicións e 0 borrados
  1. BIN=BIN
      .vs/BookStore/DesignTimeBuild/.dtbcache.v2
  2. BIN=BIN
      .vs/BookStore/v16/.suo
  3. 25 0
      BookStore.sln
  4. 6 0
      WpfApp2/App.config
  5. 9 0
      WpfApp2/App.xaml
  6. 16 0
      WpfApp2/App.xaml.cs
  7. 10 0
      WpfApp2/AssemblyInfo.cs
  8. 15 0
      WpfApp2/Book.cs
  9. 14 0
      WpfApp2/BookStore.csproj
  10. 14 0
      WpfApp2/BookStore.csproj.user
  11. 21 0
      WpfApp2/BookStoreContext.cs
  12. 51 0
      WpfApp2/MainWindow.xaml
  13. 89 0
      WpfApp2/MainWindow.xaml.cs
  14. 1635 0
      WpfApp2/bin/Debug/net5.0-windows/BookStore.deps.json
  15. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/BookStore.dll
  16. 6 0
      WpfApp2/bin/Debug/net5.0-windows/BookStore.dll.config
  17. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/BookStore.exe
  18. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/BookStore.pdb
  19. 10 0
      WpfApp2/bin/Debug/net5.0-windows/BookStore.runtimeconfig.dev.json
  20. 9 0
      WpfApp2/bin/Debug/net5.0-windows/BookStore.runtimeconfig.json
  21. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/Microsoft.Data.SqlClient.dll
  22. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/Microsoft.EntityFrameworkCore.Abstractions.dll
  23. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/Microsoft.EntityFrameworkCore.Relational.dll
  24. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/Microsoft.EntityFrameworkCore.SqlServer.dll
  25. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/Microsoft.EntityFrameworkCore.dll
  26. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/Microsoft.Extensions.Caching.Abstractions.dll
  27. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/Microsoft.Extensions.Caching.Memory.dll
  28. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/Microsoft.Extensions.Configuration.Abstractions.dll
  29. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/Microsoft.Extensions.DependencyInjection.Abstractions.dll
  30. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/Microsoft.Extensions.DependencyInjection.dll
  31. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/Microsoft.Extensions.Logging.Abstractions.dll
  32. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/Microsoft.Extensions.Logging.dll
  33. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/Microsoft.Extensions.Options.dll
  34. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/Microsoft.Extensions.Primitives.dll
  35. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/Microsoft.Identity.Client.dll
  36. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/Microsoft.IdentityModel.JsonWebTokens.dll
  37. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/Microsoft.IdentityModel.Logging.dll
  38. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
  39. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/Microsoft.IdentityModel.Protocols.dll
  40. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/Microsoft.IdentityModel.Tokens.dll
  41. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/Newtonsoft.Json.dll
  42. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/System.Diagnostics.DiagnosticSource.dll
  43. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/System.IdentityModel.Tokens.Jwt.dll
  44. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/System.Runtime.Caching.dll
  45. 1635 0
      WpfApp2/bin/Debug/net5.0-windows/WpfApp2.deps.json
  46. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/WpfApp2.dll
  47. 6 0
      WpfApp2/bin/Debug/net5.0-windows/WpfApp2.dll.config
  48. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/WpfApp2.exe
  49. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/WpfApp2.pdb
  50. 10 0
      WpfApp2/bin/Debug/net5.0-windows/WpfApp2.runtimeconfig.dev.json
  51. 9 0
      WpfApp2/bin/Debug/net5.0-windows/WpfApp2.runtimeconfig.json
  52. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/ref/BookStore.dll
  53. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/ref/WpfApp2.dll
  54. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll
  55. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll
  56. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.pdb
  57. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll
  58. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.pdb
  59. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll
  60. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.pdb
  61. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll
  62. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.pdb
  63. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll
  64. BIN=BIN
      WpfApp2/bin/Debug/net5.0-windows/runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll
  65. 81 0
      WpfApp2/obj/BookS.csproj.nuget.dgspec.json
  66. 23 0
      WpfApp2/obj/BookS.csproj.nuget.g.props
  67. 6 0
      WpfApp2/obj/BookS.csproj.nuget.g.targets
  68. 81 0
      WpfApp2/obj/BookStore.csproj.nuget.dgspec.json
  69. 23 0
      WpfApp2/obj/BookStore.csproj.nuget.g.props
  70. 6 0
      WpfApp2/obj/BookStore.csproj.nuget.g.targets
  71. 4 0
      WpfApp2/obj/Debug/net5.0-windows/.NETCoreApp,Version=v5.0.AssemblyAttributes.cs
  72. 71 0
      WpfApp2/obj/Debug/net5.0-windows/App.g.cs
  73. 71 0
      WpfApp2/obj/Debug/net5.0-windows/App.g.i.cs
  74. 25 0
      WpfApp2/obj/Debug/net5.0-windows/BookS.AssemblyInfo.cs
  75. 1 0
      WpfApp2/obj/Debug/net5.0-windows/BookS.AssemblyInfoInputs.cache
  76. 10 0
      WpfApp2/obj/Debug/net5.0-windows/BookS.GeneratedMSBuildEditorConfig.editorconfig
  77. BIN=BIN
      WpfApp2/obj/Debug/net5.0-windows/BookS.assets.cache
  78. BIN=BIN
      WpfApp2/obj/Debug/net5.0-windows/BookS.csproj.AssemblyReference.cache
  79. 2004 0
      WpfApp2/obj/Debug/net5.0-windows/BookS.designer.deps.json
  80. 18 0
      WpfApp2/obj/Debug/net5.0-windows/BookS.designer.runtimeconfig.json
  81. 20 0
      WpfApp2/obj/Debug/net5.0-windows/BookS_MarkupCompile.i.cache
  82. 25 0
      WpfApp2/obj/Debug/net5.0-windows/BookStore.AssemblyInfo.cs
  83. 1 0
      WpfApp2/obj/Debug/net5.0-windows/BookStore.AssemblyInfoInputs.cache
  84. 10 0
      WpfApp2/obj/Debug/net5.0-windows/BookStore.GeneratedMSBuildEditorConfig.editorconfig
  85. BIN=BIN
      WpfApp2/obj/Debug/net5.0-windows/BookStore.assets.cache
  86. BIN=BIN
      WpfApp2/obj/Debug/net5.0-windows/BookStore.csproj.AssemblyReference.cache
  87. 0 0
      WpfApp2/obj/Debug/net5.0-windows/BookStore.csproj.CopyComplete
  88. 1 0
      WpfApp2/obj/Debug/net5.0-windows/BookStore.csproj.CoreCompileInputs.cache
  89. 59 0
      WpfApp2/obj/Debug/net5.0-windows/BookStore.csproj.FileListAbsolute.txt
  90. BIN=BIN
      WpfApp2/obj/Debug/net5.0-windows/BookStore.dll
  91. BIN=BIN
      WpfApp2/obj/Debug/net5.0-windows/BookStore.g.resources
  92. 1 0
      WpfApp2/obj/Debug/net5.0-windows/BookStore.genruntimeconfig.cache
  93. BIN=BIN
      WpfApp2/obj/Debug/net5.0-windows/BookStore.pdb
  94. 20 0
      WpfApp2/obj/Debug/net5.0-windows/BookStore_MarkupCompile.cache
  95. 20 0
      WpfApp2/obj/Debug/net5.0-windows/BookStore_MarkupCompile.i.cache
  96. 4 0
      WpfApp2/obj/Debug/net5.0-windows/BookStore_MarkupCompile.lref
  97. BIN=BIN
      WpfApp2/obj/Debug/net5.0-windows/MainWindow.baml
  98. 191 0
      WpfApp2/obj/Debug/net5.0-windows/MainWindow.g.cs
  99. 191 0
      WpfApp2/obj/Debug/net5.0-windows/MainWindow.g.i.cs
  100. 0 0
      WpfApp2/obj/Debug/net5.0-windows/WpfApp2.AssemblyInfo.cs

BIN=BIN
.vs/BookStore/DesignTimeBuild/.dtbcache.v2


BIN=BIN
.vs/BookStore/v16/.suo


+ 25 - 0
BookStore.sln

@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.31019.35
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BookStore", "WpfApp2\BookStore.csproj", "{54B6703E-2ACC-4D3E-9355-059ABE99955D}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{54B6703E-2ACC-4D3E-9355-059ABE99955D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{54B6703E-2ACC-4D3E-9355-059ABE99955D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{54B6703E-2ACC-4D3E-9355-059ABE99955D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{54B6703E-2ACC-4D3E-9355-059ABE99955D}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+	GlobalSection(ExtensibilityGlobals) = postSolution
+		SolutionGuid = {74115872-69DF-40FD-8DE0-C34AB42B79EF}
+	EndGlobalSection
+EndGlobal

+ 6 - 0
WpfApp2/App.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+	<connectionStrings>
+		<add name="gr606_koaiv" connectionString="Server=mssql; Database=gr606_koaiv;Trusted_Connection=True"/>
+	</connectionStrings>
+</configuration>

+ 9 - 0
WpfApp2/App.xaml

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

+ 16 - 0
WpfApp2/App.xaml.cs

@@ -0,0 +1,16 @@
+using Microsoft.EntityFrameworkCore;
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows;
+
+namespace WpfApp1
+{
+    public partial class App : Application
+    {
+        
+    }
+}

+ 10 - 0
WpfApp2/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)
+)]

+ 15 - 0
WpfApp2/Book.cs

@@ -0,0 +1,15 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace WpfApp1
+{
+    public 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
WpfApp2/BookStore.csproj

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

+ 14 - 0
WpfApp2/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>

+ 21 - 0
WpfApp2/BookStoreContext.cs

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

+ 51 - 0
WpfApp2/MainWindow.xaml

@@ -0,0 +1,51 @@
+<Window x:Class="WpfApp1.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:WpfApp1"
+        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="BookGrid_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="TbCategory" 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>

+ 89 - 0
WpfApp2/MainWindow.xaml.cs

@@ -0,0 +1,89 @@
+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 WpfApp1
+{
+    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 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 = TbCategory.Text;
+                _context.SaveChanges();
+                Load();
+            }
+        }
+
+        private void BookGrid_SelectionChanged(object sender, SelectionChangedEventArgs e)
+        {
+            if (BooksGrid.SelectedItem is Book selectedBook)
+            {
+                TbName.Text = selectedBook.Name;
+                TbPrice.Text = selectedBook.Price.ToString();
+                TbAuthor.Text = selectedBook.Author;
+                TbCategory.Text = selectedBook.Category;
+            }
+        }
+
+        private void BtnDelete_Click(object sender, RoutedEventArgs e)
+        {
+            if (BooksGrid.SelectedItem is Book selectedBook)
+            {
+                _context.Books.Remove(selectedBook);
+                _context.SaveChanges();
+                Load();
+            }
+        }
+
+        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 = TbCategory.Text,
+            };
+            _context.Books.Add(book);
+            _context.SaveChanges();
+            Load();
+        }
+    }
+}

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1635 - 0
WpfApp2/bin/Debug/net5.0-windows/BookStore.deps.json


BIN=BIN
WpfApp2/bin/Debug/net5.0-windows/BookStore.dll


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

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+	<connectionStrings>
+		<add name="gr606_koaiv" connectionString="Server=mssql; Database=gr606_koaiv;Trusted_Connection=True"/>
+	</connectionStrings>
+</configuration>

BIN=BIN
WpfApp2/bin/Debug/net5.0-windows/BookStore.exe


BIN=BIN
WpfApp2/bin/Debug/net5.0-windows/BookStore.pdb


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

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

+ 9 - 0
WpfApp2/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=BIN
WpfApp2/bin/Debug/net5.0-windows/Microsoft.Data.SqlClient.dll


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1635 - 0
WpfApp2/bin/Debug/net5.0-windows/WpfApp2.deps.json


BIN=BIN
WpfApp2/bin/Debug/net5.0-windows/WpfApp2.dll


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

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+	<connectionStrings>
+		<add name="gr606_koaiv" connectionString="Server=mssql; Database=gr606_koaiv;Trusted_Connection=True"/>
+	</connectionStrings>
+</configuration>

BIN=BIN
WpfApp2/bin/Debug/net5.0-windows/WpfApp2.exe


BIN=BIN
WpfApp2/bin/Debug/net5.0-windows/WpfApp2.pdb


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

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

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

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

BIN=BIN
WpfApp2/bin/Debug/net5.0-windows/ref/BookStore.dll


BIN=BIN
WpfApp2/bin/Debug/net5.0-windows/ref/WpfApp2.dll


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


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


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


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


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


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


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


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


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


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


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


+ 81 - 0
WpfApp2/obj/BookS.csproj.nuget.dgspec.json

@@ -0,0 +1,81 @@
+{
+  "format": 1,
+  "restore": {
+    "C:\\Users\\gr606_koaiv\\Desktop\\SQLKOSAREV\\WpfApp2\\BookS.csproj": {}
+  },
+  "projects": {
+    "C:\\Users\\gr606_koaiv\\Desktop\\SQLKOSAREV\\WpfApp2\\BookS.csproj": {
+      "version": "1.0.0",
+      "restore": {
+        "projectUniqueName": "C:\\Users\\gr606_koaiv\\Desktop\\SQLKOSAREV\\WpfApp2\\BookS.csproj",
+        "projectName": "BookS",
+        "projectPath": "C:\\Users\\gr606_koaiv\\Desktop\\SQLKOSAREV\\WpfApp2\\BookS.csproj",
+        "packagesPath": "C:\\Users\\gr606_koaiv\\.nuget\\packages\\",
+        "outputPath": "C:\\Users\\gr606_koaiv\\Desktop\\SQLKOSAREV\\WpfApp2\\obj\\",
+        "projectStyle": "PackageReference",
+        "fallbackFolders": [
+          "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
+          "C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\"
+        ],
+        "configFilePaths": [
+          "C:\\Users\\gr606_koaiv\\AppData\\Roaming\\NuGet\\NuGet.Config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
+        ],
+        "originalTargetFrameworks": [
+          "net5.0-windows7.0"
+        ],
+        "sources": {
+          "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+          "https://api.nuget.org/v3/index.json": {}
+        },
+        "frameworks": {
+          "net5.0-windows7.0": {
+            "targetAlias": "net5.0-windows",
+            "projectReferences": {}
+          }
+        },
+        "warningProperties": {
+          "warnAsError": [
+            "NU1605"
+          ]
+        }
+      },
+      "frameworks": {
+        "net5.0-windows7.0": {
+          "targetAlias": "net5.0-windows",
+          "dependencies": {
+            "Microsoft.EntityFrameworkCore": {
+              "target": "Package",
+              "version": "[5.0.11, )"
+            },
+            "Microsoft.EntityFrameworkCore.SqlServer": {
+              "target": "Package",
+              "version": "[5.0.11, )"
+            }
+          },
+          "imports": [
+            "net461",
+            "net462",
+            "net47",
+            "net471",
+            "net472",
+            "net48"
+          ],
+          "assetTargetFallback": true,
+          "warn": true,
+          "frameworkReferences": {
+            "Microsoft.NETCore.App": {
+              "privateAssets": "all"
+            },
+            "Microsoft.WindowsDesktop.App.WPF": {
+              "privateAssets": "none"
+            }
+          },
+          "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.400\\RuntimeIdentifierGraph.json"
+        }
+      }
+    }
+  }
+}

+ 23 - 0
WpfApp2/obj/BookS.csproj.nuget.g.props

@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
+    <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
+    <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
+    <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
+    <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\gr606_koaiv\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages;C:\Program Files (x86)\Microsoft\Xamarin\NuGet\</NuGetPackageFolders>
+    <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
+    <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.11.0</NuGetToolVersion>
+  </PropertyGroup>
+  <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <SourceRoot Include="C:\Users\gr606_koaiv\.nuget\packages\" />
+    <SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
+    <SourceRoot Include="C:\Program Files (x86)\Microsoft\Xamarin\NuGet\" />
+  </ItemGroup>
+  <PropertyGroup>
+    <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <PkgNewtonsoft_Json Condition=" '$(PkgNewtonsoft_Json)' == '' ">C:\Users\gr606_koaiv\.nuget\packages\newtonsoft.json\10.0.1</PkgNewtonsoft_Json>
+  </PropertyGroup>
+</Project>

+ 6 - 0
WpfApp2/obj/BookS.csproj.nuget.g.targets

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
+  </PropertyGroup>
+</Project>

+ 81 - 0
WpfApp2/obj/BookStore.csproj.nuget.dgspec.json

@@ -0,0 +1,81 @@
+{
+  "format": 1,
+  "restore": {
+    "C:\\Users\\gr606_koaiv\\Desktop\\SQLKOSAREV\\WpfApp2\\BookStore.csproj": {}
+  },
+  "projects": {
+    "C:\\Users\\gr606_koaiv\\Desktop\\SQLKOSAREV\\WpfApp2\\BookStore.csproj": {
+      "version": "1.0.0",
+      "restore": {
+        "projectUniqueName": "C:\\Users\\gr606_koaiv\\Desktop\\SQLKOSAREV\\WpfApp2\\BookStore.csproj",
+        "projectName": "BookStore",
+        "projectPath": "C:\\Users\\gr606_koaiv\\Desktop\\SQLKOSAREV\\WpfApp2\\BookStore.csproj",
+        "packagesPath": "C:\\Users\\gr606_koaiv\\.nuget\\packages\\",
+        "outputPath": "C:\\Users\\gr606_koaiv\\Desktop\\SQLKOSAREV\\WpfApp2\\obj\\",
+        "projectStyle": "PackageReference",
+        "fallbackFolders": [
+          "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
+          "C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\"
+        ],
+        "configFilePaths": [
+          "C:\\Users\\gr606_koaiv\\AppData\\Roaming\\NuGet\\NuGet.Config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
+        ],
+        "originalTargetFrameworks": [
+          "net5.0-windows7.0"
+        ],
+        "sources": {
+          "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+          "https://api.nuget.org/v3/index.json": {}
+        },
+        "frameworks": {
+          "net5.0-windows7.0": {
+            "targetAlias": "net5.0-windows",
+            "projectReferences": {}
+          }
+        },
+        "warningProperties": {
+          "warnAsError": [
+            "NU1605"
+          ]
+        }
+      },
+      "frameworks": {
+        "net5.0-windows7.0": {
+          "targetAlias": "net5.0-windows",
+          "dependencies": {
+            "Microsoft.EntityFrameworkCore": {
+              "target": "Package",
+              "version": "[5.0.11, )"
+            },
+            "Microsoft.EntityFrameworkCore.SqlServer": {
+              "target": "Package",
+              "version": "[5.0.11, )"
+            }
+          },
+          "imports": [
+            "net461",
+            "net462",
+            "net47",
+            "net471",
+            "net472",
+            "net48"
+          ],
+          "assetTargetFallback": true,
+          "warn": true,
+          "frameworkReferences": {
+            "Microsoft.NETCore.App": {
+              "privateAssets": "all"
+            },
+            "Microsoft.WindowsDesktop.App.WPF": {
+              "privateAssets": "none"
+            }
+          },
+          "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.400\\RuntimeIdentifierGraph.json"
+        }
+      }
+    }
+  }
+}

+ 23 - 0
WpfApp2/obj/BookStore.csproj.nuget.g.props

@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
+    <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
+    <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
+    <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
+    <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\gr606_koaiv\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages;C:\Program Files (x86)\Microsoft\Xamarin\NuGet\</NuGetPackageFolders>
+    <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
+    <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.11.0</NuGetToolVersion>
+  </PropertyGroup>
+  <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <SourceRoot Include="C:\Users\gr606_koaiv\.nuget\packages\" />
+    <SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
+    <SourceRoot Include="C:\Program Files (x86)\Microsoft\Xamarin\NuGet\" />
+  </ItemGroup>
+  <PropertyGroup>
+    <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <PkgNewtonsoft_Json Condition=" '$(PkgNewtonsoft_Json)' == '' ">C:\Users\gr606_koaiv\.nuget\packages\newtonsoft.json\10.0.1</PkgNewtonsoft_Json>
+  </PropertyGroup>
+</Project>

+ 6 - 0
WpfApp2/obj/BookStore.csproj.nuget.g.targets

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
+  </PropertyGroup>
+</Project>

+ 4 - 0
WpfApp2/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
WpfApp2/obj/Debug/net5.0-windows/App.g.cs

@@ -0,0 +1,71 @@
+#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "9A1AEA03F3802522DBC247BE94D0DA72B6668DC1"
+//------------------------------------------------------------------------------
+// <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 WpfApp1;
+
+
+namespace WpfApp1 {
+    
+    
+    /// <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() {
+            WpfApp1.App app = new WpfApp1.App();
+            app.InitializeComponent();
+            app.Run();
+        }
+    }
+}
+

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

@@ -0,0 +1,71 @@
+#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "9A1AEA03F3802522DBC247BE94D0DA72B6668DC1"
+//------------------------------------------------------------------------------
+// <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 WpfApp1;
+
+
+namespace WpfApp1 {
+    
+    
+    /// <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() {
+            WpfApp1.App app = new WpfApp1.App();
+            app.InitializeComponent();
+            app.Run();
+        }
+    }
+}
+

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

@@ -0,0 +1,25 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+
+[assembly: System.Reflection.AssemblyCompanyAttribute("BookS")]
+[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
+[assembly: System.Reflection.AssemblyProductAttribute("BookS")]
+[assembly: System.Reflection.AssemblyTitleAttribute("BookS")]
+[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
WpfApp2/obj/Debug/net5.0-windows/BookS.AssemblyInfoInputs.cache

@@ -0,0 +1 @@
+1a26ab14d2a8e5e02d6c1065c5a37b7b80eab906

+ 10 - 0
WpfApp2/obj/Debug/net5.0-windows/BookS.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 = BookS
+build_property.ProjectDir = C:\Users\gr606_koaiv\Desktop\SQLKOSAREV\WpfApp2\

BIN=BIN
WpfApp2/obj/Debug/net5.0-windows/BookS.assets.cache


BIN=BIN
WpfApp2/obj/Debug/net5.0-windows/BookS.csproj.AssemblyReference.cache


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 2004 - 0
WpfApp2/obj/Debug/net5.0-windows/BookS.designer.deps.json


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

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

+ 20 - 0
WpfApp2/obj/Debug/net5.0-windows/BookS_MarkupCompile.i.cache

@@ -0,0 +1,20 @@
+BookS
+1.0.0.0
+
+winexe
+C#
+.cs
+C:\Users\gr606_koaiv\Desktop\SQLKOSAREV\WpfApp2\obj\Debug\net5.0-windows\
+BookS
+none
+false
+TRACE;DEBUG;NET;NET5_0;NETCOREAPP
+C:\Users\gr606_koaiv\Desktop\SQLKOSAREV\WpfApp2\App.xaml
+11407045341
+
+72147774
+214-746615750
+MainWindow.xaml;
+
+False
+

+ 25 - 0
WpfApp2/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
WpfApp2/obj/Debug/net5.0-windows/BookStore.AssemblyInfoInputs.cache

@@ -0,0 +1 @@
+1f48aec2f49e279a7ccbd99c7df013df7eb6182b

+ 10 - 0
WpfApp2/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 = C:\Users\gr606_koaiv\Desktop\SQLKOSAREV\WpfApp2\

BIN=BIN
WpfApp2/obj/Debug/net5.0-windows/BookStore.assets.cache


BIN=BIN
WpfApp2/obj/Debug/net5.0-windows/BookStore.csproj.AssemblyReference.cache


+ 0 - 0
WpfApp2/obj/Debug/net5.0-windows/BookStore.csproj.CopyComplete


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

@@ -0,0 +1 @@
+6e0e11084b749a2e1136e93b86dc077551b15573

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

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

BIN=BIN
WpfApp2/obj/Debug/net5.0-windows/BookStore.dll


BIN=BIN
WpfApp2/obj/Debug/net5.0-windows/BookStore.g.resources


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

@@ -0,0 +1 @@
+2cf23040be4f479cbc2aec1e574e4bb8da4d3c8f

BIN=BIN
WpfApp2/obj/Debug/net5.0-windows/BookStore.pdb


+ 20 - 0
WpfApp2/obj/Debug/net5.0-windows/BookStore_MarkupCompile.cache

@@ -0,0 +1,20 @@
+BookStore
+
+
+winexe
+C#
+.cs
+C:\Users\gr606_koaiv\Desktop\SQLKOSAREV\WpfApp2\obj\Debug\net5.0-windows\
+BookStore
+none
+false
+TRACE;DEBUG;NET;NET5_0;NETCOREAPP
+C:\Users\gr606_koaiv\Desktop\SQLKOSAREV\WpfApp2\App.xaml
+11407045341
+
+5-1592641807
+214-746615750
+MainWindow.xaml;
+
+False
+

+ 20 - 0
WpfApp2/obj/Debug/net5.0-windows/BookStore_MarkupCompile.i.cache

@@ -0,0 +1,20 @@
+BookStore
+1.0.0.0
+
+winexe
+C#
+.cs
+C:\Users\gr606_koaiv\Desktop\SQLKOSAREV\WpfApp2\obj\Debug\net5.0-windows\
+BookStore
+none
+false
+TRACE;DEBUG;NET;NET5_0;NETCOREAPP
+C:\Users\gr606_koaiv\Desktop\SQLKOSAREV\WpfApp2\App.xaml
+11407045341
+
+71108505322
+214-746615750
+MainWindow.xaml;
+
+False
+

+ 4 - 0
WpfApp2/obj/Debug/net5.0-windows/BookStore_MarkupCompile.lref

@@ -0,0 +1,4 @@
+
+
+FC:\Users\gr606_koaiv\Desktop\SQLKOSAREV\WpfApp2\MainWindow.xaml;;
+

BIN=BIN
WpfApp2/obj/Debug/net5.0-windows/MainWindow.baml


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

@@ -0,0 +1,191 @@
+#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "DDD07C48717A0DEE3603E1EC48F027DD5F707C80"
+//------------------------------------------------------------------------------
+// <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 WpfApp1;
+
+
+namespace WpfApp1 {
+    
+    
+    /// <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 TbCategory;
+        
+        #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.BookGrid_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.TbCategory = ((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
WpfApp2/obj/Debug/net5.0-windows/MainWindow.g.i.cs

@@ -0,0 +1,191 @@
+#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "DDD07C48717A0DEE3603E1EC48F027DD5F707C80"
+//------------------------------------------------------------------------------
+// <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 WpfApp1;
+
+
+namespace WpfApp1 {
+    
+    
+    /// <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 TbCategory;
+        
+        #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.BookGrid_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.TbCategory = ((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;
+        }
+    }
+}
+

+ 0 - 0
WpfApp2/obj/Debug/net5.0-windows/WpfApp2.AssemblyInfo.cs


Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio