Example #1
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;
        }
Example #2
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;
        }