void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.DlgMessageBox = ((PNotes.NET.WndMessageBox)(target)); return; case 2: this.imgIcon = ((System.Windows.Controls.Image)(target)); return; case 3: this.txbText = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.cmdOK = ((System.Windows.Controls.Button)(target)); #line 32 "..\..\WndMessageBox.xaml" this.cmdOK.Click += new System.Windows.RoutedEventHandler(this.cmdOK_Click); #line default #line hidden return; case 5: this.cmdYes = ((System.Windows.Controls.Button)(target)); #line 33 "..\..\WndMessageBox.xaml" this.cmdYes.Click += new System.Windows.RoutedEventHandler(this.cmdYes_Click); #line default #line hidden return; case 6: this.cmdNo = ((System.Windows.Controls.Button)(target)); #line 34 "..\..\WndMessageBox.xaml" this.cmdNo.Click += new System.Windows.RoutedEventHandler(this.cmdNo_Click); #line default #line hidden return; case 7: this.cmdCancel = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\WndMessageBox.xaml" this.cmdCancel.Click += new System.Windows.RoutedEventHandler(this.cmdCancel_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.DlgMessageBox = ((PNotes.NET.WndMessageBox)(target)); return; case 2: this.imgIcon = ((System.Windows.Controls.Image)(target)); return; case 3: this.txbText = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.cmdOK = ((System.Windows.Controls.Button)(target)); #line 32 "..\..\WndMessageBox.xaml" this.cmdOK.Click += new System.Windows.RoutedEventHandler(this.cmdOK_Click); #line default #line hidden return; case 5: this.cmdYes = ((System.Windows.Controls.Button)(target)); #line 33 "..\..\WndMessageBox.xaml" this.cmdYes.Click += new System.Windows.RoutedEventHandler(this.cmdYes_Click); #line default #line hidden return; case 6: this.cmdNo = ((System.Windows.Controls.Button)(target)); #line 34 "..\..\WndMessageBox.xaml" this.cmdNo.Click += new System.Windows.RoutedEventHandler(this.cmdNo_Click); #line default #line hidden return; case 7: this.cmdCancel = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\WndMessageBox.xaml" this.cmdCancel.Click += new System.Windows.RoutedEventHandler(this.cmdCancel_Click); #line default #line hidden return; } this._contentLoaded = true; }