void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.EditPartnerButton = ((System.Windows.Controls.Button)(target)); #line 13 "..\..\..\..\Windows\UserControls\EditPartnerControl.xaml" this.EditPartnerButton.Click += new System.Windows.RoutedEventHandler(this.EditPartnerButton_Click); #line default #line hidden return; case 2: this.CancelPartnerButton = ((System.Windows.Controls.Button)(target)); #line 20 "..\..\..\..\Windows\UserControls\EditPartnerControl.xaml" this.CancelPartnerButton.Click += new System.Windows.RoutedEventHandler(this.CancelPartnerButton_Click); #line default #line hidden return; case 3: this.partnerForm = ((InvoiceManager.Windows.UserControls.PartnerForm)(target)); return; } this._contentLoaded = true; }