FontDialog.FontChooser.System C# (CSharp) Method

System() private method

private System ( int connectionId, object target ) : void
connectionId int
target object
return void
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
            switch (connectionId)
            {
            case 1:
            this.fontFamilyTextBox = ((System.Windows.Controls.TextBox)(target));
            return;
            case 2:
            this.fontFamilyList = ((System.Windows.Controls.ListBox)(target));
            return;
            case 3:
            this.typefaceList = ((System.Windows.Controls.ListBox)(target));
            return;
            case 4:
            this.sizeTextBox = ((System.Windows.Controls.TextBox)(target));
            return;
            case 5:
            this.sizeList = ((System.Windows.Controls.ListBox)(target));
            return;
            case 6:
            this.underlineCheckBox = ((System.Windows.Controls.CheckBox)(target));
            return;
            case 7:
            this.baselineCheckBox = ((System.Windows.Controls.CheckBox)(target));
            return;
            case 8:
            this.strikethroughCheckBox = ((System.Windows.Controls.CheckBox)(target));
            return;
            case 9:
            this.overlineCheckBox = ((System.Windows.Controls.CheckBox)(target));
            return;
            case 10:
            this.tabControl = ((System.Windows.Controls.TabControl)(target));
            return;
            case 11:
            this.samplesTab = ((System.Windows.Controls.TabItem)(target));
            return;
            case 12:
            this.fontFamilyNameRun = ((System.Windows.Documents.Run)(target));
            return;
            case 13:
            this.fontFamilySamples = ((System.Windows.Controls.RichTextBox)(target));
            return;
            case 14:
            this.typefaceNameRun = ((System.Windows.Documents.Run)(target));
            return;
            case 15:
            this.typefaceSamples = ((System.Windows.Controls.RichTextBox)(target));
            return;
            case 16:
            this.typographyTab = ((System.Windows.Controls.TabItem)(target));
            return;
            case 17:
            this.featureList = ((System.Windows.Controls.ListBox)(target));
            return;
            case 18:
            this.typographyFeaturePage = ((System.Windows.Controls.Grid)(target));
            return;
            case 19:
            this.descriptiveTextTab = ((System.Windows.Controls.TabItem)(target));
            return;
            case 20:
            this.fontDescriptionBox = ((System.Windows.Controls.RichTextBox)(target));
            return;
            case 21:
            this.fontLicenseBox = ((System.Windows.Controls.TextBox)(target));
            return;
            case 22:
            this.previewTextBox = ((System.Windows.Controls.TextBox)(target));
            return;
            case 23:
            
            #line 180 "..\..\FontChooser.xaml"
            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnOkButtonClicked);
            
            #line default
            #line hidden
            return;
            case 24:
            
            #line 181 "..\..\FontChooser.xaml"
            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnCancelButtonClicked);
            
            #line default
            #line hidden
            return;
            }
            this._contentLoaded = true;
        }
    }