Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.结束界面 = ((WpfApplication1.Page5)(target));
                return;

            case 2:

            #line 13 "..\..\Page5.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.Label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.Label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.Label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.Label4 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.第三关 = ((WpfApplication1.Page5)(target));
                return;

            case 2:

            #line 15 "..\..\Page5.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:
                this.Canvas1 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 6:
                this.stone1 = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.stone2 = ((System.Windows.Controls.Image)(target));
                return;

            case 8:
                this.stone3 = ((System.Windows.Controls.Image)(target));
                return;

            case 9:
                this.stone4 = ((System.Windows.Controls.Image)(target));
                return;

            case 10:
                this.stone5 = ((System.Windows.Controls.Image)(target));
                return;

            case 11:
                this.stone6 = ((System.Windows.Controls.Image)(target));
                return;

            case 12:
                this.stone7 = ((System.Windows.Controls.Image)(target));
                return;

            case 13:
                this.stone8 = ((System.Windows.Controls.Image)(target));
                return;

            case 14:
                this.stone9 = ((System.Windows.Controls.Image)(target));
                return;

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

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

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

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

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

            case 20:
                this.aim4 = ((System.Windows.Controls.Image)(target));
                return;

            case 21:
                this.Genius = ((System.Windows.Controls.Image)(target));

            #line 34 "..\..\Page5.xaml"
                this.Genius.KeyDown += new System.Windows.Input.KeyEventHandler(this.Genius_KeyDown);

            #line default
            #line hidden

            #line 34 "..\..\Page5.xaml"
                this.Genius.LostKeyboardFocus += new System.Windows.Input.KeyboardFocusChangedEventHandler(this.Genius_LostKeyboardFocus);

            #line default
            #line hidden

            #line 34 "..\..\Page5.xaml"
                this.Genius.KeyUp += new System.Windows.Input.KeyEventHandler(this.Genius_KeyUp);

            #line default
            #line hidden
                return;

            case 22:
                this.aa = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 23:
                this.box3 = ((System.Windows.Controls.Image)(target));
                return;

            case 24:
                this.b3 = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 25:
                this.box1 = ((System.Windows.Controls.Image)(target));
                return;

            case 26:
                this.b1 = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 27:
                this.box2 = ((System.Windows.Controls.Image)(target));
                return;

            case 28:
                this.b2 = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 29:
                this.box4 = ((System.Windows.Controls.Image)(target));
                return;

            case 30:
                this.b4 = ((System.Windows.Media.TranslateTransform)(target));
                return;
            }
            this._contentLoaded = true;
        }