diff --git a/.vs/WpfApp/v16/.suo b/.vs/WpfApp/v16/.suo
new file mode 100644
index 0000000..417c8a0
Binary files /dev/null and b/.vs/WpfApp/v16/.suo differ
diff --git a/.vs/WpfApp/v16/Server/sqlite3/db.lock b/.vs/WpfApp/v16/Server/sqlite3/db.lock
new file mode 100644
index 0000000..e69de29
diff --git a/.vs/WpfApp/v16/Server/sqlite3/storage.ide b/.vs/WpfApp/v16/Server/sqlite3/storage.ide
new file mode 100644
index 0000000..589ff1f
Binary files /dev/null and b/.vs/WpfApp/v16/Server/sqlite3/storage.ide differ
diff --git a/Empty b/Empty
index 53a90bf..aa8c0c5 100644
--- a/Empty
+++ b/Empty
@@ -1 +1,2 @@
Empty
+Empty
diff --git a/WpfApp.sln b/WpfApp.sln
new file mode 100644
index 0000000..07ada4c
--- /dev/null
+++ b/WpfApp.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.28803.452
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfApp", "WpfApp1\WpfApp.csproj", "{F901D410-8009-4881-9243-261CCA2B8BCA}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {F901D410-8009-4881-9243-261CCA2B8BCA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F901D410-8009-4881-9243-261CCA2B8BCA}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F901D410-8009-4881-9243-261CCA2B8BCA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F901D410-8009-4881-9243-261CCA2B8BCA}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {10EA9582-9F4B-419F-A6B6-44D9E32BD2E8}
+ EndGlobalSection
+EndGlobal
diff --git a/WpfApp1/App.config b/WpfApp1/App.config
new file mode 100644
index 0000000..56efbc7
--- /dev/null
+++ b/WpfApp1/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WpfApp1/App.xaml b/WpfApp1/App.xaml
new file mode 100644
index 0000000..2e70522
--- /dev/null
+++ b/WpfApp1/App.xaml
@@ -0,0 +1,9 @@
+
+
+
+
+
diff --git a/WpfApp1/App.xaml.cs b/WpfApp1/App.xaml.cs
new file mode 100644
index 0000000..16361bd
--- /dev/null
+++ b/WpfApp1/App.xaml.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows;
+
+namespace WpfApp1
+{
+ ///
+ /// Логика взаимодействия для App.xaml
+ ///
+ public partial class App : Application
+ {
+ }
+}
diff --git a/WpfApp1/Department.cs b/WpfApp1/Department.cs
new file mode 100644
index 0000000..f94282a
--- /dev/null
+++ b/WpfApp1/Department.cs
@@ -0,0 +1,79 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Collections.ObjectModel;
+
+namespace WpfApp1
+{
+ public class Department
+ {
+ ///
+ /// Список рабочих в данном дипортаменте
+ ///
+ private ObservableCollection dep = new ObservableCollection();
+
+ ///
+ /// Имя департамента
+ ///
+ public string Name { get; set; }
+ ///
+ /// Возвращает список трудяг
+ ///
+ public ObservableCollection GetEmployees { get { return dep; } }
+ public Department()
+ {
+
+ }
+ ///
+ /// Конструктор класса, с вводом имени
+ ///
+ /// Имя департамент
+ public Department(string Name)
+ {
+ this.Name = Name;
+ }
+ ///
+ /// Добавление работника в депортамент
+ ///
+ /// Работник
+ public void AddEmployees(Employee employee)
+ {
+ dep.Add(employee);
+ }
+ ///
+ /// Удаление работника из департамент
+ ///
+ /// Работник
+ public void RemoveEmployees(Employee employee)
+ {
+ dep.Remove(employee);
+ }
+ ///
+ /// Изменение парматров работнеика1
+ ///
+ /// Работник с новыми параметрами
+ /// Индекс в колекции работника
+ public void RenameEmployees(Employee employee, int index)
+ {
+ dep[index] = null;
+ dep[index] = employee;
+
+ }
+ ///
+ /// Изменение имени департамента
+ ///
+ /// Новое имя
+ public void Rename(string name)
+ {
+ this.Name = name;
+ }
+
+ public override string ToString()
+ {
+ return $"{this.Name}";
+ }
+
+ }
+}
diff --git a/WpfApp1/Employee.cs b/WpfApp1/Employee.cs
new file mode 100644
index 0000000..184672f
--- /dev/null
+++ b/WpfApp1/Employee.cs
@@ -0,0 +1,78 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace WpfApp1
+{
+ ///
+ /// Класс трудяга
+ ///
+ public class Employee
+ {
+ public Employee()
+ {
+
+ }
+
+ ///
+ /// Конструктор класса трудяга
+ ///
+ /// Имя трудяги
+ /// Возраст трдяги
+ /// Зарплата трудяги
+
+ public Employee(string Name, int Age, int Salary)
+ {
+ this.Name = Name;
+ this.Age = Age;
+ this.Salary = Salary;
+
+ }
+ ///
+ /// Имя трудяги
+ ///
+ public string Name { get;set; }
+ ///
+ /// Возраст трудяги
+ ///
+ public int Age { get; set; }
+ ///
+ /// Зарплату трудяги
+ ///
+ public int Salary { get; set; }
+
+ ///
+ /// Изменение имени
+ ///
+ /// Новое имя
+ public void Rename(string Name)
+ {
+ this.Name = Name;
+ }
+ ///
+ /// Изменить возвраст
+ ///
+ /// Новый возвраст
+ public void ChangeAge(int Age)
+ {
+ this.Age = Age;
+ }
+ ///
+ /// Изменить зарплату
+ ///
+ /// Новая зарплата
+ public void ChangeSalary(int Salary)
+ {
+ this.Salary = Salary;
+ }
+ public override string ToString()
+ {
+ return $"{this.Name} {this.Age} {this.Salary} ";
+ }
+
+ }
+
+}
+
diff --git a/WpfApp1/MainWindow.xaml b/WpfApp1/MainWindow.xaml
new file mode 100644
index 0000000..843c88e
--- /dev/null
+++ b/WpfApp1/MainWindow.xaml
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WpfApp1/MainWindow.xaml.cs b/WpfApp1/MainWindow.xaml.cs
new file mode 100644
index 0000000..21a82a2
--- /dev/null
+++ b/WpfApp1/MainWindow.xaml.cs
@@ -0,0 +1,149 @@
+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;
+using System.Collections.ObjectModel;
+
+namespace WpfApp1
+{
+ ///
+ /// Логика взаимодействия для MainWindow.xaml
+ ///
+ public partial class MainWindow : Window
+ {
+ Random rnd = new Random();
+ ObservableCollection listDep;
+
+ Department newDep;
+ Employee emp;
+
+ public MainWindow()
+ {
+ listDep = new ObservableCollection() { new Department("Dep_1"), new Department("Dep_2"), new Department("Dep_3") };
+ newDep = new Department();
+ emp = new Employee();
+
+ InitializeComponent();
+
+ lvDepart.ItemsSource = listDep;
+ Random rnd = new Random();
+ int count = 0;
+ for (int i = 0; i < listDep.Count; i++)
+ {
+ for (int j = 0; j < 4; j++)
+ {
+ listDep[i].AddEmployees(new Employee($"Name_{count}", rnd.Next(20, 45),rnd.Next(10000,80000)));
+ count++;
+ }
+ }
+
+ }
+
+ private void BtnAddDep_Click(object sender, RoutedEventArgs e)
+ {
+ if (txtNameDep.Text != "")
+ {
+ listDep.Add(new Department(txtNameDep.Text));
+ }
+ }
+
+
+
+ private void BtnRemoveDep_Click(object sender, RoutedEventArgs e)
+ {
+ listDep.Remove((Department)lvDepart.SelectedItem);
+ }
+
+ private void BtnRenameDep_Click(object sender, RoutedEventArgs e)
+ {
+ int index = lvDepart.SelectedIndex;
+ var a = (Department)lvDepart.SelectedItem;
+ if (txtNameDep.Text != "")
+ {
+ a.Name = txtNameDep.Text;
+ listDep[index] = null;
+ listDep[index] = a;
+
+ }
+
+ }
+
+ private void LvDepart_SelectionChanged(object sender, SelectionChangedEventArgs e)
+ {
+ int index = lvDepart.SelectedIndex;
+ var a = (Department)lvDepart.SelectedItem;
+ if (a != null)
+ {
+ txtNameDep.Text = a.Name;
+ }
+ else txtNameDep.Text = "";
+
+ if (index != -1)
+ {
+ lvEmployee.ItemsSource = listDep[index].GetEmployees;
+ }
+
+
+ }
+
+ private void BtnAddEmp_Click(object sender, RoutedEventArgs e)
+ {
+ int index = lvDepart.SelectedIndex;
+ int age = Convert.ToInt32(txtAgeEmp.Text);
+ int salary = Convert.ToInt32(txtSalaryEmp.Text);
+
+ listDep[index].AddEmployees(new Employee(txtNameEmp.Text,age,salary));
+ }
+
+ private void BtnRemoveEmp_Click(object sender, RoutedEventArgs e)
+ {
+ int index = lvDepart.SelectedIndex;
+ var a = (Employee)lvEmployee.SelectedItem;
+ listDep[index].RemoveEmployees(a);
+ }
+
+ private void BtnRenameEmp_Click(object sender, RoutedEventArgs e)
+ {
+ int indexDep = lvDepart.SelectedIndex;
+ int indexEmp = lvEmployee.SelectedIndex;
+
+ var a = (Employee)lvEmployee.SelectedItem;
+ if (txtNameDep.Text != "")
+ {
+ a.Name = txtNameEmp.Text;
+ a.Age = Convert.ToInt32(txtAgeEmp.Text);
+ a.Salary = Convert.ToInt32(txtSalaryEmp.Text);
+
+ }
+ listDep[indexDep].RenameEmployees(a, indexEmp);
+ }
+
+ private void LvEmployee_SelectionChanged(object sender, SelectionChangedEventArgs e)
+ {
+ //int index = lvEmployee.SelectedIndex;
+ var a = (Employee)lvEmployee.SelectedItem;
+ if (a != null)
+ {
+ txtNameEmp.Text = a.Name;
+ txtAgeEmp.Text = a.Age.ToString();
+ txtSalaryEmp.Text = a.Salary.ToString();
+ }
+ else
+ {
+ txtNameEmp.Text = "";
+ txtAgeEmp.Text = "";
+ txtSalaryEmp.Text = "";
+ }
+ }
+ }
+}
diff --git a/WpfApp1/Properties/AssemblyInfo.cs b/WpfApp1/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..2e5725c
--- /dev/null
+++ b/WpfApp1/Properties/AssemblyInfo.cs
@@ -0,0 +1,55 @@
+using System.Reflection;
+using System.Resources;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Windows;
+
+// Общие сведения об этой сборке предоставляются следующим набором
+// набор атрибутов. Измените значения этих атрибутов, чтобы изменить сведения,
+// связанные со сборкой.
+[assembly: AssemblyTitle("WpfApp1")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("WpfApp1")]
+[assembly: AssemblyCopyright("Copyright © 2019")]
+[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.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/WpfApp1/Properties/Resources.Designer.cs b/WpfApp1/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..8b3898f
--- /dev/null
+++ b/WpfApp1/Properties/Resources.Designer.cs
@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+//
+// Этот код был создан программным средством.
+// Версия среды выполнения: 4.0.30319.42000
+//
+// Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если
+// код создан повторно.
+//
+//------------------------------------------------------------------------------
+
+namespace WpfApp1.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("WpfApp1.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/WpfApp1/Properties/Resources.resx b/WpfApp1/Properties/Resources.resx
new file mode 100644
index 0000000..af7dbeb
--- /dev/null
+++ b/WpfApp1/Properties/Resources.resx
@@ -0,0 +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
+
+
\ No newline at end of file
diff --git a/WpfApp1/Properties/Settings.Designer.cs b/WpfApp1/Properties/Settings.Designer.cs
new file mode 100644
index 0000000..6512fd0
--- /dev/null
+++ b/WpfApp1/Properties/Settings.Designer.cs
@@ -0,0 +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 WpfApp1.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/WpfApp1/Properties/Settings.settings b/WpfApp1/Properties/Settings.settings
new file mode 100644
index 0000000..033d7a5
--- /dev/null
+++ b/WpfApp1/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WpfApp1/Worker.cs b/WpfApp1/Worker.cs
new file mode 100644
index 0000000..6cfb6b6
--- /dev/null
+++ b/WpfApp1/Worker.cs
@@ -0,0 +1,12 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace WpfApp1
+{
+ class Worker
+ {
+ }
+}
diff --git a/WpfApp1/WpfApp.csproj b/WpfApp1/WpfApp.csproj
new file mode 100644
index 0000000..c7c0236
--- /dev/null
+++ b/WpfApp1/WpfApp.csproj
@@ -0,0 +1,100 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {F901D410-8009-4881-9243-261CCA2B8BCA}
+ WinExe
+ WpfApp1
+ WpfApp1
+ 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/WpfApp1/bin/Debug/WpfApp1.exe b/WpfApp1/bin/Debug/WpfApp1.exe
new file mode 100644
index 0000000..6010e90
Binary files /dev/null and b/WpfApp1/bin/Debug/WpfApp1.exe differ
diff --git a/WpfApp1/bin/Debug/WpfApp1.exe.config b/WpfApp1/bin/Debug/WpfApp1.exe.config
new file mode 100644
index 0000000..56efbc7
--- /dev/null
+++ b/WpfApp1/bin/Debug/WpfApp1.exe.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WpfApp1/bin/Debug/WpfApp1.pdb b/WpfApp1/bin/Debug/WpfApp1.pdb
new file mode 100644
index 0000000..f556a48
Binary files /dev/null and b/WpfApp1/bin/Debug/WpfApp1.pdb differ
diff --git a/WpfApp1/obj/Debug/AddDep.g.i.cs b/WpfApp1/obj/Debug/AddDep.g.i.cs
new file mode 100644
index 0000000..c328de4
--- /dev/null
+++ b/WpfApp1/obj/Debug/AddDep.g.i.cs
@@ -0,0 +1,106 @@
+#pragma checksum "..\..\AddDep.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "18787FE26CD794D69BEBF264B885FA4CD54E43B8B2F43AF6F7537BE2448162B2"
+//------------------------------------------------------------------------------
+//
+// Этот код создан программой.
+// Исполняемая версия:4.0.30319.42000
+//
+// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+// повторной генерации кода.
+//
+//------------------------------------------------------------------------------
+
+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;
+using WpfApp1;
+
+
+namespace WpfApp1 {
+
+
+ ///
+ /// AddDep
+ ///
+ public partial class AddDep : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #line 17 "..\..\AddDep.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox txtDep;
+
+ #line default
+ #line hidden
+
+
+ #line 18 "..\..\AddDep.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button btnAddDepWin;
+
+ #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("/WpfApp1;component/adddep.xaml", System.UriKind.Relative);
+
+ #line 1 "..\..\AddDep.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.txtDep = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 2:
+ this.btnAddDepWin = ((System.Windows.Controls.Button)(target));
+
+ #line 18 "..\..\AddDep.xaml"
+ this.btnAddDepWin.Click += new System.Windows.RoutedEventHandler(this.BtnAddDepWin_Click);
+
+ #line default
+ #line hidden
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/WpfApp1/obj/Debug/App.g.cs b/WpfApp1/obj/Debug/App.g.cs
new file mode 100644
index 0000000..ca99b0c
--- /dev/null
+++ b/WpfApp1/obj/Debug/App.g.cs
@@ -0,0 +1,70 @@
+#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "70691D25E8ED7D02D8E3A8944032595E276B439C79B7B88F62E20E6FDABEEE0D"
+//------------------------------------------------------------------------------
+//
+// Этот код создан программой.
+// Исполняемая версия:4.0.30319.42000
+//
+// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+// повторной генерации кода.
+//
+//------------------------------------------------------------------------------
+
+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;
+using WpfApp1;
+
+
+namespace WpfApp1 {
+
+
+ ///
+ /// 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() {
+ WpfApp1.App app = new WpfApp1.App();
+ app.InitializeComponent();
+ app.Run();
+ }
+ }
+}
+
diff --git a/WpfApp1/obj/Debug/App.g.i.cs b/WpfApp1/obj/Debug/App.g.i.cs
new file mode 100644
index 0000000..ca99b0c
--- /dev/null
+++ b/WpfApp1/obj/Debug/App.g.i.cs
@@ -0,0 +1,70 @@
+#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "70691D25E8ED7D02D8E3A8944032595E276B439C79B7B88F62E20E6FDABEEE0D"
+//------------------------------------------------------------------------------
+//
+// Этот код создан программой.
+// Исполняемая версия:4.0.30319.42000
+//
+// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+// повторной генерации кода.
+//
+//------------------------------------------------------------------------------
+
+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;
+using WpfApp1;
+
+
+namespace WpfApp1 {
+
+
+ ///
+ /// 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() {
+ WpfApp1.App app = new WpfApp1.App();
+ app.InitializeComponent();
+ app.Run();
+ }
+ }
+}
+
diff --git a/WpfApp1/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/WpfApp1/obj/Debug/DesignTimeResolveAssemblyReferences.cache
new file mode 100644
index 0000000..a441e3a
Binary files /dev/null and b/WpfApp1/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ
diff --git a/WpfApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/WpfApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
new file mode 100644
index 0000000..5a77c02
Binary files /dev/null and b/WpfApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/WpfApp1/obj/Debug/MainWindow.g.cs b/WpfApp1/obj/Debug/MainWindow.g.cs
new file mode 100644
index 0000000..d3f8fa7
--- /dev/null
+++ b/WpfApp1/obj/Debug/MainWindow.g.cs
@@ -0,0 +1,258 @@
+#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "7982BB2CD47CA9D92B56E0A0025E54ADB266ACB1089FAB9E71DCA5C19EB44EA7"
+//------------------------------------------------------------------------------
+//
+// Этот код создан программой.
+// Исполняемая версия:4.0.30319.42000
+//
+// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+// повторной генерации кода.
+//
+//------------------------------------------------------------------------------
+
+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;
+using WpfApp1;
+
+
+namespace WpfApp1 {
+
+
+ ///
+ /// MainWindow
+ ///
+ 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.Button btnAddDep;
+
+ #line default
+ #line hidden
+
+
+ #line 19 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button btnRemoveDep;
+
+ #line default
+ #line hidden
+
+
+ #line 20 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button btnRenameDep;
+
+ #line default
+ #line hidden
+
+
+ #line 21 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.ListView lvDepart;
+
+ #line default
+ #line hidden
+
+
+ #line 31 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox txtNameDep;
+
+ #line default
+ #line hidden
+
+
+ #line 34 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.ListView lvEmployee;
+
+ #line default
+ #line hidden
+
+
+ #line 50 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button btnAddEmp;
+
+ #line default
+ #line hidden
+
+
+ #line 51 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button btnRemoveEmp;
+
+ #line default
+ #line hidden
+
+
+ #line 52 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button btnRenameEmp;
+
+ #line default
+ #line hidden
+
+
+ #line 53 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox txtNameEmp;
+
+ #line default
+ #line hidden
+
+
+ #line 54 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox txtAgeEmp;
+
+ #line default
+ #line hidden
+
+
+ #line 55 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox txtSalaryEmp;
+
+ #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("/WpfApp1;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.btnAddDep = ((System.Windows.Controls.Button)(target));
+
+ #line 18 "..\..\MainWindow.xaml"
+ this.btnAddDep.Click += new System.Windows.RoutedEventHandler(this.BtnAddDep_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 2:
+ this.btnRemoveDep = ((System.Windows.Controls.Button)(target));
+
+ #line 19 "..\..\MainWindow.xaml"
+ this.btnRemoveDep.Click += new System.Windows.RoutedEventHandler(this.BtnRemoveDep_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 3:
+ this.btnRenameDep = ((System.Windows.Controls.Button)(target));
+
+ #line 20 "..\..\MainWindow.xaml"
+ this.btnRenameDep.Click += new System.Windows.RoutedEventHandler(this.BtnRenameDep_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 4:
+ this.lvDepart = ((System.Windows.Controls.ListView)(target));
+
+ #line 21 "..\..\MainWindow.xaml"
+ this.lvDepart.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LvDepart_SelectionChanged);
+
+ #line default
+ #line hidden
+ return;
+ case 5:
+ this.txtNameDep = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 6:
+ this.lvEmployee = ((System.Windows.Controls.ListView)(target));
+
+ #line 34 "..\..\MainWindow.xaml"
+ this.lvEmployee.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LvEmployee_SelectionChanged);
+
+ #line default
+ #line hidden
+ return;
+ case 7:
+ this.btnAddEmp = ((System.Windows.Controls.Button)(target));
+
+ #line 50 "..\..\MainWindow.xaml"
+ this.btnAddEmp.Click += new System.Windows.RoutedEventHandler(this.BtnAddEmp_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 8:
+ this.btnRemoveEmp = ((System.Windows.Controls.Button)(target));
+
+ #line 51 "..\..\MainWindow.xaml"
+ this.btnRemoveEmp.Click += new System.Windows.RoutedEventHandler(this.BtnRemoveEmp_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 9:
+ this.btnRenameEmp = ((System.Windows.Controls.Button)(target));
+
+ #line 52 "..\..\MainWindow.xaml"
+ this.btnRenameEmp.Click += new System.Windows.RoutedEventHandler(this.BtnRenameEmp_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 10:
+ this.txtNameEmp = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 11:
+ this.txtAgeEmp = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 12:
+ this.txtSalaryEmp = ((System.Windows.Controls.TextBox)(target));
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/WpfApp1/obj/Debug/MainWindow.g.i.cs b/WpfApp1/obj/Debug/MainWindow.g.i.cs
new file mode 100644
index 0000000..d3f8fa7
--- /dev/null
+++ b/WpfApp1/obj/Debug/MainWindow.g.i.cs
@@ -0,0 +1,258 @@
+#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "7982BB2CD47CA9D92B56E0A0025E54ADB266ACB1089FAB9E71DCA5C19EB44EA7"
+//------------------------------------------------------------------------------
+//
+// Этот код создан программой.
+// Исполняемая версия:4.0.30319.42000
+//
+// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+// повторной генерации кода.
+//
+//------------------------------------------------------------------------------
+
+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;
+using WpfApp1;
+
+
+namespace WpfApp1 {
+
+
+ ///
+ /// MainWindow
+ ///
+ 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.Button btnAddDep;
+
+ #line default
+ #line hidden
+
+
+ #line 19 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button btnRemoveDep;
+
+ #line default
+ #line hidden
+
+
+ #line 20 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button btnRenameDep;
+
+ #line default
+ #line hidden
+
+
+ #line 21 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.ListView lvDepart;
+
+ #line default
+ #line hidden
+
+
+ #line 31 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox txtNameDep;
+
+ #line default
+ #line hidden
+
+
+ #line 34 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.ListView lvEmployee;
+
+ #line default
+ #line hidden
+
+
+ #line 50 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button btnAddEmp;
+
+ #line default
+ #line hidden
+
+
+ #line 51 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button btnRemoveEmp;
+
+ #line default
+ #line hidden
+
+
+ #line 52 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button btnRenameEmp;
+
+ #line default
+ #line hidden
+
+
+ #line 53 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox txtNameEmp;
+
+ #line default
+ #line hidden
+
+
+ #line 54 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox txtAgeEmp;
+
+ #line default
+ #line hidden
+
+
+ #line 55 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox txtSalaryEmp;
+
+ #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("/WpfApp1;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.btnAddDep = ((System.Windows.Controls.Button)(target));
+
+ #line 18 "..\..\MainWindow.xaml"
+ this.btnAddDep.Click += new System.Windows.RoutedEventHandler(this.BtnAddDep_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 2:
+ this.btnRemoveDep = ((System.Windows.Controls.Button)(target));
+
+ #line 19 "..\..\MainWindow.xaml"
+ this.btnRemoveDep.Click += new System.Windows.RoutedEventHandler(this.BtnRemoveDep_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 3:
+ this.btnRenameDep = ((System.Windows.Controls.Button)(target));
+
+ #line 20 "..\..\MainWindow.xaml"
+ this.btnRenameDep.Click += new System.Windows.RoutedEventHandler(this.BtnRenameDep_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 4:
+ this.lvDepart = ((System.Windows.Controls.ListView)(target));
+
+ #line 21 "..\..\MainWindow.xaml"
+ this.lvDepart.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LvDepart_SelectionChanged);
+
+ #line default
+ #line hidden
+ return;
+ case 5:
+ this.txtNameDep = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 6:
+ this.lvEmployee = ((System.Windows.Controls.ListView)(target));
+
+ #line 34 "..\..\MainWindow.xaml"
+ this.lvEmployee.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LvEmployee_SelectionChanged);
+
+ #line default
+ #line hidden
+ return;
+ case 7:
+ this.btnAddEmp = ((System.Windows.Controls.Button)(target));
+
+ #line 50 "..\..\MainWindow.xaml"
+ this.btnAddEmp.Click += new System.Windows.RoutedEventHandler(this.BtnAddEmp_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 8:
+ this.btnRemoveEmp = ((System.Windows.Controls.Button)(target));
+
+ #line 51 "..\..\MainWindow.xaml"
+ this.btnRemoveEmp.Click += new System.Windows.RoutedEventHandler(this.BtnRemoveEmp_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 9:
+ this.btnRenameEmp = ((System.Windows.Controls.Button)(target));
+
+ #line 52 "..\..\MainWindow.xaml"
+ this.btnRenameEmp.Click += new System.Windows.RoutedEventHandler(this.BtnRenameEmp_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 10:
+ this.txtNameEmp = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 11:
+ this.txtAgeEmp = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 12:
+ this.txtSalaryEmp = ((System.Windows.Controls.TextBox)(target));
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/WpfApp1/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/WpfApp1/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll
new file mode 100644
index 0000000..35981e2
Binary files /dev/null and b/WpfApp1/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ
diff --git a/WpfApp1/obj/Debug/WpfApp.csproj.CoreCompileInputs.cache b/WpfApp1/obj/Debug/WpfApp.csproj.CoreCompileInputs.cache
new file mode 100644
index 0000000..9fcbb6c
--- /dev/null
+++ b/WpfApp1/obj/Debug/WpfApp.csproj.CoreCompileInputs.cache
@@ -0,0 +1 @@
+ba3dfeb2137a7a671d992ec8227144cf0e756ce9
diff --git a/WpfApp1/obj/Debug/WpfApp.csproj.FileListAbsolute.txt b/WpfApp1/obj/Debug/WpfApp.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..aa52171
--- /dev/null
+++ b/WpfApp1/obj/Debug/WpfApp.csproj.FileListAbsolute.txt
@@ -0,0 +1,49 @@
+L:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp.csprojAssemblyReference.cache
+L:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\MainWindow.g.cs
+L:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\App.g.cs
+L:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp1_MarkupCompile.cache
+L:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp1_MarkupCompile.lref
+L:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\bin\Debug\WpfApp1.exe.config
+L:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\bin\Debug\WpfApp1.exe
+L:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\bin\Debug\WpfApp1.pdb
+L:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\MainWindow.baml
+L:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp1.g.resources
+L:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp1.Properties.Resources.resources
+L:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp.csproj.GenerateResource.cache
+L:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp.csproj.CoreCompileInputs.cache
+L:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp1.exe
+L:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp1.pdb
+L:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\AddDep.g.cs
+L:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\AddDep.baml
+G:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\bin\Debug\WpfApp1.exe.config
+G:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\bin\Debug\WpfApp1.exe
+G:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\bin\Debug\WpfApp1.pdb
+G:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp.csprojAssemblyReference.cache
+G:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\AddDep.g.cs
+G:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\MainWindow.g.cs
+G:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\App.g.cs
+G:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp1_MarkupCompile.cache
+G:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp1_MarkupCompile.lref
+G:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\AddDep.baml
+G:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\MainWindow.baml
+G:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp1.g.resources
+G:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp1.Properties.Resources.resources
+G:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp.csproj.GenerateResource.cache
+G:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp.csproj.CoreCompileInputs.cache
+G:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp1.exe
+G:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp1.pdb
+F:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\bin\Debug\WpfApp1.exe.config
+F:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\bin\Debug\WpfApp1.exe
+F:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\bin\Debug\WpfApp1.pdb
+F:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp.csprojAssemblyReference.cache
+F:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\MainWindow.g.cs
+F:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\App.g.cs
+F:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp1_MarkupCompile.cache
+F:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp1_MarkupCompile.lref
+F:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\MainWindow.baml
+F:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp1.g.resources
+F:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp1.Properties.Resources.resources
+F:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp.csproj.GenerateResource.cache
+F:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp.csproj.CoreCompileInputs.cache
+F:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp1.exe
+F:\Обучение\GeekBrain\С#_level2\Урок_5\WPF\WpfApp1\WpfApp1\obj\Debug\WpfApp1.pdb
diff --git a/WpfApp1/obj/Debug/WpfApp.csproj.GenerateResource.cache b/WpfApp1/obj/Debug/WpfApp.csproj.GenerateResource.cache
new file mode 100644
index 0000000..1412a26
Binary files /dev/null and b/WpfApp1/obj/Debug/WpfApp.csproj.GenerateResource.cache differ
diff --git a/WpfApp1/obj/Debug/WpfApp.csprojAssemblyReference.cache b/WpfApp1/obj/Debug/WpfApp.csprojAssemblyReference.cache
new file mode 100644
index 0000000..abd04f4
Binary files /dev/null and b/WpfApp1/obj/Debug/WpfApp.csprojAssemblyReference.cache differ
diff --git a/WpfApp1/obj/Debug/WpfApp1.Properties.Resources.resources b/WpfApp1/obj/Debug/WpfApp1.Properties.Resources.resources
new file mode 100644
index 0000000..6c05a97
Binary files /dev/null and b/WpfApp1/obj/Debug/WpfApp1.Properties.Resources.resources differ
diff --git a/WpfApp1/obj/Debug/WpfApp1.csproj.CoreCompileInputs.cache b/WpfApp1/obj/Debug/WpfApp1.csproj.CoreCompileInputs.cache
new file mode 100644
index 0000000..b890bdc
--- /dev/null
+++ b/WpfApp1/obj/Debug/WpfApp1.csproj.CoreCompileInputs.cache
@@ -0,0 +1 @@
+b85e61592e3b4902a7019e5d3c9fcec4e983fd8a
diff --git a/WpfApp1/obj/Debug/WpfApp1.csprojAssemblyReference.cache b/WpfApp1/obj/Debug/WpfApp1.csprojAssemblyReference.cache
new file mode 100644
index 0000000..824bb0b
Binary files /dev/null and b/WpfApp1/obj/Debug/WpfApp1.csprojAssemblyReference.cache differ
diff --git a/WpfApp1/obj/Debug/WpfApp1.exe b/WpfApp1/obj/Debug/WpfApp1.exe
new file mode 100644
index 0000000..6010e90
Binary files /dev/null and b/WpfApp1/obj/Debug/WpfApp1.exe differ
diff --git a/WpfApp1/obj/Debug/WpfApp1.g.resources b/WpfApp1/obj/Debug/WpfApp1.g.resources
new file mode 100644
index 0000000..b83d848
Binary files /dev/null and b/WpfApp1/obj/Debug/WpfApp1.g.resources differ
diff --git a/WpfApp1/obj/Debug/WpfApp1.pdb b/WpfApp1/obj/Debug/WpfApp1.pdb
new file mode 100644
index 0000000..f556a48
Binary files /dev/null and b/WpfApp1/obj/Debug/WpfApp1.pdb differ
diff --git a/WpfApp1/obj/Debug/WpfApp1_MarkupCompile.cache b/WpfApp1/obj/Debug/WpfApp1_MarkupCompile.cache
new file mode 100644
index 0000000..78a560c
--- /dev/null
+++ b/WpfApp1/obj/Debug/WpfApp1_MarkupCompile.cache
@@ -0,0 +1,20 @@
+WpfApp1
+
+
+winexe
+C#
+.cs
+F:\Обучение\GeekBrain\С#_level2\Урок_5\HW\WPF_Lesson5\WpfApp1\obj\Debug\
+WpfApp1
+none
+false
+DEBUG;TRACE
+F:\Обучение\GeekBrain\С#_level2\Урок_5\HW\WPF_Lesson5\WpfApp1\App.xaml
+11151548125
+
+10-780442369
+13-1505183044
+MainWindow.xaml;
+
+True
+
diff --git a/WpfApp1/obj/Debug/WpfApp1_MarkupCompile.i.cache b/WpfApp1/obj/Debug/WpfApp1_MarkupCompile.i.cache
new file mode 100644
index 0000000..e6baaad
--- /dev/null
+++ b/WpfApp1/obj/Debug/WpfApp1_MarkupCompile.i.cache
@@ -0,0 +1,20 @@
+WpfApp1
+
+
+winexe
+C#
+.cs
+F:\Обучение\GeekBrain\С#_level2\Урок_5\HW\WPF_Lesson5\WpfApp1\obj\Debug\
+WpfApp1
+none
+false
+DEBUG;TRACE
+F:\Обучение\GeekBrain\С#_level2\Урок_5\HW\WPF_Lesson5\WpfApp1\App.xaml
+11151548125
+
+8-531510242
+13-1505183044
+MainWindow.xaml;
+
+False
+
diff --git a/WpfApp1/obj/Debug/WpfApp1_MarkupCompile.lref b/WpfApp1/obj/Debug/WpfApp1_MarkupCompile.lref
new file mode 100644
index 0000000..7ceb211
--- /dev/null
+++ b/WpfApp1/obj/Debug/WpfApp1_MarkupCompile.lref
@@ -0,0 +1,4 @@
+
+
+FF:\Обучение\GeekBrain\С#_level2\Урок_5\HW\WPF_Lesson5\WpfApp1\MainWindow.xaml;;
+