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

            case 2:
                this.lstTypefaces = ((System.Windows.Controls.ListBox)(target));
                return;

            case 3:
                this.txtSampleText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.fontSizeSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 5:
                this.colorPicker = ((ColorFont.ColorPicker)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.lstFamily = ((System.Windows.Controls.ListBox)(target));
     return;
     case 2:
     this.lstTypefaces = ((System.Windows.Controls.ListBox)(target));
     return;
     case 3:
     this.txtSampleText = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.fontSizeSlider = ((System.Windows.Controls.Slider)(target));
     return;
     case 5:
     this.colorPicker = ((ColorFont.ColorPicker)(target));
     return;
     }
     this._contentLoaded = true;
 }