示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LessonName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.DirectoryPDF = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.LessonSelection = ((Nine.Views.Controls.LessonSelection)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.LessonName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 2:
     this.DirectoryPDF = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.LessonSelection = ((Nine.Views.Controls.LessonSelection)(target));
     return;
     }
     this._contentLoaded = true;
 }