예제 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 11 "..\..\SkinlessToolbar.xaml"
     ((PNotes.NET.SkinlessToolbar)(target)).Initialized += new System.EventHandler(this.UserControl_Initialized);
     
     #line default
     #line hidden
     return;
     case 2:
     this.FooterBorder = ((System.Windows.Controls.Border)(target));
     return;
     case 3:
     this.FontFamilyButton = ((PNotes.NET.FormatButton)(target));
     return;
     case 4:
     this.FontSizeButton = ((PNotes.NET.FormatButton)(target));
     return;
     case 5:
     this.FontColorButton = ((PNotes.NET.FormatButton)(target));
     return;
     case 6:
     this.FontBoldButton = ((PNotes.NET.FormatButton)(target));
     return;
     case 7:
     this.FontItalicButton = ((PNotes.NET.FormatButton)(target));
     return;
     case 8:
     this.FontUnderlineButton = ((PNotes.NET.FormatButton)(target));
     return;
     case 9:
     this.FontStrikethroughButton = ((PNotes.NET.FormatButton)(target));
     return;
     case 10:
     this.HighlightButton = ((PNotes.NET.FormatButton)(target));
     return;
     case 11:
     this.LeftButton = ((PNotes.NET.FormatButton)(target));
     return;
     case 12:
     this.CenterButton = ((PNotes.NET.FormatButton)(target));
     return;
     case 13:
     this.RightButton = ((PNotes.NET.FormatButton)(target));
     return;
     case 14:
     this.BulletsButton = ((PNotes.NET.FormatButton)(target));
     return;
     case 15:
     this.PopUpFont = ((System.Windows.Controls.Primitives.Popup)(target));
     return;
     case 16:
     this.cboFonts = ((System.Windows.Controls.ComboBox)(target));
     
     #line 98 "..\..\SkinlessToolbar.xaml"
     this.cboFonts.DropDownClosed += new System.EventHandler(this.cboFonts_DropDownClosed);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\SkinlessToolbar.xaml"
                ((PNotes.NET.SkinlessToolbar)(target)).Initialized += new System.EventHandler(this.UserControl_Initialized);

            #line default
            #line hidden
                return;

            case 2:
                this.FooterBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 3:
                this.FontFamilyButton = ((PNotes.NET.FormatButton)(target));
                return;

            case 4:
                this.FontSizeButton = ((PNotes.NET.FormatButton)(target));
                return;

            case 5:
                this.FontColorButton = ((PNotes.NET.FormatButton)(target));
                return;

            case 6:
                this.FontBoldButton = ((PNotes.NET.FormatButton)(target));
                return;

            case 7:
                this.FontItalicButton = ((PNotes.NET.FormatButton)(target));
                return;

            case 8:
                this.FontUnderlineButton = ((PNotes.NET.FormatButton)(target));
                return;

            case 9:
                this.FontStrikethroughButton = ((PNotes.NET.FormatButton)(target));
                return;

            case 10:
                this.HighlightButton = ((PNotes.NET.FormatButton)(target));
                return;

            case 11:
                this.LeftButton = ((PNotes.NET.FormatButton)(target));
                return;

            case 12:
                this.CenterButton = ((PNotes.NET.FormatButton)(target));
                return;

            case 13:
                this.RightButton = ((PNotes.NET.FormatButton)(target));
                return;

            case 14:
                this.BulletsButton = ((PNotes.NET.FormatButton)(target));
                return;

            case 15:
                this.PopUpFont = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 16:
                this.cboFonts = ((System.Windows.Controls.ComboBox)(target));

            #line 98 "..\..\SkinlessToolbar.xaml"
                this.cboFonts.DropDownClosed += new System.EventHandler(this.cboFonts_DropDownClosed);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }