void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Booking = ((GradedUnitProject.MainWindow)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Booking = ((GradedUnitProject.MainWindow)(target)); return; case 2: this.txtName = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.txtAddress = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.txtTown = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.txtPostcode = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.txtPhone = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.btnBooking = ((System.Windows.Controls.Button)(target)); #line 16 "..\..\BookingWindow.xaml" this.btnBooking.Click += new System.Windows.RoutedEventHandler(this.btnBooking_Click); #line default #line hidden return; } this._contentLoaded = true; }