private void btProductsWeight_Click(object sender, RoutedEventArgs e) { ProductsWeight ProductsWeight = new ProductsWeight(); ProductsWeight.Show(); Close(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ProductsWeightWindow = ((KitchenBase.Pages.ProductsWeight)(target)); #line 8 "..\..\..\Pages\ProductsWeight.xaml" this.ProductsWeightWindow.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.lblProductWeightTitle = ((System.Windows.Controls.Label)(target)); return; case 3: this.lblProductWeight = ((System.Windows.Controls.Label)(target)); return; case 4: this.tbWeight = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.btInsert = ((System.Windows.Controls.Button)(target)); #line 53 "..\..\..\Pages\ProductsWeight.xaml" this.btInsert.Click += new System.Windows.RoutedEventHandler(this.btInsert_Click); #line default #line hidden return; case 6: this.btUpdate = ((System.Windows.Controls.Button)(target)); #line 54 "..\..\..\Pages\ProductsWeight.xaml" this.btUpdate.Click += new System.Windows.RoutedEventHandler(this.btUpdate_Click); #line default #line hidden return; case 7: this.btDelete = ((System.Windows.Controls.Button)(target)); #line 55 "..\..\..\Pages\ProductsWeight.xaml" this.btDelete.Click += new System.Windows.RoutedEventHandler(this.btDelete_Click); #line default #line hidden return; case 8: this.tbSearch = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.btSearch = ((System.Windows.Controls.Button)(target)); #line 59 "..\..\..\Pages\ProductsWeight.xaml" this.btSearch.Click += new System.Windows.RoutedEventHandler(this.btSearch_Click); #line default #line hidden return; case 10: this.btFilter = ((System.Windows.Controls.Button)(target)); #line 60 "..\..\..\Pages\ProductsWeight.xaml" this.btFilter.Click += new System.Windows.RoutedEventHandler(this.btFilter_Click); #line default #line hidden return; case 11: this.btCancel = ((System.Windows.Controls.Button)(target)); #line 61 "..\..\..\Pages\ProductsWeight.xaml" this.btCancel.Click += new System.Windows.RoutedEventHandler(this.btCancel_Click); #line default #line hidden return; case 12: this.dgSostavaBluda = ((System.Windows.Controls.DataGrid)(target)); #line 64 "..\..\..\Pages\ProductsWeight.xaml" this.dgSostavaBluda.AutoGeneratingColumn += new System.EventHandler <System.Windows.Controls.DataGridAutoGeneratingColumnEventArgs>(this.dgSostavaBluda_AutoGeneratingColumn); #line default #line hidden return; case 13: this.Home = ((System.Windows.Controls.Button)(target)); #line 68 "..\..\..\Pages\ProductsWeight.xaml" this.Home.Click += new System.Windows.RoutedEventHandler(this.Home_Click); #line default #line hidden return; case 14: this.btnRightMenuShow = ((System.Windows.Controls.Button)(target)); #line 73 "..\..\..\Pages\ProductsWeight.xaml" this.btnRightMenuShow.Click += new System.Windows.RoutedEventHandler(this.btnRightMenuShow_Click); #line default #line hidden return; case 15: this.pnlRightMenu = ((System.Windows.Controls.StackPanel)(target)); return; case 16: this.btnRightMenuHide = ((System.Windows.Controls.Button)(target)); #line 80 "..\..\..\Pages\ProductsWeight.xaml" this.btnRightMenuHide.Click += new System.Windows.RoutedEventHandler(this.btnRightMenuHide_Click); #line default #line hidden return; case 17: this.pnlRight = ((System.Windows.Controls.StackPanel)(target)); return; case 18: #line 88 "..\..\..\Pages\ProductsWeight.xaml" ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked); #line default #line hidden return; case 19: #line 89 "..\..\..\Pages\ProductsWeight.xaml" ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton1_Checked); #line default #line hidden return; case 20: #line 90 "..\..\..\Pages\ProductsWeight.xaml" ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked_1); #line default #line hidden return; case 21: #line 92 "..\..\..\Pages\ProductsWeight.xaml" ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked_2); #line default #line hidden return; case 22: #line 93 "..\..\..\Pages\ProductsWeight.xaml" ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked_3); #line default #line hidden return; case 23: #line 94 "..\..\..\Pages\ProductsWeight.xaml" ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked_4); #line default #line hidden return; case 24: #line 96 "..\..\..\Pages\ProductsWeight.xaml" ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked_5); #line default #line hidden return; case 25: #line 97 "..\..\..\Pages\ProductsWeight.xaml" ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked_6); #line default #line hidden return; } this._contentLoaded = true; }