void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 2:
                this.MessageWindow = ((NavigationAndDialogWpf.MessageWindow)(target));
                return;
            }
            this._contentLoaded = true;
        }