void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CustomMessageBoxWindow = ((ES.UI.CommonControls.CustomMessageBox)(target));
                return;

            case 2:
                this.ShellHeader = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.WindowHeader = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.txtWindowTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.CloseButton = ((System.Windows.Controls.Button)(target));

            #line 65 "..\..\..\..\CommonControls\CustomMessageBox.xaml"
                this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 82 "..\..\..\..\CommonControls\CustomMessageBox.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.CustomMessageBoxWindow = ((ES.UI.CommonControls.CustomMessageBox)(target));
     return;
     case 2:
     this.ShellHeader = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.WindowHeader = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.txtWindowTitle = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.CloseButton = ((System.Windows.Controls.Button)(target));
     
     #line 65 "..\..\..\..\CommonControls\CustomMessageBox.xaml"
     this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 82 "..\..\..\..\CommonControls\CustomMessageBox.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }