Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TitleBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.PanelButton = ((PNotes.NET.HeaderButton)(target));
                return;

            case 3:
                this.HideButton = ((PNotes.NET.HeaderButton)(target));
                return;

            case 4:
                this.DeleteButton = ((PNotes.NET.HeaderButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.TitleBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 2:
     this.PanelButton = ((PNotes.NET.HeaderButton)(target));
     return;
     case 3:
     this.HideButton = ((PNotes.NET.HeaderButton)(target));
     return;
     case 4:
     this.DeleteButton = ((PNotes.NET.HeaderButton)(target));
     return;
     }
     this._contentLoaded = true;
 }