void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.root = ((FrontView.ModalDialog)(target)); return; case 2: this.grd_YesNo = ((System.Windows.Controls.Primitives.UniformGrid)(target)); return; case 3: this.YesButton = ((System.Windows.Controls.Button)(target)); #line 20 "..\..\..\ModalDialog.xaml" this.YesButton.Click += new System.Windows.RoutedEventHandler(this.YesButton_Click); #line default #line hidden return; case 4: this.NoButton = ((System.Windows.Controls.Button)(target)); #line 21 "..\..\..\ModalDialog.xaml" this.NoButton.Click += new System.Windows.RoutedEventHandler(this.NoButton_Click); #line default #line hidden return; case 5: this.grd_Ok = ((System.Windows.Controls.Primitives.UniformGrid)(target)); return; case 6: this.OkButton = ((System.Windows.Controls.Button)(target)); #line 25 "..\..\..\ModalDialog.xaml" this.OkButton.Click += new System.Windows.RoutedEventHandler(this.OkButton_Click); #line default #line hidden return; } this._contentLoaded = true; }