Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PART_Loading = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 2:
                this.PART_Login = ((System.Windows.Controls.ContentControl)(target));

            #line 20 "..\..\LoginWindow.xaml"
                this.PART_Login.Loaded += new System.Windows.RoutedEventHandler(this.PART_Login_Loaded);

            #line default
            #line hidden
                return;

            case 3:
                this.webPage = ((YoYoStudio.Controls.WebPage)(target));

            #line 31 "..\..\LoginWindow.xaml"
                this.webPage.Initialized += new System.Action(this.webPage_Initialized);

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

            #line 8 "..\..\..\Controls\WebWindow.xaml"
                ((YoYoStudio.Client.Chat.Controls.WebWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.ChildWindow_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.PART_Loading = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 3:
                this.PART_Content = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 4:
                this.webPage = ((YoYoStudio.Controls.WebPage)(target));
                return;
            }
            this._contentLoaded = true;
        }