Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\Frames\PlayPage.xaml"
                ((ApplicationWPF.Frames.PlayPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.WindowLoaded);

            #line default
            #line hidden
                return;

            case 2:
                this.usrSolo = ((ApplicationWPF.UserControls.PlayChoice)(target));
                return;

            case 3:
                this.usrMulti = ((ApplicationWPF.UserControls.PlayChoice)(target));
                return;

            case 4:
                this.usrPariSolo = ((ApplicationWPF.UserControls.PlayChoice)(target));
                return;

            case 5:
                this.usrPariMulti = ((ApplicationWPF.UserControls.PlayChoice)(target));
                return;

            case 6:
                this.usrCtrlTournoiCombo = ((ApplicationWPF.UserControls.ComboBoxTournoi)(target));
                return;

            case 7:
                this.tournamentDetails = ((System.Windows.Controls.ListBox)(target));
                return;

            case 8:
                this.ModeChoice = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 9 "..\..\..\Frames\PlayPage.xaml"
     ((ApplicationWPF.Frames.PlayPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.WindowLoaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.usrSolo = ((ApplicationWPF.UserControls.PlayChoice)(target));
     return;
     case 3:
     this.usrMulti = ((ApplicationWPF.UserControls.PlayChoice)(target));
     return;
     case 4:
     this.usrPariSolo = ((ApplicationWPF.UserControls.PlayChoice)(target));
     return;
     case 5:
     this.usrPariMulti = ((ApplicationWPF.UserControls.PlayChoice)(target));
     return;
     case 6:
     this.usrCtrlTournoiCombo = ((ApplicationWPF.UserControls.ComboBoxTournoi)(target));
     return;
     case 7:
     this.tournamentDetails = ((System.Windows.Controls.ListBox)(target));
     return;
     case 8:
     this.ModeChoice = ((System.Windows.Controls.Frame)(target));
     return;
     }
     this._contentLoaded = true;
 }