void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Login = ((Shop.MainWindow)(target)); return; case 2: this.Email_box = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.Password_box = ((System.Windows.Controls.PasswordBox)(target)); return; case 4: this.Login_btn = ((System.Windows.Controls.Button)(target)); #line 48 "..\..\MainWindow.xaml" this.Login_btn.Click += new System.Windows.RoutedEventHandler(this.ButtonClicked); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mw = ((Shop.MainWindow)(target)); return; case 2: this.button = ((System.Windows.Controls.Button)(target)); #line 10 "..\..\MainWindow.xaml" this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click); #line default #line hidden return; case 3: this.button1 = ((System.Windows.Controls.Button)(target)); #line 11 "..\..\MainWindow.xaml" this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click); #line default #line hidden return; case 4: this.button2 = ((System.Windows.Controls.Button)(target)); #line 12 "..\..\MainWindow.xaml" this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click); #line default #line hidden return; case 5: this.label = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }