//Открытие формы private void BtSotrudniki_Click(object sender, RoutedEventArgs e) { Sotrudniki sotrudniki = new Sotrudniki(); sotrudniki.Show(); Visibility = Visibility.Collapsed; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.SotrudnikiWindow = ((INGWPF.Sotrudniki)(target)); #line 9 "..\..\Sotrudniki.xaml" this.SotrudnikiWindow.Loaded += new System.Windows.RoutedEventHandler(this.Sotrudniki_Loaded); #line default #line hidden return; case 2: this.lblTitle = ((System.Windows.Controls.Label)(target)); return; case 3: this.dgSotrudnik = ((System.Windows.Controls.DataGrid)(target)); #line 31 "..\..\Sotrudniki.xaml" this.dgSotrudnik.AutoGeneratingColumn += new System.EventHandler <System.Windows.Controls.DataGridAutoGeneratingColumnEventArgs>(this.DgSotrudnik_AutoGeneratingColumn); #line default #line hidden #line 31 "..\..\Sotrudniki.xaml" this.dgSotrudnik.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DgSotrudnik_SelectionChanged); #line default #line hidden return; case 4: this.lblMidlle_Name_Sotrudnika = ((System.Windows.Controls.Label)(target)); return; case 5: this.tbMidlle_Name_Sotrudnika = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.lblName_Sotrudnika = ((System.Windows.Controls.Label)(target)); return; case 7: this.tbName_Sotrudnika = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.lblLast_Name_Sotrudnika = ((System.Windows.Controls.Label)(target)); return; case 9: this.tbLast_Name_Sotrudnika = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.lblDate_Sotrudnika = ((System.Windows.Controls.Label)(target)); return; case 11: this.tbDate_Sotrudnika = ((System.Windows.Controls.TextBox)(target)); return; case 12: this.lblSeries_Sotrudnika = ((System.Windows.Controls.Label)(target)); return; case 13: this.tbSeries_Sotrudnika = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.lblNumber_Sotrudnika = ((System.Windows.Controls.Label)(target)); return; case 15: this.tbNumber_Sotrudnika = ((System.Windows.Controls.TextBox)(target)); return; case 16: this.lblLogin_Sotrudnika = ((System.Windows.Controls.Label)(target)); return; case 17: this.tbLogin_Sotrudnika = ((System.Windows.Controls.TextBox)(target)); return; case 18: this.lblPassword_Sotrudnika = ((System.Windows.Controls.Label)(target)); return; case 19: this.tbPassword_Sotrudnika = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.lblConfirm_Password_Sotrudnika = ((System.Windows.Controls.Label)(target)); return; case 21: this.tbConfirm_Password_Sotrudnika = ((System.Windows.Controls.TextBox)(target)); return; case 22: this.lblDolgnost = ((System.Windows.Controls.Label)(target)); return; case 23: this.cbDolgnost = ((System.Windows.Controls.ComboBox)(target)); return; case 24: this.btSotrudnikInsertType = ((System.Windows.Controls.Button)(target)); #line 130 "..\..\Sotrudniki.xaml" this.btSotrudnikInsertType.Click += new System.Windows.RoutedEventHandler(this.BtSotrudnikInsertType_Click); #line default #line hidden return; case 25: this.btSotrudnikUpdateType = ((System.Windows.Controls.Button)(target)); #line 131 "..\..\Sotrudniki.xaml" this.btSotrudnikUpdateType.Click += new System.Windows.RoutedEventHandler(this.BtSotrudnikUpdateType_Click); #line default #line hidden return; case 26: this.btSotrudnikDeleteType = ((System.Windows.Controls.Button)(target)); #line 132 "..\..\Sotrudniki.xaml" this.btSotrudnikDeleteType.Click += new System.Windows.RoutedEventHandler(this.BtSotrudnikDeleteType_Click); #line default #line hidden return; case 27: this.btClose = ((System.Windows.Controls.Button)(target)); #line 135 "..\..\Sotrudniki.xaml" this.btClose.Click += new System.Windows.RoutedEventHandler(this.BtClose_Click); #line default #line hidden return; case 28: this.tbSearch = ((System.Windows.Controls.TextBox)(target)); return; case 29: this.btSearch = ((System.Windows.Controls.Button)(target)); #line 139 "..\..\Sotrudniki.xaml" this.btSearch.Click += new System.Windows.RoutedEventHandler(this.BtSearch_Click); #line default #line hidden return; case 30: this.chbFilter = ((System.Windows.Controls.CheckBox)(target)); #line 140 "..\..\Sotrudniki.xaml" this.chbFilter.Click += new System.Windows.RoutedEventHandler(this.ChbFilter_Click); #line default #line hidden return; } this._contentLoaded = true; }