void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.InGameMenuEscWnd = ((CardGameClient.InGameMenuEscWindow)(target));
                return;

            case 2:
                this.CardNameLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.CancelBtn = ((CardGameClient.StyledBtn)(target));
                return;

            case 4:
                this.LeaveBtn = ((CardGameClient.StyledBtn)(target));
                return;

            case 5:
                this.ExitBtn = ((CardGameClient.StyledBtn)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainBtn = ((CardGameClient.StyledBtn)(target));
                return;

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

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

            case 4:
                this.image1 = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.TextInfo = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 4:
                this.OkBtn = ((CardGameClient.StyledBtn)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DialogWnd = ((CardGameClient.DialogWin)(target));

            #line 5 "..\..\..\DialogWin.xaml"
                this.DialogWnd.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 5 "..\..\..\DialogWin.xaml"
                this.DialogWnd.ContentRendered += new System.EventHandler(this.DialogWnd_ContentRendered);

            #line default
            #line hidden
                return;

            case 2:
                this.TextInfo = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.AcceptBtn = ((CardGameClient.StyledBtn)(target));
                return;

            case 4:
                this.AcceptBtnOnly = ((CardGameClient.StyledBtn)(target));
                return;

            case 5:
                this.CancelBtn = ((CardGameClient.StyledBtn)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.user1Level = ((CardGameClient.Digit)(target));
                return;

            case 2:
                this.user2Level = ((CardGameClient.Digit)(target));
                return;

            case 3:
                this.turnBtn = ((CardGameClient.StyledBtn)(target));
                return;

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

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

            case 6:
                this.turnLabel = ((System.Windows.Controls.TextBlock)(target));

            #line 52 "..\..\..\..\Controls\inGameTopInfo.xaml"
                this.turnLabel.MouseEnter += new System.Windows.Input.MouseEventHandler(this.turnLabel_MouseEnter);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LobbyWnd = ((CardGameClient.LobbyScreen)(target));

            #line 6 "..\..\..\LobbyScreen.xaml"
                this.LobbyWnd.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 6 "..\..\..\LobbyScreen.xaml"
                this.LobbyWnd.Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden

            #line 6 "..\..\..\LobbyScreen.xaml"
                this.LobbyWnd.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 6 "..\..\..\LobbyScreen.xaml"
                this.LobbyWnd.ContentRendered += new System.EventHandler(this.Window_ContentRendered_1);

            #line default
            #line hidden

            #line 6 "..\..\..\LobbyScreen.xaml"
                this.LobbyWnd.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.LobbyWnd_IsVisibleChanged);

            #line default
            #line hidden
                return;

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

            case 3:
                this.findBtn = ((CardGameClient.FindButton)(target));
                return;

            case 4:
                this.NickNameLevel = ((CardGameClient.StyledTextBox)(target));
                return;

            case 5:
                this.Wins = ((CardGameClient.StyledTextBox)(target));
                return;

            case 6:
                this.Games = ((CardGameClient.StyledTextBox)(target));
                return;

            case 7:
                this.Exp = ((CardGameClient.StyledTextBox)(target));
                return;

            case 8:
                this.Rating = ((CardGameClient.StyledTextBox)(target));
                return;

            case 9:
                this.MainLobbyBackBtn = ((CardGameClient.StyledBtn)(target));
                return;

            case 10:
                this.AllCardsBtn = ((CardGameClient.StyledBtn)(target));
                return;

            case 11:
                this.ratingGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:
                this.MyCardsGrid = ((System.Windows.Controls.Grid)(target));

            #line 60 "..\..\..\LobbyScreen.xaml"
                this.MyCardsGrid.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.MyCardsGrid_IsVisibleChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.gridHeroes = ((System.Windows.Controls.Grid)(target));
                return;

            case 14:
                this.AllCardsGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:

            #line 142 "..\..\..\LobbyScreen.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown);

            #line default
            #line hidden
                return;

            case 16:
                this.currPageLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 17:

            #line 144 "..\..\..\LobbyScreen.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown_1);

            #line default
            #line hidden
                return;

            case 18:
                this.SlotGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.Slot1Card = ((CardGameClient.CardPlace)(target));
                return;

            case 20:
                this.Slot2Card = ((CardGameClient.CardPlace)(target));
                return;

            case 21:
                this.Slot3Card = ((CardGameClient.CardPlace)(target));
                return;

            case 22:
                this.Slot4Card = ((CardGameClient.CardPlace)(target));
                return;

            case 23:
                this.Slot5Card = ((CardGameClient.CardPlace)(target));
                return;

            case 24:
                this.Slo6Card = ((CardGameClient.CardPlace)(target));
                return;

            case 25:
                this.Slot7Card = ((CardGameClient.CardPlace)(target));
                return;

            case 26:
                this.Slot8Card = ((CardGameClient.CardPlace)(target));
                return;

            case 27:
                this.CardsExitBtn = ((CardGameClient.StyledBtn)(target));
                return;

            case 28:
                this.CardsScore = ((CardGameClient.StyledTextBox)(target));
                return;

            case 29:
                this.CardsShopBtn = ((CardGameClient.StyledBtn)(target));
                return;

            case 30:
                this.ShopGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 31:

            #line 192 "..\..\..\LobbyScreen.xaml"
                ((System.Windows.Controls.Image)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseUp);

            #line default
            #line hidden
                return;

            case 32:
                this.nabor1Btn = ((CardGameClient.StyledBtn)(target));
                return;

            case 33:
                this.nabor2Btn = ((CardGameClient.StyledBtn)(target));
                return;

            case 34:
                this.nabor3Btn = ((CardGameClient.StyledBtn)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CharacterCreateWnd = ((CardGameClient.CharacterCreateScreen)(target));

            #line 5 "..\..\..\CharacterCreateScreen.xaml"
                this.CharacterCreateWnd.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 5 "..\..\..\CharacterCreateScreen.xaml"
                this.CharacterCreateWnd.Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden

            #line 5 "..\..\..\CharacterCreateScreen.xaml"
                this.CharacterCreateWnd.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 5 "..\..\..\CharacterCreateScreen.xaml"
                this.CharacterCreateWnd.ContentRendered += new System.EventHandler(this.Window_ContentRendered);

            #line default
            #line hidden

            #line 5 "..\..\..\CharacterCreateScreen.xaml"
                this.CharacterCreateWnd.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.CharacterCreateWnd_IsVisibleChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.characterNameTextBox = ((CardGameClient.StyledTextBox)(target));
                return;

            case 3:
                this.exitBtn = ((CardGameClient.StyledBtn)(target));
                return;

            case 4:
                this.createCharBtn = ((CardGameClient.StyledBtn)(target));
                return;

            case 5:
                this.grid2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.errorText = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.gridHeroes = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.errorPopupInfo = ((CardGameClient.PopupInfo)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LoginWnd = ((CardGameClient.LoginScreen)(target));

            #line 8 "..\..\..\LoginScreen.xaml"
                this.LoginWnd.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 9 "..\..\..\LoginScreen.xaml"
                this.LoginWnd.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 10 "..\..\..\LoginScreen.xaml"
                this.LoginWnd.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.Window_IsVisibleChanged);

            #line default
            #line hidden

            #line 11 "..\..\..\LoginScreen.xaml"
                this.LoginWnd.ContentRendered += new System.EventHandler(this.LoginWnd_ContentRendered);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.loginTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.passwordTextBox = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

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

            case 8:
                this.loginBtn = ((CardGameClient.StyledBtn)(target));
                return;

            case 9:
                this.exitBtn = ((CardGameClient.StyledBtn)(target));
                return;

            case 10:
                this.grid2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:
                this.errorText = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.errorPopupInfo = ((CardGameClient.PopupInfo)(target));
                return;
            }
            this._contentLoaded = true;
        }