示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DlgFontChooser = ((PNotes.NET.WndFontChooser)(target));

            #line 14 "..\..\WndFontChooser.xaml"
                this.DlgFontChooser.Loaded += new System.Windows.RoutedEventHandler(this.DlgFontChooser_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.grpNames = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 3:
                this.lstFonts = ((System.Windows.Controls.ListBox)(target));
                return;

            case 4:
                this.grpWeight = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 5:
                this.lstWeight = ((System.Windows.Controls.ListBox)(target));
                return;

            case 6:
                this.grpStyle = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 7:
                this.lstStyle = ((System.Windows.Controls.ListBox)(target));
                return;

            case 8:
                this.grpSize = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 9:
                this.lstSizes = ((System.Windows.Controls.ListBox)(target));
                return;

            case 10:
                this.grpStretch = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 11:
                this.lstStretch = ((System.Windows.Controls.ListBox)(target));
                return;

            case 12:
                this.grpSample = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 13:
                this.lblFontSample = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.grpColors = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 15:
                this.cboColors = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 16:
                this.cmdOK = ((System.Windows.Controls.Button)(target));

            #line 145 "..\..\WndFontChooser.xaml"
                this.cmdOK.Click += new System.Windows.RoutedEventHandler(this.cmdOK_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.cmdCancel = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.DlgFontChooser = ((PNotes.NET.WndFontChooser)(target));
     
     #line 14 "..\..\WndFontChooser.xaml"
     this.DlgFontChooser.Loaded += new System.Windows.RoutedEventHandler(this.DlgFontChooser_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.grpNames = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 3:
     this.lstFonts = ((System.Windows.Controls.ListBox)(target));
     return;
     case 4:
     this.grpWeight = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 5:
     this.lstWeight = ((System.Windows.Controls.ListBox)(target));
     return;
     case 6:
     this.grpStyle = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 7:
     this.lstStyle = ((System.Windows.Controls.ListBox)(target));
     return;
     case 8:
     this.grpSize = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 9:
     this.lstSizes = ((System.Windows.Controls.ListBox)(target));
     return;
     case 10:
     this.grpStretch = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 11:
     this.lstStretch = ((System.Windows.Controls.ListBox)(target));
     return;
     case 12:
     this.grpSample = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 13:
     this.lblFontSample = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 14:
     this.grpColors = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 15:
     this.cboColors = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 16:
     this.cmdOK = ((System.Windows.Controls.Button)(target));
     
     #line 145 "..\..\WndFontChooser.xaml"
     this.cmdOK.Click += new System.Windows.RoutedEventHandler(this.cmdOK_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.cmdCancel = ((System.Windows.Controls.Button)(target));
     return;
     }
     this._contentLoaded = true;
 }