Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MoKuai = ((DaTaTemplae1.Mokuai)(target));

            #line 4 "..\..\Mokuai.xaml"
                this.MoKuai.MouseMove += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseMove_1);

            #line default
            #line hidden
                return;

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

            case 3:

            #line 67 "..\..\Mokuai.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 4:

            #line 68 "..\..\Mokuai.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 5:

            #line 69 "..\..\Mokuai.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);

            #line default
            #line hidden
                return;

            case 6:
                this.Mok1 = ((System.Windows.Controls.ListView)(target));

            #line 71 "..\..\Mokuai.xaml"
                this.Mok1.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Mok1_MouseDoubleClick);

            #line default
            #line hidden

            #line 71 "..\..\Mokuai.xaml"
                this.Mok1.Loaded += new System.Windows.RoutedEventHandler(this.Mok1_Loaded);

            #line default
            #line hidden
                return;

            case 7:
                this.GridView1 = ((System.Windows.Controls.GridView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MoKuai = ((DaTaTemplae1.Mokuai)(target));
     
     #line 4 "..\..\Mokuai.xaml"
     this.MoKuai.MouseMove += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseMove_1);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Grid1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     
     #line 67 "..\..\Mokuai.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 68 "..\..\Mokuai.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 69 "..\..\Mokuai.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);
     
     #line default
     #line hidden
     return;
     case 6:
     this.Mok1 = ((System.Windows.Controls.ListView)(target));
     
     #line 71 "..\..\Mokuai.xaml"
     this.Mok1.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Mok1_MouseDoubleClick);
     
     #line default
     #line hidden
     
     #line 71 "..\..\Mokuai.xaml"
     this.Mok1.Loaded += new System.Windows.RoutedEventHandler(this.Mok1_Loaded);
     
     #line default
     #line hidden
     return;
     case 7:
     this.GridView1 = ((System.Windows.Controls.GridView)(target));
     return;
     }
     this._contentLoaded = true;
 }