void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.window = ((FoodSafetyMonitoring.CMessageBoxWindow)(target)); return; case 2: this.grid = ((System.Windows.Controls.Grid)(target)); return; case 3: #line 111 "..\..\CMessageBoxWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseWindowButton_Click); #line default #line hidden return; case 4: #line 117 "..\..\CMessageBoxWindow.xaml" ((System.Windows.Controls.Primitives.Thumb)(target)).DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.Thumb_DragDelta); #line default #line hidden return; case 5: this.OKButton = ((System.Windows.Controls.Button)(target)); #line 134 "..\..\CMessageBoxWindow.xaml" this.OKButton.Click += new System.Windows.RoutedEventHandler(this.OKButton_Click); #line default #line hidden return; case 6: this.YesButton = ((System.Windows.Controls.Button)(target)); #line 137 "..\..\CMessageBoxWindow.xaml" this.YesButton.Click += new System.Windows.RoutedEventHandler(this.YesButton_Click); #line default #line hidden return; case 7: this.NoButton = ((System.Windows.Controls.Button)(target)); #line 140 "..\..\CMessageBoxWindow.xaml" this.NoButton.Click += new System.Windows.RoutedEventHandler(this.NoButton_Click); #line default #line hidden return; case 8: this.CancelButton = ((System.Windows.Controls.Button)(target)); #line 143 "..\..\CMessageBoxWindow.xaml" this.CancelButton.Click += new System.Windows.RoutedEventHandler(this.CancelButton_Click); #line default #line hidden return; } this._contentLoaded = true; }