Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.fileBoxItemCon = ((TouchFramework.ControlHandlers.FileBoxItem)(target));
                return;

            case 2:
                this.gird1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.img_Item = ((System.Windows.Controls.Image)(target));
                return;

            case 4:
                this.img_pic = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.text_fileName = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.fileBoxItemCon = ((TouchFramework.ControlHandlers.FileBoxItem)(target));
     return;
     case 2:
     this.gird1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.img_Item = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.img_pic = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.text_fileName = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }