diff --git a/Lab_rab_1.1_Kirichenko/MainWindow.xaml b/Lab_rab_1.1_Kirichenko/MainWindow.xaml
deleted file mode 100644
index 3091bde..0000000
--- a/Lab_rab_1.1_Kirichenko/MainWindow.xaml
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Lab_rab_1.1_Kirichenko/MainWindow.xaml.cs b/Lab_rab_1.1_Kirichenko/MainWindow.xaml.cs
deleted file mode 100644
index 388580f..0000000
--- a/Lab_rab_1.1_Kirichenko/MainWindow.xaml.cs
+++ /dev/null
@@ -1,70 +0,0 @@
-using System;
-using System.Windows;
-using System.Windows.Input;
-
-namespace Lab_rab_1._1_Kirichenko
-{
- public partial class MainWindow : Window
- {
- public MainWindow()
- {
- InitializeComponent();
- }
- private void CalculateButton_Click(object sender, RoutedEventArgs e)
- {
-
- if (string.IsNullOrWhiteSpace(BookPagesTextBox.Text) || string.IsNullOrWhiteSpace(BookPriceTextBox.Text))
- {
-
- return;
- }
- string name = BookNameTextBox.Text;
- int pages = int.Parse(BookPagesTextBox.Text);
- decimal price = decimal.Parse(BookPriceTextBox.Text);
- bool isProgrammingBook = name.StartsWith("Программирование", StringComparison.OrdinalIgnoreCase);
- if (isProgrammingBook)
- {
- price *= 2;
- }
- decimal averagePageCost = (pages > 0) ? price / pages : 0;
-
- string result = "";
- if (isProgrammingBook)
- {
- result += $"Цена удвоена.\nНовая цена: {price:C}\n";
- }
-
- result += $"Средняя стоимость страницы: {averagePageCost:C}";
-
- ResultsTextBlock.Text = result;
- }
- private void BookPagesTextBox_PreviewTextInput(object sender, TextCompositionEventArgs e)
- {
- if (!char.IsDigit(e.Text, e.Text.Length - 1))
- {
- e.Handled = true;
- }
- }
- private void BookPriceTextBox_PreviewTextInput(object sender, TextCompositionEventArgs e)
- {
- if (!char.IsDigit(e.Text, e.Text.Length - 1) && e.Text != "," && e.Text != ".")
- {
- e.Handled = true;
- }
- }
- private void BookPagesTextBox_PreviewKeyDown(object sender, KeyEventArgs e)
- {
- if (e.Key == Key.Space)
- {
- e.Handled = true;
- }
- }
- private void BookPriceTextBox_PreviewKeyDown(object sender, KeyEventArgs e)
- {
- if (e.Key == Key.Space)
- {
- e.Handled = true;
- }
- }
- }
-}
\ No newline at end of file
diff --git a/Lab_rab_1.1_Kirichenko.sln b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko.sln
similarity index 56%
rename from Lab_rab_1.1_Kirichenko.sln
rename to Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko.sln
index be25b31..7fe3f3f 100644
--- a/Lab_rab_1.1_Kirichenko.sln
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko.sln
@@ -1,22 +1,22 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 17
-VisualStudioVersion = 17.12.35707.178 d17.12
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lab_rab_1.1_Kirichenko", "Lab_rab_1.1_Kirichenko\Lab_rab_1.1_Kirichenko.csproj", "{09BD7C5C-BAAE-4EFB-8D3F-CF2D671B78B5}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {09BD7C5C-BAAE-4EFB-8D3F-CF2D671B78B5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {09BD7C5C-BAAE-4EFB-8D3F-CF2D671B78B5}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {09BD7C5C-BAAE-4EFB-8D3F-CF2D671B78B5}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {09BD7C5C-BAAE-4EFB-8D3F-CF2D671B78B5}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.12.35707.178 d17.12
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lab_rab_1.2_Kirichenko", "Lab_rab_1.2_Kirichenko\Lab_rab_1.2_Kirichenko.csproj", "{E96A520F-A272-45B7-B363-FAD971FB1E1E}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {E96A520F-A272-45B7-B363-FAD971FB1E1E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E96A520F-A272-45B7-B363-FAD971FB1E1E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E96A520F-A272-45B7-B363-FAD971FB1E1E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E96A520F-A272-45B7-B363-FAD971FB1E1E}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/Lab_rab_1.1_Kirichenko/App.config b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/App.config
similarity index 97%
rename from Lab_rab_1.1_Kirichenko/App.config
rename to Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/App.config
index 56efbc7..5754728 100644
--- a/Lab_rab_1.1_Kirichenko/App.config
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/App.config
@@ -1,6 +1,6 @@
-
-
-
-
-
+
+
+
+
+
\ No newline at end of file
diff --git a/Lab_rab_1.1_Kirichenko/App.xaml b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/App.xaml
similarity index 68%
rename from Lab_rab_1.1_Kirichenko/App.xaml
rename to Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/App.xaml
index 078cd50..e0b9b0f 100644
--- a/Lab_rab_1.1_Kirichenko/App.xaml
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/App.xaml
@@ -1,9 +1,9 @@
-
-
-
-
-
+
+
+
+
+
diff --git a/Lab_rab_1.1_Kirichenko/App.xaml.cs b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/App.xaml.cs
similarity index 86%
rename from Lab_rab_1.1_Kirichenko/App.xaml.cs
rename to Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/App.xaml.cs
index 930463c..65bc1aa 100644
--- a/Lab_rab_1.1_Kirichenko/App.xaml.cs
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/App.xaml.cs
@@ -1,17 +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 Lab_rab_1._1_Kirichenko
-{
- ///
- /// Логика взаимодействия для App.xaml
- ///
- public partial class App : Application
- {
- }
-}
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows;
+
+namespace Lab_rab_1._2_Kirichenko
+{
+ ///
+ /// Логика взаимодействия для App.xaml
+ ///
+ public partial class App : Application
+ {
+ }
+}
diff --git a/Lab_rab_1.1_Kirichenko/Lab_rab_1.1_Kirichenko.csproj b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko.csproj
similarity index 92%
rename from Lab_rab_1.1_Kirichenko/Lab_rab_1.1_Kirichenko.csproj
rename to Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko.csproj
index 60a48f3..a49911a 100644
--- a/Lab_rab_1.1_Kirichenko/Lab_rab_1.1_Kirichenko.csproj
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko.csproj
@@ -1,98 +1,99 @@
-
-
-
-
- Debug
- AnyCPU
- {09BD7C5C-BAAE-4EFB-8D3F-CF2D671B78B5}
- WinExe
- Lab_rab_1._1_Kirichenko
- Lab_rab_1.1_Kirichenko
- v4.7.2
- 512
- {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- 4
- true
- true
-
-
- AnyCPU
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- AnyCPU
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
-
-
-
-
-
-
-
-
-
- 4.0
-
-
-
-
-
-
-
- MSBuild:Compile
- Designer
-
-
- MSBuild:Compile
- Designer
-
-
- App.xaml
- Code
-
-
- MainWindow.xaml
- Code
-
-
-
-
- Code
-
-
- True
- True
- Resources.resx
-
-
- True
- Settings.settings
- True
-
-
- ResXFileCodeGenerator
- Resources.Designer.cs
-
-
- SettingsSingleFileGenerator
- Settings.Designer.cs
-
-
-
-
-
-
+
+
+
+
+ Debug
+ AnyCPU
+ {E96A520F-A272-45B7-B363-FAD971FB1E1E}
+ WinExe
+ Lab_rab_1._2_Kirichenko
+ Lab_rab_1.2_Kirichenko
+ v4.7.2
+ 512
+ {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ 4
+ true
+ true
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+ 4.0
+
+
+
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+
+
+ App.xaml
+ Code
+
+
+
+ MainWindow.xaml
+ Code
+
+
+
+
+ Code
+
+
+ True
+ True
+ Resources.resx
+
+
+ True
+ Settings.settings
+ True
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/MainWindow.xaml b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/MainWindow.xaml
new file mode 100644
index 0000000..231c1d0
--- /dev/null
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/MainWindow.xaml
@@ -0,0 +1,108 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/MainWindow.xaml.cs b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/MainWindow.xaml.cs
new file mode 100644
index 0000000..a331295
--- /dev/null
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/MainWindow.xaml.cs
@@ -0,0 +1,196 @@
+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 Lab_rab_1._2_Kirichenko
+{
+
+ public partial class MainWindow : Window
+ {
+ public MainWindow()
+ {
+ InitializeComponent();
+ }
+
+
+
+ private Circle GetCircle(TextBlock errorBlock)
+ {
+ if (string.IsNullOrWhiteSpace(CircleRadiusTextBox.Text))
+ {
+ errorBlock.Text = "Введите радиус.";
+ return null;
+ }
+
+ try
+ {
+ double radius = double.Parse(CircleRadiusTextBox.Text.Replace('.', ','));
+ return new Circle(radius);
+ }
+ catch (ArgumentException ex)
+ {
+ errorBlock.Text = $"Ошибка: {ex.Message}";
+ return null;
+ }
+ catch (FormatException)
+ {
+ errorBlock.Text = "Ошибка ввода: Введите корректное число.";
+ return null;
+ }
+ }
+
+
+ private void Circle_CalculateArea_Click(object sender, RoutedEventArgs e)
+ {
+ Circle circle = GetCircle(CircleAreaResultsTextBlock);
+ if (circle != null)
+ {
+ CircleAreaResultsTextBlock.Text = $"Площадь круга: {circle.CalculateArea():F3}";
+ }
+ else
+ {
+
+ }
+ }
+
+ private void Circle_CalculatePerimeter_Click(object sender, RoutedEventArgs e)
+ {
+ Circle circle = GetCircle(CirclePerimeterResultsTextBlock);
+ if (circle != null)
+ {
+ CirclePerimeterResultsTextBlock.Text = $"Периметр (длина окружности): {circle.CalculatePerimeter():F3}";
+ }
+ else
+ {
+
+ }
+ }
+
+
+ private Rectangle GetRectangle(TextBlock errorBlock)
+ {
+ if (string.IsNullOrWhiteSpace(RectWidthTextBox.Text) || string.IsNullOrWhiteSpace(RectHeightTextBox.Text))
+ {
+ errorBlock.Text = "Введите ширину и высоту.";
+ return null;
+ }
+
+ try
+ {
+ double width = double.Parse(RectWidthTextBox.Text.Replace('.', ','));
+ double height = double.Parse(RectHeightTextBox.Text.Replace('.', ','));
+ return new Rectangle(width, height);
+ }
+ catch (ArgumentException ex)
+ {
+ errorBlock.Text = $"Ошибка: {ex.Message}";
+ return null;
+ }
+ catch (FormatException)
+ {
+ errorBlock.Text = "Ошибка ввода: Введите корректные числа.";
+ return null;
+ }
+ }
+
+
+ private void Rectangle_CalculateArea_Click(object sender, RoutedEventArgs e)
+ {
+ Rectangle rectangle = GetRectangle(RectangleAreaResultsTextBlock);
+ if (rectangle != null)
+ {
+ RectangleAreaResultsTextBlock.Text = $"Площадь прямоугольника: {rectangle.CalculateArea():F3}";
+ }
+ }
+
+ private void Rectangle_CalculatePerimeter_Click(object sender, RoutedEventArgs e)
+ {
+ Rectangle rectangle = GetRectangle(RectanglePerimeterResultsTextBlock);
+ if (rectangle != null)
+ {
+ RectanglePerimeterResultsTextBlock.Text = $"Периметр: {rectangle.CalculatePerimeter():F3}";
+ }
+ }
+
+
+ private Triangle GetTriangle(TextBlock errorBlock)
+ {
+ if (string.IsNullOrWhiteSpace(TriSideATextBox.Text) || string.IsNullOrWhiteSpace(TriSideBTextBox.Text) || string.IsNullOrWhiteSpace(TriSideCTextBox.Text))
+ {
+ errorBlock.Text = "Введите длины всех трех сторон.";
+ return null;
+ }
+
+ try
+ {
+ double a = double.Parse(TriSideATextBox.Text.Replace('.', ','));
+ double b = double.Parse(TriSideBTextBox.Text.Replace('.', ','));
+ double c = double.Parse(TriSideCTextBox.Text.Replace('.', ','));
+ return new Triangle(a, b, c);
+ }
+ catch (ArgumentException ex)
+ {
+
+ errorBlock.Text = $"Ошибка: {ex.Message}";
+ return null;
+ }
+ catch (FormatException)
+ {
+ errorBlock.Text = "Ошибка ввода: Введите корректные числа.";
+ return null;
+ }
+ }
+
+
+ private void Triangle_CalculateArea_Click(object sender, RoutedEventArgs e)
+ {
+ Triangle triangle = GetTriangle(TriangleAreaResultsTextBlock);
+ if (triangle != null)
+ {
+ TriangleAreaResultsTextBlock.Text = $"Площадь треугольника: {triangle.CalculateArea():F3}";
+ }
+ }
+
+ private void Triangle_CalculatePerimeter_Click(object sender, RoutedEventArgs e)
+ {
+ Triangle triangle = GetTriangle(TrianglePerimeterResultsTextBlock);
+ if (triangle != null)
+ {
+ TrianglePerimeterResultsTextBlock.Text = $"Периметр: {triangle.CalculatePerimeter():F3}";
+ }
+ }
+
+
+
+ private void Number_PreviewTextInput(object sender, TextCompositionEventArgs e)
+ {
+ if (!char.IsDigit(e.Text, e.Text.Length - 1) && e.Text != "," && e.Text != "." && e.Text != "-")
+ {
+ e.Handled = true;
+ }
+ if ((e.Text == "," || e.Text == ".") && ((TextBox)sender).Text.Contains(e.Text == "," ? "," : "."))
+ {
+ e.Handled = true;
+ }
+ }
+
+ private void Number_PreviewKeyDown(object sender, KeyEventArgs e)
+ {
+ if (e.Key == Key.Space)
+ {
+ e.Handled = true;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/Lab_rab_1.1_Kirichenko/Properties/AssemblyInfo.cs b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/Properties/AssemblyInfo.cs
similarity index 95%
rename from Lab_rab_1.1_Kirichenko/Properties/AssemblyInfo.cs
rename to Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/Properties/AssemblyInfo.cs
index c230622..c18ee63 100644
--- a/Lab_rab_1.1_Kirichenko/Properties/AssemblyInfo.cs
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/Properties/AssemblyInfo.cs
@@ -1,52 +1,52 @@
-using System.Reflection;
-using System.Resources;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-using System.Windows;
-
-// Общие сведения об этой сборке предоставляются следующим набором
-// набор атрибутов. Измените значения этих атрибутов, чтобы изменить сведения,
-// связанные со сборкой.
-[assembly: AssemblyTitle("Lab_rab_1.1_Kirichenko")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Lab_rab_1.1_Kirichenko")]
-[assembly: AssemblyCopyright("Copyright © 2025")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Установка значения False для параметра ComVisible делает типы в этой сборке невидимыми
-// для компонентов COM. Если необходимо обратиться к типу в этой сборке через
-// из модели COM, установите атрибут ComVisible для этого типа в значение true.
-[assembly: ComVisible(false)]
-
-//Чтобы начать создание локализуемых приложений, задайте
-//CultureYouAreCodingWith в файле .csproj
-//в . Например, при использовании английского (США)
-//в своих исходных файлах установите в en-US. Затем отмените преобразование в комментарий
-//атрибута NeutralResourceLanguage ниже. Обновите "en-US" в
-//строка внизу для обеспечения соответствия настройки UICulture в файле проекта.
-
-//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
-
-
-[assembly: ThemeInfo(
- ResourceDictionaryLocation.None, //где расположены словари ресурсов по конкретным тематикам
- //(используется, если ресурс не найден на странице,
- // или в словарях ресурсов приложения)
- ResourceDictionaryLocation.SourceAssembly //где расположен словарь универсальных ресурсов
- //(используется, если ресурс не найден на странице,
- // в приложении или в каких-либо словарях ресурсов для конкретной темы)
-)]
-
-
-// Сведения о версии для сборки включают четыре следующих значения:
-//
-// Основной номер версии
-// Дополнительный номер версии
-// Номер сборки
-// Номер редакции
-//
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+using System.Reflection;
+using System.Resources;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Windows;
+
+// Общие сведения об этой сборке предоставляются следующим набором
+// набор атрибутов. Измените значения этих атрибутов, чтобы изменить сведения,
+// связанные со сборкой.
+[assembly: AssemblyTitle("Lab_rab_1.2_Kirichenko")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Lab_rab_1.2_Kirichenko")]
+[assembly: AssemblyCopyright("Copyright © 2025")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Установка значения False для параметра ComVisible делает типы в этой сборке невидимыми
+// для компонентов COM. Если необходимо обратиться к типу в этой сборке через
+// из модели COM, установите атрибут ComVisible для этого типа в значение true.
+[assembly: ComVisible(false)]
+
+//Чтобы начать создание локализуемых приложений, задайте
+//CultureYouAreCodingWith в файле .csproj
+//в . Например, при использовании английского (США)
+//в своих исходных файлах установите в en-US. Затем отмените преобразование в комментарий
+//атрибута NeutralResourceLanguage ниже. Обновите "en-US" в
+//строка внизу для обеспечения соответствия настройки UICulture в файле проекта.
+
+//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
+
+
+[assembly: ThemeInfo(
+ ResourceDictionaryLocation.None, //где расположены словари ресурсов по конкретным тематикам
+ //(используется, если ресурс не найден на странице,
+ // или в словарях ресурсов приложения)
+ ResourceDictionaryLocation.SourceAssembly //где расположен словарь универсальных ресурсов
+ //(используется, если ресурс не найден на странице,
+ // в приложении или в каких-либо словарях ресурсов для конкретной темы)
+)]
+
+
+// Сведения о версии для сборки включают четыре следующих значения:
+//
+// Основной номер версии
+// Дополнительный номер версии
+// Номер сборки
+// Номер редакции
+//
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/Lab_rab_1.1_Kirichenko/Properties/Resources.Designer.cs b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/Properties/Resources.Designer.cs
similarity index 94%
rename from Lab_rab_1.1_Kirichenko/Properties/Resources.Designer.cs
rename to Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/Properties/Resources.Designer.cs
index 590bbe1..7e2893b 100644
--- a/Lab_rab_1.1_Kirichenko/Properties/Resources.Designer.cs
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/Properties/Resources.Designer.cs
@@ -1,71 +1,71 @@
-//------------------------------------------------------------------------------
-//
-// Этот код был создан программным средством.
-// Версия среды выполнения: 4.0.30319.42000
-//
-// Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если
-// код создан повторно.
-//
-//------------------------------------------------------------------------------
-
-namespace Lab_rab_1._1_Kirichenko.Properties
-{
-
-
- ///
- /// Класс ресурсов со строгим типом для поиска локализованных строк и пр.
- ///
- // Этот класс был автоматически создан при помощи StronglyTypedResourceBuilder
- // класс с помощью таких средств, как ResGen или Visual Studio.
- // Для добавления или удаления члена измените файл .ResX, а затем перезапустите ResGen
- // с параметром /str или заново постройте свой VS-проект.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources
- {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Resources()
- {
- }
-
- ///
- /// Возврат кэшированного экземпляра ResourceManager, используемого этим классом.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager
- {
- get
- {
- if ((resourceMan == null))
- {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Lab_rab_1._1_Kirichenko.Properties.Resources", typeof(Resources).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- ///
- /// Переопределяет свойство CurrentUICulture текущего потока для всех
- /// подстановки ресурсов с помощью этого класса ресурсов со строгим типом.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture
- {
- get
- {
- return resourceCulture;
- }
- set
- {
- resourceCulture = value;
- }
- }
- }
-}
+//------------------------------------------------------------------------------
+//
+// Этот код был создан программным средством.
+// Версия среды выполнения: 4.0.30319.42000
+//
+// Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если
+// код создан повторно.
+//
+//------------------------------------------------------------------------------
+
+namespace Lab_rab_1._2_Kirichenko.Properties
+{
+
+
+ ///
+ /// Класс ресурсов со строгим типом для поиска локализованных строк и пр.
+ ///
+ // Этот класс был автоматически создан при помощи StronglyTypedResourceBuilder
+ // класс с помощью таких средств, как ResGen или Visual Studio.
+ // Для добавления или удаления члена измените файл .ResX, а затем перезапустите ResGen
+ // с параметром /str или заново постройте свой VS-проект.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources
+ {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources()
+ {
+ }
+
+ ///
+ /// Возврат кэшированного экземпляра ResourceManager, используемого этим классом.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager
+ {
+ get
+ {
+ if ((resourceMan == null))
+ {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Lab_rab_1._2_Kirichenko.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Переопределяет свойство CurrentUICulture текущего потока для всех
+ /// подстановки ресурсов с помощью этого класса ресурсов со строгим типом.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture
+ {
+ get
+ {
+ return resourceCulture;
+ }
+ set
+ {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/Lab_rab_1.1_Kirichenko/Properties/Resources.resx b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/Properties/Resources.resx
similarity index 97%
rename from Lab_rab_1.1_Kirichenko/Properties/Resources.resx
rename to Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/Properties/Resources.resx
index af7dbeb..ffecec8 100644
--- a/Lab_rab_1.1_Kirichenko/Properties/Resources.resx
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/Properties/Resources.resx
@@ -1,117 +1,117 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
\ No newline at end of file
diff --git a/Lab_rab_1.1_Kirichenko/Properties/Settings.Designer.cs b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/Properties/Settings.Designer.cs
similarity index 93%
rename from Lab_rab_1.1_Kirichenko/Properties/Settings.Designer.cs
rename to Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/Properties/Settings.Designer.cs
index 85e45ee..4ea79c7 100644
--- a/Lab_rab_1.1_Kirichenko/Properties/Settings.Designer.cs
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/Properties/Settings.Designer.cs
@@ -1,30 +1,30 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace Lab_rab_1._1_Kirichenko.Properties
-{
-
-
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
- {
-
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default
- {
- get
- {
- return defaultInstance;
- }
- }
- }
-}
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace Lab_rab_1._2_Kirichenko.Properties
+{
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+ {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default
+ {
+ get
+ {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff --git a/Lab_rab_1.1_Kirichenko/Properties/Settings.settings b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/Properties/Settings.settings
similarity index 97%
rename from Lab_rab_1.1_Kirichenko/Properties/Settings.settings
rename to Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/Properties/Settings.settings
index 033d7a5..8f2fd95 100644
--- a/Lab_rab_1.1_Kirichenko/Properties/Settings.settings
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/Properties/Settings.settings
@@ -1,7 +1,7 @@
-
-
-
-
-
-
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/Shape.cs b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/Shape.cs
new file mode 100644
index 0000000..2956cc9
--- /dev/null
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/Shape.cs
@@ -0,0 +1,76 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Lab_rab_1._2_Kirichenko
+{
+
+ public abstract class Shape
+ {
+ public abstract double CalculateArea();
+ public abstract double CalculatePerimeter();
+ }
+
+
+ public class Circle : Shape
+ {
+ public double Radius { get; set; }
+
+ public Circle(double radius)
+ {
+ if (radius <= 0) throw new ArgumentException("Радиус должен быть положительным числом.");
+ Radius = radius;
+ }
+
+ public override double CalculateArea() => Math.PI * Radius * Radius;
+ public override double CalculatePerimeter() => 2 * Math.PI * Radius;
+ }
+
+
+ public class Rectangle : Shape
+ {
+ public double Width { get; set; }
+ public double Height { get; set; }
+
+ public Rectangle(double width, double height)
+ {
+ if (width <= 0 || height <= 0) throw new ArgumentException("Ширина и высота должны быть положительными числами.");
+ Width = width;
+ Height = height;
+ }
+
+ public override double CalculateArea() => Width * Height;
+ public override double CalculatePerimeter() => 2 * (Width + Height);
+ }
+
+
+ public class Triangle : Shape
+ {
+ public double SideA { get; set; }
+ public double SideB { get; set; }
+ public double SideC { get; set; }
+
+ public Triangle(double a, double b, double c)
+ {
+ if (a <= 0 || b <= 0 || c <= 0) throw new ArgumentException("Все стороны должны быть положительными числами.");
+
+ if (a + b <= c || a + c <= b || b + c <= a)
+ {
+ throw new ArgumentException("Невозможно создать треугольник с заданными длинами сторон.");
+ }
+ SideA = a;
+ SideB = b;
+ SideC = c;
+ }
+
+ public override double CalculatePerimeter() => SideA + SideB + SideC;
+
+ public override double CalculateArea()
+ {
+ double s = CalculatePerimeter() / 2;
+ return Math.Sqrt(s * (s - SideA) * (s - SideB) * (s - SideC));
+ }
+ }
+}
\ No newline at end of file
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/bin/Debug/Lab_rab_1.2_Kirichenko.exe b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/bin/Debug/Lab_rab_1.2_Kirichenko.exe
new file mode 100644
index 0000000..693ac80
Binary files /dev/null and b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/bin/Debug/Lab_rab_1.2_Kirichenko.exe differ
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/bin/Debug/Lab_rab_1.2_Kirichenko.exe.config b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/bin/Debug/Lab_rab_1.2_Kirichenko.exe.config
new file mode 100644
index 0000000..5754728
--- /dev/null
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/bin/Debug/Lab_rab_1.2_Kirichenko.exe.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/bin/Debug/Lab_rab_1.2_Kirichenko.pdb b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/bin/Debug/Lab_rab_1.2_Kirichenko.pdb
new file mode 100644
index 0000000..be1a3b7
Binary files /dev/null and b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/bin/Debug/Lab_rab_1.2_Kirichenko.pdb differ
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/App.g.cs b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/App.g.cs
new file mode 100644
index 0000000..a12a3cc
--- /dev/null
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/App.g.cs
@@ -0,0 +1,70 @@
+#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9461D9DB39BFE18CD1870C952ECB4ECA2ACE156188005EDAE938BBD311464D0F"
+//------------------------------------------------------------------------------
+//
+// Этот код создан программой.
+// Исполняемая версия:4.0.30319.42000
+//
+// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+// повторной генерации кода.
+//
+//------------------------------------------------------------------------------
+
+using Lab_rab_1._2_Kirichenko;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+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;
+
+
+namespace Lab_rab_1._2_Kirichenko {
+
+
+ ///
+ /// App
+ ///
+ public partial class App : System.Windows.Application {
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+
+ #line 5 "..\..\App.xaml"
+ this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
+
+ #line default
+ #line hidden
+ }
+
+ ///
+ /// Application Entry Point.
+ ///
+ [System.STAThreadAttribute()]
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public static void Main() {
+ Lab_rab_1._2_Kirichenko.App app = new Lab_rab_1._2_Kirichenko.App();
+ app.InitializeComponent();
+ app.Run();
+ }
+ }
+}
+
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/App.g.i.cs b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/App.g.i.cs
new file mode 100644
index 0000000..a12a3cc
--- /dev/null
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/App.g.i.cs
@@ -0,0 +1,70 @@
+#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9461D9DB39BFE18CD1870C952ECB4ECA2ACE156188005EDAE938BBD311464D0F"
+//------------------------------------------------------------------------------
+//
+// Этот код создан программой.
+// Исполняемая версия:4.0.30319.42000
+//
+// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+// повторной генерации кода.
+//
+//------------------------------------------------------------------------------
+
+using Lab_rab_1._2_Kirichenko;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+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;
+
+
+namespace Lab_rab_1._2_Kirichenko {
+
+
+ ///
+ /// App
+ ///
+ public partial class App : System.Windows.Application {
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+
+ #line 5 "..\..\App.xaml"
+ this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
+
+ #line default
+ #line hidden
+ }
+
+ ///
+ /// Application Entry Point.
+ ///
+ [System.STAThreadAttribute()]
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public static void Main() {
+ Lab_rab_1._2_Kirichenko.App app = new Lab_rab_1._2_Kirichenko.App();
+ app.InitializeComponent();
+ app.Run();
+ }
+ }
+}
+
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
new file mode 100644
index 0000000..4aa04a3
Binary files /dev/null and b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko.csproj.AssemblyReference.cache b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko.csproj.AssemblyReference.cache
new file mode 100644
index 0000000..035a494
Binary files /dev/null and b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko.csproj.AssemblyReference.cache differ
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko.csproj.CoreCompileInputs.cache b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko.csproj.CoreCompileInputs.cache
new file mode 100644
index 0000000..1a901db
--- /dev/null
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko.csproj.CoreCompileInputs.cache
@@ -0,0 +1 @@
+a45029a4adb6dd329f029a4c75aed8686ad7ed83750fb23d13fe3ef975c63146
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko.csproj.FileListAbsolute.txt b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..81cf38f
--- /dev/null
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko.csproj.FileListAbsolute.txt
@@ -0,0 +1,15 @@
+C:\Users\Redmibook\source\repos\Lab_rab_1.2_Kirichenko\Lab_rab_1.2_Kirichenko\bin\Debug\Lab_rab_1.2_Kirichenko.exe.config
+C:\Users\Redmibook\source\repos\Lab_rab_1.2_Kirichenko\Lab_rab_1.2_Kirichenko\bin\Debug\Lab_rab_1.2_Kirichenko.exe
+C:\Users\Redmibook\source\repos\Lab_rab_1.2_Kirichenko\Lab_rab_1.2_Kirichenko\bin\Debug\Lab_rab_1.2_Kirichenko.pdb
+C:\Users\Redmibook\source\repos\Lab_rab_1.2_Kirichenko\Lab_rab_1.2_Kirichenko\obj\Debug\Lab_rab_1.2_Kirichenko.csproj.AssemblyReference.cache
+C:\Users\Redmibook\source\repos\Lab_rab_1.2_Kirichenko\Lab_rab_1.2_Kirichenko\obj\Debug\MainWindow.g.cs
+C:\Users\Redmibook\source\repos\Lab_rab_1.2_Kirichenko\Lab_rab_1.2_Kirichenko\obj\Debug\App.g.cs
+C:\Users\Redmibook\source\repos\Lab_rab_1.2_Kirichenko\Lab_rab_1.2_Kirichenko\obj\Debug\Lab_rab_1.2_Kirichenko_MarkupCompile.cache
+C:\Users\Redmibook\source\repos\Lab_rab_1.2_Kirichenko\Lab_rab_1.2_Kirichenko\obj\Debug\Lab_rab_1.2_Kirichenko_MarkupCompile.lref
+C:\Users\Redmibook\source\repos\Lab_rab_1.2_Kirichenko\Lab_rab_1.2_Kirichenko\obj\Debug\MainWindow.baml
+C:\Users\Redmibook\source\repos\Lab_rab_1.2_Kirichenko\Lab_rab_1.2_Kirichenko\obj\Debug\Lab_rab_1.2_Kirichenko.g.resources
+C:\Users\Redmibook\source\repos\Lab_rab_1.2_Kirichenko\Lab_rab_1.2_Kirichenko\obj\Debug\Lab_rab_1._2_Kirichenko.Properties.Resources.resources
+C:\Users\Redmibook\source\repos\Lab_rab_1.2_Kirichenko\Lab_rab_1.2_Kirichenko\obj\Debug\Lab_rab_1.2_Kirichenko.csproj.GenerateResource.cache
+C:\Users\Redmibook\source\repos\Lab_rab_1.2_Kirichenko\Lab_rab_1.2_Kirichenko\obj\Debug\Lab_rab_1.2_Kirichenko.csproj.CoreCompileInputs.cache
+C:\Users\Redmibook\source\repos\Lab_rab_1.2_Kirichenko\Lab_rab_1.2_Kirichenko\obj\Debug\Lab_rab_1.2_Kirichenko.exe
+C:\Users\Redmibook\source\repos\Lab_rab_1.2_Kirichenko\Lab_rab_1.2_Kirichenko\obj\Debug\Lab_rab_1.2_Kirichenko.pdb
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko.csproj.GenerateResource.cache b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko.csproj.GenerateResource.cache
new file mode 100644
index 0000000..6d052da
Binary files /dev/null and b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko.csproj.GenerateResource.cache differ
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko.exe b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko.exe
new file mode 100644
index 0000000..693ac80
Binary files /dev/null and b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko.exe differ
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko.g.resources b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko.g.resources
new file mode 100644
index 0000000..71cfd99
Binary files /dev/null and b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko.g.resources differ
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko.pdb b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko.pdb
new file mode 100644
index 0000000..be1a3b7
Binary files /dev/null and b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko.pdb differ
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko_MarkupCompile.cache b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko_MarkupCompile.cache
new file mode 100644
index 0000000..f4be91e
--- /dev/null
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko_MarkupCompile.cache
@@ -0,0 +1,20 @@
+Lab_rab_1.2_Kirichenko
+
+
+winexe
+C#
+.cs
+C:\Users\Redmibook\source\repos\Lab_rab_1.2_Kirichenko\Lab_rab_1.2_Kirichenko\obj\Debug\
+Lab_rab_1._2_Kirichenko
+none
+false
+DEBUG;TRACE
+C:\Users\Redmibook\source\repos\Lab_rab_1.2_Kirichenko\Lab_rab_1.2_Kirichenko\App.xaml
+1219584333
+
+6-1277621018
+13-1310406943
+MainWindow.xaml;
+
+False
+
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko_MarkupCompile.i.cache b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko_MarkupCompile.i.cache
new file mode 100644
index 0000000..424a257
--- /dev/null
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko_MarkupCompile.i.cache
@@ -0,0 +1,20 @@
+Lab_rab_1.2_Kirichenko
+
+
+winexe
+C#
+.cs
+C:\Users\Redmibook\source\repos\Lab_rab_1.2_Kirichenko\Lab_rab_1.2_Kirichenko\obj\Debug\
+Lab_rab_1._2_Kirichenko
+none
+false
+DEBUG;TRACE
+C:\Users\Redmibook\source\repos\Lab_rab_1.2_Kirichenko\Lab_rab_1.2_Kirichenko\App.xaml
+1219584333
+
+7935257660
+13-1310406943
+MainWindow.xaml;
+
+True
+
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko_MarkupCompile.i.lref b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko_MarkupCompile.i.lref
new file mode 100644
index 0000000..1b71b8c
--- /dev/null
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko_MarkupCompile.i.lref
@@ -0,0 +1,4 @@
+
+
+FC:\Users\Redmibook\source\repos\Lab_rab_1.2_Kirichenko\Lab_rab_1.2_Kirichenko\MainWindow.xaml;;
+
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko_MarkupCompile.lref b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko_MarkupCompile.lref
new file mode 100644
index 0000000..1b71b8c
--- /dev/null
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1.2_Kirichenko_MarkupCompile.lref
@@ -0,0 +1,4 @@
+
+
+FC:\Users\Redmibook\source\repos\Lab_rab_1.2_Kirichenko\Lab_rab_1.2_Kirichenko\MainWindow.xaml;;
+
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1._2_Kirichenko.Properties.Resources.resources b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1._2_Kirichenko.Properties.Resources.resources
new file mode 100644
index 0000000..6c05a97
Binary files /dev/null and b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/Lab_rab_1._2_Kirichenko.Properties.Resources.resources differ
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/MainWindow.baml b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/MainWindow.baml
new file mode 100644
index 0000000..6124dd7
Binary files /dev/null and b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/MainWindow.baml differ
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/MainWindow.g.cs b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/MainWindow.g.cs
new file mode 100644
index 0000000..89fdfdb
--- /dev/null
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/MainWindow.g.cs
@@ -0,0 +1,330 @@
+#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "21B8CB97CEEF361BEC25DD20E39679FC610403B9A965641CE2F409ABF65633CC"
+//------------------------------------------------------------------------------
+//
+// Этот код создан программой.
+// Исполняемая версия:4.0.30319.42000
+//
+// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+// повторной генерации кода.
+//
+//------------------------------------------------------------------------------
+
+using Lab_rab_1._2_Kirichenko;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+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;
+
+
+namespace Lab_rab_1._2_Kirichenko {
+
+
+ ///
+ /// MainWindow
+ ///
+ public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #line 26 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox CircleRadiusTextBox;
+
+ #line default
+ #line hidden
+
+
+ #line 34 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock CircleAreaResultsTextBlock;
+
+ #line default
+ #line hidden
+
+
+ #line 35 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock CirclePerimeterResultsTextBlock;
+
+ #line default
+ #line hidden
+
+
+ #line 54 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox RectWidthTextBox;
+
+ #line default
+ #line hidden
+
+
+ #line 57 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox RectHeightTextBox;
+
+ #line default
+ #line hidden
+
+
+ #line 65 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock RectangleAreaResultsTextBlock;
+
+ #line default
+ #line hidden
+
+
+ #line 66 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock RectanglePerimeterResultsTextBlock;
+
+ #line default
+ #line hidden
+
+
+ #line 86 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox TriSideATextBox;
+
+ #line default
+ #line hidden
+
+
+ #line 89 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox TriSideBTextBox;
+
+ #line default
+ #line hidden
+
+
+ #line 92 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox TriSideCTextBox;
+
+ #line default
+ #line hidden
+
+
+ #line 100 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock TriangleAreaResultsTextBlock;
+
+ #line default
+ #line hidden
+
+
+ #line 101 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock TrianglePerimeterResultsTextBlock;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+ if (_contentLoaded) {
+ return;
+ }
+ _contentLoaded = true;
+ System.Uri resourceLocater = new System.Uri("/Lab_rab_1.2_Kirichenko;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", "4.0.0.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.CircleRadiusTextBox = ((System.Windows.Controls.TextBox)(target));
+
+ #line 26 "..\..\MainWindow.xaml"
+ this.CircleRadiusTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Number_PreviewTextInput);
+
+ #line default
+ #line hidden
+
+ #line 26 "..\..\MainWindow.xaml"
+ this.CircleRadiusTextBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Number_PreviewKeyDown);
+
+ #line default
+ #line hidden
+ return;
+ case 2:
+
+ #line 29 "..\..\MainWindow.xaml"
+ ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Circle_CalculateArea_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 3:
+
+ #line 30 "..\..\MainWindow.xaml"
+ ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Circle_CalculatePerimeter_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 4:
+ this.CircleAreaResultsTextBlock = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 5:
+ this.CirclePerimeterResultsTextBlock = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 6:
+ this.RectWidthTextBox = ((System.Windows.Controls.TextBox)(target));
+
+ #line 54 "..\..\MainWindow.xaml"
+ this.RectWidthTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Number_PreviewTextInput);
+
+ #line default
+ #line hidden
+
+ #line 54 "..\..\MainWindow.xaml"
+ this.RectWidthTextBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Number_PreviewKeyDown);
+
+ #line default
+ #line hidden
+ return;
+ case 7:
+ this.RectHeightTextBox = ((System.Windows.Controls.TextBox)(target));
+
+ #line 57 "..\..\MainWindow.xaml"
+ this.RectHeightTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Number_PreviewTextInput);
+
+ #line default
+ #line hidden
+
+ #line 57 "..\..\MainWindow.xaml"
+ this.RectHeightTextBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Number_PreviewKeyDown);
+
+ #line default
+ #line hidden
+ return;
+ case 8:
+
+ #line 60 "..\..\MainWindow.xaml"
+ ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Rectangle_CalculateArea_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 9:
+
+ #line 61 "..\..\MainWindow.xaml"
+ ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Rectangle_CalculatePerimeter_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 10:
+ this.RectangleAreaResultsTextBlock = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 11:
+ this.RectanglePerimeterResultsTextBlock = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 12:
+ this.TriSideATextBox = ((System.Windows.Controls.TextBox)(target));
+
+ #line 86 "..\..\MainWindow.xaml"
+ this.TriSideATextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Number_PreviewTextInput);
+
+ #line default
+ #line hidden
+
+ #line 86 "..\..\MainWindow.xaml"
+ this.TriSideATextBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Number_PreviewKeyDown);
+
+ #line default
+ #line hidden
+ return;
+ case 13:
+ this.TriSideBTextBox = ((System.Windows.Controls.TextBox)(target));
+
+ #line 89 "..\..\MainWindow.xaml"
+ this.TriSideBTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Number_PreviewTextInput);
+
+ #line default
+ #line hidden
+
+ #line 89 "..\..\MainWindow.xaml"
+ this.TriSideBTextBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Number_PreviewKeyDown);
+
+ #line default
+ #line hidden
+ return;
+ case 14:
+ this.TriSideCTextBox = ((System.Windows.Controls.TextBox)(target));
+
+ #line 92 "..\..\MainWindow.xaml"
+ this.TriSideCTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Number_PreviewTextInput);
+
+ #line default
+ #line hidden
+
+ #line 92 "..\..\MainWindow.xaml"
+ this.TriSideCTextBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Number_PreviewKeyDown);
+
+ #line default
+ #line hidden
+ return;
+ case 15:
+
+ #line 95 "..\..\MainWindow.xaml"
+ ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Triangle_CalculateArea_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 16:
+
+ #line 96 "..\..\MainWindow.xaml"
+ ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Triangle_CalculatePerimeter_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 17:
+ this.TriangleAreaResultsTextBlock = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 18:
+ this.TrianglePerimeterResultsTextBlock = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/MainWindow.g.i.cs b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/MainWindow.g.i.cs
new file mode 100644
index 0000000..89fdfdb
--- /dev/null
+++ b/Lab_rab_1.2_Kirichenko/Lab_rab_1.2_Kirichenko/obj/Debug/MainWindow.g.i.cs
@@ -0,0 +1,330 @@
+#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "21B8CB97CEEF361BEC25DD20E39679FC610403B9A965641CE2F409ABF65633CC"
+//------------------------------------------------------------------------------
+//
+// Этот код создан программой.
+// Исполняемая версия:4.0.30319.42000
+//
+// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+// повторной генерации кода.
+//
+//------------------------------------------------------------------------------
+
+using Lab_rab_1._2_Kirichenko;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+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;
+
+
+namespace Lab_rab_1._2_Kirichenko {
+
+
+ ///
+ /// MainWindow
+ ///
+ public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #line 26 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox CircleRadiusTextBox;
+
+ #line default
+ #line hidden
+
+
+ #line 34 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock CircleAreaResultsTextBlock;
+
+ #line default
+ #line hidden
+
+
+ #line 35 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock CirclePerimeterResultsTextBlock;
+
+ #line default
+ #line hidden
+
+
+ #line 54 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox RectWidthTextBox;
+
+ #line default
+ #line hidden
+
+
+ #line 57 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox RectHeightTextBox;
+
+ #line default
+ #line hidden
+
+
+ #line 65 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock RectangleAreaResultsTextBlock;
+
+ #line default
+ #line hidden
+
+
+ #line 66 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock RectanglePerimeterResultsTextBlock;
+
+ #line default
+ #line hidden
+
+
+ #line 86 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox TriSideATextBox;
+
+ #line default
+ #line hidden
+
+
+ #line 89 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox TriSideBTextBox;
+
+ #line default
+ #line hidden
+
+
+ #line 92 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox TriSideCTextBox;
+
+ #line default
+ #line hidden
+
+
+ #line 100 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock TriangleAreaResultsTextBlock;
+
+ #line default
+ #line hidden
+
+
+ #line 101 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBlock TrianglePerimeterResultsTextBlock;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+ if (_contentLoaded) {
+ return;
+ }
+ _contentLoaded = true;
+ System.Uri resourceLocater = new System.Uri("/Lab_rab_1.2_Kirichenko;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", "4.0.0.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.CircleRadiusTextBox = ((System.Windows.Controls.TextBox)(target));
+
+ #line 26 "..\..\MainWindow.xaml"
+ this.CircleRadiusTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Number_PreviewTextInput);
+
+ #line default
+ #line hidden
+
+ #line 26 "..\..\MainWindow.xaml"
+ this.CircleRadiusTextBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Number_PreviewKeyDown);
+
+ #line default
+ #line hidden
+ return;
+ case 2:
+
+ #line 29 "..\..\MainWindow.xaml"
+ ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Circle_CalculateArea_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 3:
+
+ #line 30 "..\..\MainWindow.xaml"
+ ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Circle_CalculatePerimeter_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 4:
+ this.CircleAreaResultsTextBlock = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 5:
+ this.CirclePerimeterResultsTextBlock = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 6:
+ this.RectWidthTextBox = ((System.Windows.Controls.TextBox)(target));
+
+ #line 54 "..\..\MainWindow.xaml"
+ this.RectWidthTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Number_PreviewTextInput);
+
+ #line default
+ #line hidden
+
+ #line 54 "..\..\MainWindow.xaml"
+ this.RectWidthTextBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Number_PreviewKeyDown);
+
+ #line default
+ #line hidden
+ return;
+ case 7:
+ this.RectHeightTextBox = ((System.Windows.Controls.TextBox)(target));
+
+ #line 57 "..\..\MainWindow.xaml"
+ this.RectHeightTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Number_PreviewTextInput);
+
+ #line default
+ #line hidden
+
+ #line 57 "..\..\MainWindow.xaml"
+ this.RectHeightTextBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Number_PreviewKeyDown);
+
+ #line default
+ #line hidden
+ return;
+ case 8:
+
+ #line 60 "..\..\MainWindow.xaml"
+ ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Rectangle_CalculateArea_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 9:
+
+ #line 61 "..\..\MainWindow.xaml"
+ ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Rectangle_CalculatePerimeter_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 10:
+ this.RectangleAreaResultsTextBlock = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 11:
+ this.RectanglePerimeterResultsTextBlock = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 12:
+ this.TriSideATextBox = ((System.Windows.Controls.TextBox)(target));
+
+ #line 86 "..\..\MainWindow.xaml"
+ this.TriSideATextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Number_PreviewTextInput);
+
+ #line default
+ #line hidden
+
+ #line 86 "..\..\MainWindow.xaml"
+ this.TriSideATextBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Number_PreviewKeyDown);
+
+ #line default
+ #line hidden
+ return;
+ case 13:
+ this.TriSideBTextBox = ((System.Windows.Controls.TextBox)(target));
+
+ #line 89 "..\..\MainWindow.xaml"
+ this.TriSideBTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Number_PreviewTextInput);
+
+ #line default
+ #line hidden
+
+ #line 89 "..\..\MainWindow.xaml"
+ this.TriSideBTextBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Number_PreviewKeyDown);
+
+ #line default
+ #line hidden
+ return;
+ case 14:
+ this.TriSideCTextBox = ((System.Windows.Controls.TextBox)(target));
+
+ #line 92 "..\..\MainWindow.xaml"
+ this.TriSideCTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Number_PreviewTextInput);
+
+ #line default
+ #line hidden
+
+ #line 92 "..\..\MainWindow.xaml"
+ this.TriSideCTextBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Number_PreviewKeyDown);
+
+ #line default
+ #line hidden
+ return;
+ case 15:
+
+ #line 95 "..\..\MainWindow.xaml"
+ ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Triangle_CalculateArea_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 16:
+
+ #line 96 "..\..\MainWindow.xaml"
+ ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Triangle_CalculatePerimeter_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 17:
+ this.TriangleAreaResultsTextBlock = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ case 18:
+ this.TrianglePerimeterResultsTextBlock = ((System.Windows.Controls.TextBlock)(target));
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+