123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592 |
- #pragma checksum "..\..\SysAdmin.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "94AE40D13B4293F721BEE1959CDB7219244555DA5C7D3501F0A5365C25A13ACE"
- //------------------------------------------------------------------------------
- // <auto-generated>
- // Этот код создан программой.
- // Исполняемая версия:4.0.30319.42000
- //
- // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
- // повторной генерации кода.
- // </auto-generated>
- //------------------------------------------------------------------------------
- using System;
- using System.Diagnostics;
- using System.Windows;
- using System.Windows.Automation;
- using System.Windows.Controls;
- using System.Windows.Controls.Primitives;
- using System.Windows.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 mateo;
- namespace mateo {
-
-
- /// <summary>
- /// SysAdmin
- /// </summary>
- public partial class SysAdmin : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
-
-
- #line 15 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBlock txtFio_Admin;
-
- #line default
- #line hidden
-
-
- #line 29 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.DataGrid datagridAttraction;
-
- #line default
- #line hidden
-
-
- #line 70 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Grid gridAddAttraction;
-
- #line default
- #line hidden
-
-
- #line 74 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox txtName_Attraction;
-
- #line default
- #line hidden
-
-
- #line 78 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox txtDescription_Attraction;
-
- #line default
- #line hidden
-
-
- #line 82 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox txtQuantity_Attraction;
-
- #line default
- #line hidden
-
-
- #line 86 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox txtPriceOld_Attraction;
-
- #line default
- #line hidden
-
-
- #line 90 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox txtPriceBaby_Attraction;
-
- #line default
- #line hidden
-
-
- #line 94 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox comboboxStatus_Attraction;
-
- #line default
- #line hidden
-
-
- #line 99 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox comboboxType_Attraction;
-
- #line default
- #line hidden
-
-
- #line 103 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Image imageAdd_Attraction;
-
- #line default
- #line hidden
-
-
- #line 109 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Grid gridChangeAttraction;
-
- #line default
- #line hidden
-
-
- #line 113 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox txtChange_NameAttraction;
-
- #line default
- #line hidden
-
-
- #line 117 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox txtChange_Description;
-
- #line default
- #line hidden
-
-
- #line 121 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox txtChange_Quantity;
-
- #line default
- #line hidden
-
-
- #line 125 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox txtChange_PriceOldAttraction;
-
- #line default
- #line hidden
-
-
- #line 129 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox txtChange_PriceBabyAttraction;
-
- #line default
- #line hidden
-
-
- #line 133 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox comboboxChange_StatusAttraction;
-
- #line default
- #line hidden
-
-
- #line 138 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox comboboxChange_TypeAttraction;
-
- #line default
- #line hidden
-
-
- #line 142 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Image imageChange_Attraction;
-
- #line default
- #line hidden
-
-
- #line 151 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TabItem tabEmployees;
-
- #line default
- #line hidden
-
-
- #line 153 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.DataGrid datagridEmployees;
-
- #line default
- #line hidden
-
-
- #line 172 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Grid gridAddEmployees;
-
- #line default
- #line hidden
-
-
- #line 176 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox txtLastName_Employyes;
-
- #line default
- #line hidden
-
-
- #line 180 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox txtFirstName_Employyes;
-
- #line default
- #line hidden
-
-
- #line 184 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox txtMiddleName_Employees;
-
- #line default
- #line hidden
-
-
- #line 188 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox comboboxRole_Employees;
-
- #line default
- #line hidden
-
-
- #line 195 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox comboboxStatus_Employees;
-
- #line default
- #line hidden
-
-
- #line 230 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Grid gridChangeEmployees;
-
- #line default
- #line hidden
-
-
- #line 234 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox txtLastName_ChangeEmployyes;
-
- #line default
- #line hidden
-
-
- #line 238 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox txtFirstName_ChangeEmployyes;
-
- #line default
- #line hidden
-
-
- #line 242 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox txtMiddleName_ChangeEmployees;
-
- #line default
- #line hidden
-
-
- #line 246 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox comboboxRole_ChangeEmployees;
-
- #line default
- #line hidden
-
-
- #line 253 "..\..\SysAdmin.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox comboboxStatus_ChangeEmployees;
-
- #line default
- #line hidden
-
- private bool _contentLoaded;
-
- /// <summary>
- /// InitializeComponent
- /// </summary>
- [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("/mateo;component/sysadmin.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\SysAdmin.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.txtFio_Admin = ((System.Windows.Controls.TextBlock)(target));
- return;
- case 2:
-
- #line 16 "..\..\SysAdmin.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnLogout);
-
- #line default
- #line hidden
- return;
- case 3:
-
- #line 19 "..\..\SysAdmin.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnExit);
-
- #line default
- #line hidden
- return;
- case 4:
- this.datagridAttraction = ((System.Windows.Controls.DataGrid)(target));
- return;
- case 6:
-
- #line 68 "..\..\SysAdmin.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnAddNewAttractionClick);
-
- #line default
- #line hidden
- return;
- case 7:
- this.gridAddAttraction = ((System.Windows.Controls.Grid)(target));
- return;
- case 8:
- this.txtName_Attraction = ((System.Windows.Controls.TextBox)(target));
- return;
- case 9:
- this.txtDescription_Attraction = ((System.Windows.Controls.TextBox)(target));
- return;
- case 10:
- this.txtQuantity_Attraction = ((System.Windows.Controls.TextBox)(target));
- return;
- case 11:
- this.txtPriceOld_Attraction = ((System.Windows.Controls.TextBox)(target));
- return;
- case 12:
- this.txtPriceBaby_Attraction = ((System.Windows.Controls.TextBox)(target));
- return;
- case 13:
- this.comboboxStatus_Attraction = ((System.Windows.Controls.ComboBox)(target));
- return;
- case 14:
- this.comboboxType_Attraction = ((System.Windows.Controls.ComboBox)(target));
- return;
- case 15:
- this.imageAdd_Attraction = ((System.Windows.Controls.Image)(target));
- return;
- case 16:
-
- #line 104 "..\..\SysAdmin.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnAddImage);
-
- #line default
- #line hidden
- return;
- case 17:
-
- #line 105 "..\..\SysAdmin.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnAddAttractionClick);
-
- #line default
- #line hidden
- return;
- case 18:
-
- #line 106 "..\..\SysAdmin.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnBackAttractionClick);
-
- #line default
- #line hidden
- return;
- case 19:
- this.gridChangeAttraction = ((System.Windows.Controls.Grid)(target));
- return;
- case 20:
- this.txtChange_NameAttraction = ((System.Windows.Controls.TextBox)(target));
- return;
- case 21:
- this.txtChange_Description = ((System.Windows.Controls.TextBox)(target));
- return;
- case 22:
- this.txtChange_Quantity = ((System.Windows.Controls.TextBox)(target));
- return;
- case 23:
- this.txtChange_PriceOldAttraction = ((System.Windows.Controls.TextBox)(target));
- return;
- case 24:
- this.txtChange_PriceBabyAttraction = ((System.Windows.Controls.TextBox)(target));
- return;
- case 25:
- this.comboboxChange_StatusAttraction = ((System.Windows.Controls.ComboBox)(target));
- return;
- case 26:
- this.comboboxChange_TypeAttraction = ((System.Windows.Controls.ComboBox)(target));
- return;
- case 27:
- this.imageChange_Attraction = ((System.Windows.Controls.Image)(target));
- return;
- case 28:
-
- #line 143 "..\..\SysAdmin.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnChangeImageClick);
-
- #line default
- #line hidden
- return;
- case 29:
-
- #line 144 "..\..\SysAdmin.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnSaveChangeClick);
-
- #line default
- #line hidden
- return;
- case 30:
-
- #line 145 "..\..\SysAdmin.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnBackAttractionClick);
-
- #line default
- #line hidden
- return;
- case 31:
- this.tabEmployees = ((System.Windows.Controls.TabItem)(target));
- return;
- case 32:
- this.datagridEmployees = ((System.Windows.Controls.DataGrid)(target));
- return;
- case 34:
-
- #line 170 "..\..\SysAdmin.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnAddNewEmployeesClick);
-
- #line default
- #line hidden
- return;
- case 35:
- this.gridAddEmployees = ((System.Windows.Controls.Grid)(target));
- return;
- case 36:
- this.txtLastName_Employyes = ((System.Windows.Controls.TextBox)(target));
- return;
- case 37:
- this.txtFirstName_Employyes = ((System.Windows.Controls.TextBox)(target));
- return;
- case 38:
- this.txtMiddleName_Employees = ((System.Windows.Controls.TextBox)(target));
- return;
- case 39:
- this.comboboxRole_Employees = ((System.Windows.Controls.ComboBox)(target));
- return;
- case 40:
- this.comboboxStatus_Employees = ((System.Windows.Controls.ComboBox)(target));
- return;
- case 41:
-
- #line 226 "..\..\SysAdmin.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnAddEmployeesClick);
-
- #line default
- #line hidden
- return;
- case 42:
-
- #line 227 "..\..\SysAdmin.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnBackEmployeesClick);
-
- #line default
- #line hidden
- return;
- case 43:
- this.gridChangeEmployees = ((System.Windows.Controls.Grid)(target));
- return;
- case 44:
- this.txtLastName_ChangeEmployyes = ((System.Windows.Controls.TextBox)(target));
- return;
- case 45:
- this.txtFirstName_ChangeEmployyes = ((System.Windows.Controls.TextBox)(target));
- return;
- case 46:
- this.txtMiddleName_ChangeEmployees = ((System.Windows.Controls.TextBox)(target));
- return;
- case 47:
- this.comboboxRole_ChangeEmployees = ((System.Windows.Controls.ComboBox)(target));
- return;
- case 48:
- this.comboboxStatus_ChangeEmployees = ((System.Windows.Controls.ComboBox)(target));
- return;
- case 49:
-
- #line 260 "..\..\SysAdmin.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnSaveChangeEmployeesClick);
-
- #line default
- #line hidden
- return;
- case 50:
-
- #line 261 "..\..\SysAdmin.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnBackEmployeesClick);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
-
- [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.Performance", "CA1800:DoNotCastUnnecessarily")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 5:
-
- #line 61 "..\..\SysAdmin.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnChangeAttractionClick);
-
- #line default
- #line hidden
- break;
- case 33:
-
- #line 163 "..\..\SysAdmin.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnChangeEmployeesClick);
-
- #line default
- #line hidden
- break;
- }
- }
- }
- }
|