void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.DlgSelectContacts = ((PNotes.NET.WndSelectContacts)(target)); #line 17 "..\..\WndSelectContacts.xaml" this.DlgSelectContacts.Loaded += new System.Windows.RoutedEventHandler(this.DlgSelectContacts_Loaded); #line default #line hidden return; case 2: this.lstContacts = ((System.Windows.Controls.ListBox)(target)); return; case 3: this.cmdOK = ((System.Windows.Controls.Button)(target)); #line 29 "..\..\WndSelectContacts.xaml" this.cmdOK.Click += new System.Windows.RoutedEventHandler(this.cmdOK_Click); #line default #line hidden return; case 4: this.cmdCancel = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }