Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\UI\UserInfo.xaml"
                ((P2048.UI.UserInfo)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 2:
                this.ibnUsername = ((P2048.UI.ImageButton)(target));
                return;

            case 3:
                this.ibnEmail = ((P2048.UI.ImageButton)(target));
                return;

            case 4:
                this.ibnPhono = ((P2048.UI.ImageButton)(target));
                return;

            case 5:
                this.ibnOffice = ((P2048.UI.ImageButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\UI\Setting.xaml"
                ((P2048.UI.Setting)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 2:
                this.ibnStart = ((P2048.UI.ImageButton)(target));
                return;

            case 3:
                this.ibnMaxScore = ((P2048.UI.ImageButton)(target));
                return;

            case 4:
                this.ibnUserinfo = ((P2048.UI.ImageButton)(target));
                return;

            case 5:
                this.ibnQuit = ((P2048.UI.ImageButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\MainWindow.xaml"
                ((P2048.MainWindow)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 9 "..\..\MainWindow.xaml"
                ((P2048.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

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

            case 3:
                this.ibnUsername = ((P2048.UI.ImageButton)(target));
                return;

            case 4:
                this.ibnScore = ((P2048.UI.ImageButton)(target));
                return;

            case 5:
                this.ibnQuit = ((P2048.UI.ImageButton)(target));
                return;
            }
            this._contentLoaded = true;
        }