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

            case 2:
                this.img_main = ((System.Windows.Controls.Image)(target));
                return;

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

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

            case 5:
                this.mode_bt_left = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\FileBox3.xaml"
                this.mode_bt_left.Click += new System.Windows.RoutedEventHandler(this.mode_bt_left_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.mode_bt_right = ((System.Windows.Controls.Button)(target));

            #line 22 "..\..\FileBox3.xaml"
                this.mode_bt_right.Click += new System.Windows.RoutedEventHandler(this.mode_bt_right_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.mode_bt_up = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\FileBox3.xaml"
                this.mode_bt_up.Click += new System.Windows.RoutedEventHandler(this.mode_bt_up_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.mode_bt_center = ((System.Windows.Controls.Button)(target));

            #line 24 "..\..\FileBox3.xaml"
                this.mode_bt_center.Click += new System.Windows.RoutedEventHandler(this.mode_bt_center_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.mode_bt_close = ((System.Windows.Controls.Button)(target));

            #line 25 "..\..\FileBox3.xaml"
                this.mode_bt_close.Click += new System.Windows.RoutedEventHandler(this.mode_bt_close_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.bt_move = ((System.Windows.Controls.Button)(target));
                return;

            case 11:
                this.bt_rotate = ((System.Windows.Controls.Button)(target));
                return;

            case 12:
                this.bt_inMain = ((System.Windows.Controls.Button)(target));
                return;

            case 13:
                this.itemListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 14:
                this.bt_listBox = ((System.Windows.Controls.Button)(target));
                return;

            case 15:
                this.img_bar = ((System.Windows.Controls.Image)(target));
                return;

            case 16:
                this.img_img = ((System.Windows.Controls.Image)(target));
                return;

            case 17:
                this.img_video = ((System.Windows.Controls.Image)(target));
                return;

            case 18:
                this.img_ppt = ((System.Windows.Controls.Image)(target));
                return;

            case 19:
                this.img_doc = ((System.Windows.Controls.Image)(target));
                return;

            case 20:
                this.mode_bt1_img = ((System.Windows.Controls.Button)(target));

            #line 50 "..\..\FileBox3.xaml"
                this.mode_bt1_img.Click += new System.Windows.RoutedEventHandler(this.mode_bt1_img_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.mode_bt2_video = ((System.Windows.Controls.Button)(target));

            #line 51 "..\..\FileBox3.xaml"
                this.mode_bt2_video.Click += new System.Windows.RoutedEventHandler(this.mode_bt2_video_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.mode_bt3_ppt = ((System.Windows.Controls.Button)(target));

            #line 52 "..\..\FileBox3.xaml"
                this.mode_bt3_ppt.Click += new System.Windows.RoutedEventHandler(this.mode_bt3_ppt_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.mode_bt4_doc = ((System.Windows.Controls.Button)(target));

            #line 53 "..\..\FileBox3.xaml"
                this.mode_bt4_doc.Click += new System.Windows.RoutedEventHandler(this.mode_bt4_doc_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.img_trans = ((System.Windows.Controls.Image)(target));
                return;

            case 25:
                this.bt_trans = ((System.Windows.Controls.Button)(target));

            #line 56 "..\..\FileBox3.xaml"
                this.bt_trans.Click += new System.Windows.RoutedEventHandler(this.bt_trans_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.bt_main = ((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.fileBoxCon = ((TouchFramework.ControlHandlers.FileBox3)(target));
     return;
     case 2:
     this.img_main = ((System.Windows.Controls.Image)(target));
     return;
     case 3:
     this.img_mode = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.img_close = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.mode_bt_left = ((System.Windows.Controls.Button)(target));
     
     #line 21 "..\..\FileBox3.xaml"
     this.mode_bt_left.Click += new System.Windows.RoutedEventHandler(this.mode_bt_left_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.mode_bt_right = ((System.Windows.Controls.Button)(target));
     
     #line 22 "..\..\FileBox3.xaml"
     this.mode_bt_right.Click += new System.Windows.RoutedEventHandler(this.mode_bt_right_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.mode_bt_up = ((System.Windows.Controls.Button)(target));
     
     #line 23 "..\..\FileBox3.xaml"
     this.mode_bt_up.Click += new System.Windows.RoutedEventHandler(this.mode_bt_up_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.mode_bt_center = ((System.Windows.Controls.Button)(target));
     
     #line 24 "..\..\FileBox3.xaml"
     this.mode_bt_center.Click += new System.Windows.RoutedEventHandler(this.mode_bt_center_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.mode_bt_close = ((System.Windows.Controls.Button)(target));
     
     #line 25 "..\..\FileBox3.xaml"
     this.mode_bt_close.Click += new System.Windows.RoutedEventHandler(this.mode_bt_close_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.bt_move = ((System.Windows.Controls.Button)(target));
     return;
     case 11:
     this.bt_rotate = ((System.Windows.Controls.Button)(target));
     return;
     case 12:
     this.bt_inMain = ((System.Windows.Controls.Button)(target));
     return;
     case 13:
     this.itemListBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 14:
     this.bt_listBox = ((System.Windows.Controls.Button)(target));
     return;
     case 15:
     this.img_bar = ((System.Windows.Controls.Image)(target));
     return;
     case 16:
     this.img_img = ((System.Windows.Controls.Image)(target));
     return;
     case 17:
     this.img_video = ((System.Windows.Controls.Image)(target));
     return;
     case 18:
     this.img_ppt = ((System.Windows.Controls.Image)(target));
     return;
     case 19:
     this.img_doc = ((System.Windows.Controls.Image)(target));
     return;
     case 20:
     this.mode_bt1_img = ((System.Windows.Controls.Button)(target));
     
     #line 50 "..\..\FileBox3.xaml"
     this.mode_bt1_img.Click += new System.Windows.RoutedEventHandler(this.mode_bt1_img_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.mode_bt2_video = ((System.Windows.Controls.Button)(target));
     
     #line 51 "..\..\FileBox3.xaml"
     this.mode_bt2_video.Click += new System.Windows.RoutedEventHandler(this.mode_bt2_video_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this.mode_bt3_ppt = ((System.Windows.Controls.Button)(target));
     
     #line 52 "..\..\FileBox3.xaml"
     this.mode_bt3_ppt.Click += new System.Windows.RoutedEventHandler(this.mode_bt3_ppt_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.mode_bt4_doc = ((System.Windows.Controls.Button)(target));
     
     #line 53 "..\..\FileBox3.xaml"
     this.mode_bt4_doc.Click += new System.Windows.RoutedEventHandler(this.mode_bt4_doc_Click);
     
     #line default
     #line hidden
     return;
     case 24:
     this.img_trans = ((System.Windows.Controls.Image)(target));
     return;
     case 25:
     this.bt_trans = ((System.Windows.Controls.Button)(target));
     
     #line 56 "..\..\FileBox3.xaml"
     this.bt_trans.Click += new System.Windows.RoutedEventHandler(this.bt_trans_Click);
     
     #line default
     #line hidden
     return;
     case 26:
     this.bt_main = ((System.Windows.Controls.Button)(target));
     return;
     }
     this._contentLoaded = true;
 }