Example #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.faceMode = ((System.Windows.Controls.CheckBox)(target));
     
     #line 14 "..\..\UTextViewer.xaml"
     this.faceMode.Checked += new System.Windows.RoutedEventHandler(this.faceMode_Checked);
     
     #line default
     #line hidden
     
     #line 14 "..\..\UTextViewer.xaml"
     this.faceMode.Unchecked += new System.Windows.RoutedEventHandler(this.faceMode_Unchecked);
     
     #line default
     #line hidden
     return;
     case 2:
     this.pap = ((System.Windows.Controls.RadioButton)(target));
     
     #line 15 "..\..\UTextViewer.xaml"
     this.pap.Checked += new System.Windows.RoutedEventHandler(this.pap_Checked);
     
     #line default
     #line hidden
     return;
     case 3:
     this.stndrt = ((System.Windows.Controls.RadioButton)(target));
     
     #line 16 "..\..\UTextViewer.xaml"
     this.stndrt.Checked += new System.Windows.RoutedEventHandler(this.stndrt_Checked);
     
     #line default
     #line hidden
     return;
     case 4:
     this.sans = ((System.Windows.Controls.RadioButton)(target));
     
     #line 17 "..\..\UTextViewer.xaml"
     this.sans.Checked += new System.Windows.RoutedEventHandler(this.sans_Checked);
     
     #line default
     #line hidden
     return;
     case 5:
     this.plainmode = ((System.Windows.Controls.RadioButton)(target));
     
     #line 18 "..\..\UTextViewer.xaml"
     this.plainmode.Checked += new System.Windows.RoutedEventHandler(this.plainmode_Checked);
     
     #line default
     #line hidden
     return;
     case 6:
     this.withoutFaceNorm = ((System.Windows.Controls.Canvas)(target));
     return;
     case 7:
     this.wfnorm1 = ((UnderTranslator.GMXFontViewr)(target));
     return;
     case 8:
     this.wfnorm2 = ((UnderTranslator.GMXFontViewr)(target));
     return;
     case 9:
     this.wfnorm3 = ((UnderTranslator.GMXFontViewr)(target));
     return;
     case 10:
     this.FaceNorm = ((System.Windows.Controls.Canvas)(target));
     return;
     case 11:
     this.fnorm1 = ((UnderTranslator.GMXFontViewr)(target));
     return;
     case 12:
     this.fnorm2 = ((UnderTranslator.GMXFontViewr)(target));
     return;
     case 13:
     this.fnorm3 = ((UnderTranslator.GMXFontViewr)(target));
     return;
     case 14:
     this.PlaintText = ((System.Windows.Controls.Canvas)(target));
     return;
     case 15:
     this.fplain1 = ((UnderTranslator.GMXFontViewr)(target));
     return;
     case 16:
     this.fplain2 = ((UnderTranslator.GMXFontViewr)(target));
     return;
     case 17:
     this.fplain3 = ((UnderTranslator.GMXFontViewr)(target));
     return;
     case 18:
     this.fplain4 = ((UnderTranslator.GMXFontViewr)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.faceMode = ((System.Windows.Controls.CheckBox)(target));

            #line 14 "..\..\UTextViewer.xaml"
                this.faceMode.Checked += new System.Windows.RoutedEventHandler(this.faceMode_Checked);

            #line default
            #line hidden

            #line 14 "..\..\UTextViewer.xaml"
                this.faceMode.Unchecked += new System.Windows.RoutedEventHandler(this.faceMode_Unchecked);

            #line default
            #line hidden
                return;

            case 2:
                this.pap = ((System.Windows.Controls.RadioButton)(target));

            #line 15 "..\..\UTextViewer.xaml"
                this.pap.Checked += new System.Windows.RoutedEventHandler(this.pap_Checked);

            #line default
            #line hidden
                return;

            case 3:
                this.stndrt = ((System.Windows.Controls.RadioButton)(target));

            #line 16 "..\..\UTextViewer.xaml"
                this.stndrt.Checked += new System.Windows.RoutedEventHandler(this.stndrt_Checked);

            #line default
            #line hidden
                return;

            case 4:
                this.sans = ((System.Windows.Controls.RadioButton)(target));

            #line 17 "..\..\UTextViewer.xaml"
                this.sans.Checked += new System.Windows.RoutedEventHandler(this.sans_Checked);

            #line default
            #line hidden
                return;

            case 5:
                this.plainmode = ((System.Windows.Controls.RadioButton)(target));

            #line 18 "..\..\UTextViewer.xaml"
                this.plainmode.Checked += new System.Windows.RoutedEventHandler(this.plainmode_Checked);

            #line default
            #line hidden
                return;

            case 6:
                this.withoutFaceNorm = ((System.Windows.Controls.Canvas)(target));
                return;

            case 7:
                this.wfnorm1 = ((UnderTranslator.GMXFontViewr)(target));
                return;

            case 8:
                this.wfnorm2 = ((UnderTranslator.GMXFontViewr)(target));
                return;

            case 9:
                this.wfnorm3 = ((UnderTranslator.GMXFontViewr)(target));
                return;

            case 10:
                this.FaceNorm = ((System.Windows.Controls.Canvas)(target));
                return;

            case 11:
                this.fnorm1 = ((UnderTranslator.GMXFontViewr)(target));
                return;

            case 12:
                this.fnorm2 = ((UnderTranslator.GMXFontViewr)(target));
                return;

            case 13:
                this.fnorm3 = ((UnderTranslator.GMXFontViewr)(target));
                return;

            case 14:
                this.PlaintText = ((System.Windows.Controls.Canvas)(target));
                return;

            case 15:
                this.fplain1 = ((UnderTranslator.GMXFontViewr)(target));
                return;

            case 16:
                this.fplain2 = ((UnderTranslator.GMXFontViewr)(target));
                return;

            case 17:
                this.fplain3 = ((UnderTranslator.GMXFontViewr)(target));
                return;

            case 18:
                this.fplain4 = ((UnderTranslator.GMXFontViewr)(target));
                return;
            }
            this._contentLoaded = true;
        }