void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Window = ((Client_WPF_1._0.Window_LocationControl)(target)); return; case 2: this.Button_Back = ((System.Windows.Controls.Button)(target)); #line 74 "..\..\Window_LocationControl.xaml" this.Button_Back.Click += new System.Windows.RoutedEventHandler(this.Button_back_Click); #line default #line hidden return; case 3: this.DataGridSQL = ((System.Windows.Controls.DataGrid)(target)); return; case 6: this.Button_Shearch = ((System.Windows.Controls.Button)(target)); #line 172 "..\..\Window_LocationControl.xaml" this.Button_Shearch.Click += new System.Windows.RoutedEventHandler(this.Button_Shearch_Click); #line default #line hidden return; case 7: this.button_Empty = ((System.Windows.Controls.Button)(target)); #line 179 "..\..\Window_LocationControl.xaml" this.button_Empty.Click += new System.Windows.RoutedEventHandler(this.Button_Empty_Click); #line default #line hidden return; case 8: this.button_Picture = ((System.Windows.Controls.Button)(target)); #line 191 "..\..\Window_LocationControl.xaml" this.button_Picture.Click += new System.Windows.RoutedEventHandler(this.button_Picture_Click); #line default #line hidden return; case 9: this.textBoxLocation_1 = ((System.Windows.Controls.TextBox)(target)); #line 200 "..\..\Window_LocationControl.xaml" this.textBoxLocation_1.KeyDown += new System.Windows.Input.KeyEventHandler(this.OnKeyDownHandler); #line default #line hidden return; case 10: this.textBoxLocation_2 = ((System.Windows.Controls.TextBox)(target)); #line 209 "..\..\Window_LocationControl.xaml" this.textBoxLocation_2.KeyDown += new System.Windows.Input.KeyEventHandler(this.OnKeyDownHandler); #line default #line hidden return; case 11: this.textBoxLocation_3 = ((System.Windows.Controls.TextBox)(target)); #line 218 "..\..\Window_LocationControl.xaml" this.textBoxLocation_3.KeyDown += new System.Windows.Input.KeyEventHandler(this.OnKeyDownHandler); #line default #line hidden return; case 12: this.Ean = ((System.Windows.Controls.TextBox)(target)); #line 248 "..\..\Window_LocationControl.xaml" this.Ean.KeyDown += new System.Windows.Input.KeyEventHandler(this.Ean_KeyDown); #line default #line hidden return; } this._contentLoaded = true; }
private void Button_Location_List_Click(object sender, RoutedEventArgs e) { Window_LocationControl window_LocationControl = new Window_LocationControl(); window_LocationControl.ShowDialog(); }