void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.bCancel = ((Dominion.NET_WPF.Controls.ucButton)(target));
                return;

            case 2:
                this.bNo = ((Dominion.NET_WPF.Controls.ucButton)(target));
                return;

            case 3:
                this.bOk = ((Dominion.NET_WPF.Controls.ucButton)(target));
                return;

            case 4:
                this.iIcon = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.tbBody = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.That = ((Dominion.NET_WPF.Controls.ucCardConstraints)(target));
                return;

            case 2:
                this.spConstraints = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 3:
                this.icConstraints = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 4:
                this.bAddNew = ((Dominion.NET_WPF.Controls.ucButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 3
0
        private static void OnIsCancelChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ucButton ctrl = d as ucButton;

            ctrl.IsCancel = (Boolean)e.NewValue;
        }
Exemplo n.º 4
0
        private static void OnTextChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ucButton ctrl = d as ucButton;

            ctrl.Text = (String)e.NewValue;
        }
Exemplo n.º 5
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.This = ((Dominion.NET_WPF.wSettings)(target));
     return;
     case 2:
     this.bCancel = ((Dominion.NET_WPF.Controls.ucButton)(target));
     return;
     case 3:
     this.bOk = ((Dominion.NET_WPF.Controls.ucButton)(target));
     return;
     case 4:
     this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
     
     #line 42 "..\..\wSettings.xaml"
     this.tabControl1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabControl1_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.tiPlayer = ((System.Windows.Controls.TabItem)(target));
     return;
     case 6:
     this.dockPanel2 = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 7:
     this.dockPanel1 = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 8:
     this.slidNumPlayers = ((System.Windows.Controls.Slider)(target));
     
     #line 50 "..\..\wSettings.xaml"
     this.slidNumPlayers.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slidNumPlayers_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 9:
     this.tbPlayersNum = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 10:
     this.textBox1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.dockPanel3 = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 12:
     this.slidHumanPlayers = ((System.Windows.Controls.Slider)(target));
     
     #line 55 "..\..\wSettings.xaml"
     this.slidHumanPlayers.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slidHumanPlayers_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 13:
     this.tbPlayersHuman = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 14:
     this.textBox2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 15:
     this.spPlayers = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 16:
     this.ucPS1 = ((Dominion.NET_WPF.Controls.ucPlayerSettings)(target));
     return;
     case 17:
     this.ucPS2 = ((Dominion.NET_WPF.Controls.ucPlayerSettings)(target));
     return;
     case 18:
     this.ucPS3 = ((Dominion.NET_WPF.Controls.ucPlayerSettings)(target));
     return;
     case 19:
     this.ucPS4 = ((Dominion.NET_WPF.Controls.ucPlayerSettings)(target));
     return;
     case 20:
     this.ucPS5 = ((Dominion.NET_WPF.Controls.ucPlayerSettings)(target));
     return;
     case 21:
     this.ucPS6 = ((Dominion.NET_WPF.Controls.ucPlayerSettings)(target));
     return;
     case 22:
     this.cbRandomUnique = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 23:
     this.lbAISelection = ((System.Windows.Controls.ListBox)(target));
     return;
     case 24:
     this.tiAutomation = ((System.Windows.Controls.TabItem)(target));
     return;
     case 25:
     this.cbChooser_AutomaticallyClickWhenSatisfied = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 26:
     this.cbNeverBuyCopperCurse = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 27:
     this.cbChooser_AutomaticallyRevealMoat = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 28:
     this.cbChooser_AutomaticallyRevealProvince = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 29:
     this.cbChooser_AutomaticallyMoveStashToTop = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 30:
     this.cbChooser_AutomaticallyPlayTreasures = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 31:
     this.spAutoPlayTreasuresOptions = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 32:
     this.cbChooser_AutomaticallyPlayTreasuresLoan = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 33:
     this.spAutoPlayTreasuresLoanOptions = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 34:
     this.rbChooser_AutomaticallyPlayTreasuresLoanBeforeVenture = ((System.Windows.Controls.RadioButton)(target));
     
     #line 198 "..\..\wSettings.xaml"
     this.rbChooser_AutomaticallyPlayTreasuresLoanBeforeVenture.Checked += new System.Windows.RoutedEventHandler(this.rbChooser_AutomaticallyPlayTreasuresLoanBeforeVenture_Checked);
     
     #line default
     #line hidden
     return;
     case 35:
     this.rbChooser_AutomaticallyPlayTreasuresVentureBeforeLoan = ((System.Windows.Controls.RadioButton)(target));
     
     #line 201 "..\..\wSettings.xaml"
     this.rbChooser_AutomaticallyPlayTreasuresVentureBeforeLoan.Checked += new System.Windows.RoutedEventHandler(this.rbChooser_AutomaticallyPlayTreasuresVentureBeforeLoan_Checked);
     
     #line default
     #line hidden
     return;
     case 36:
     this.cbChooser_AutomaticallyPlayTreasuresHornOfPlenty = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 37:
     this.spAutoPlayTreasuresHornOfPlentyOptions = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 38:
     this.rbChooser_AutomaticallyPlayTreasuresHornOfPlentyBeforeBank = ((System.Windows.Controls.RadioButton)(target));
     
     #line 221 "..\..\wSettings.xaml"
     this.rbChooser_AutomaticallyPlayTreasuresHornOfPlentyBeforeBank.Checked += new System.Windows.RoutedEventHandler(this.rbChooser_AutomaticallyPlayTreasuresHornOfPlentyBeforeBank_Checked);
     
     #line default
     #line hidden
     return;
     case 39:
     this.rbChooser_AutomaticallyPlayTreasuresBankBeforeHornOfPlenty = ((System.Windows.Controls.RadioButton)(target));
     
     #line 224 "..\..\wSettings.xaml"
     this.rbChooser_AutomaticallyPlayTreasuresBankBeforeHornOfPlenty.Checked += new System.Windows.RoutedEventHandler(this.rbChooser_AutomaticallyPlayTreasuresBankBeforeHornOfPlenty_Checked);
     
     #line default
     #line hidden
     return;
     case 40:
     this.tiUISettings = ((System.Windows.Controls.TabItem)(target));
     return;
     case 41:
     this.dpToolTipDuration = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 42:
     this.slidToolTipDuration = ((System.Windows.Controls.Slider)(target));
     
     #line 259 "..\..\wSettings.xaml"
     this.slidToolTipDuration.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slidToolTipDuration_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 43:
     this.tbToolTipDuration = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 44:
     this.tbToolTipExtra = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 45:
     this.cbToolTipClick = ((System.Windows.Controls.CheckBox)(target));
     
     #line 276 "..\..\wSettings.xaml"
     this.cbToolTipClick.Checked += new System.Windows.RoutedEventHandler(this.cbToolTipClick_Checked);
     
     #line default
     #line hidden
     return;
     case 46:
     this.cbLayoutStyle = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 47:
     this.cbGameLogLocation = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 48:
     this.cbDisplaySupplyNames = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 49:
     this.cbDisplayBasicSupplyNames = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 50:
     this.cbPromptActions = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 51:
     this.cbPromptBuy = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 52:
     this.cbPromptBuy_NoCrap = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 53:
     this.cbAutoCollapse = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 54:
     this.tiCustomImages = ((System.Windows.Controls.TabItem)(target));
     return;
     case 55:
     this.cbUseCustomImages = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 56:
     this.spUseCustomImages = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 57:
     
     #line 332 "..\..\wSettings.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.smallCardIconBrowse_Click);
     
     #line default
     #line hidden
     return;
     case 58:
     this.tbCustomImagesPathSmall = ((System.Windows.Controls.TextBox)(target));
     return;
     case 59:
     
     #line 337 "..\..\wSettings.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.mediumCardIconBrowse_Click);
     
     #line default
     #line hidden
     return;
     case 60:
     this.tbCustomImagesPathMedium = ((System.Windows.Controls.TextBox)(target));
     return;
     case 61:
     this.cbUseCustomToolTips = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 62:
     this.spUseCustomToolTips = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 63:
     
     #line 358 "..\..\wSettings.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.cardToolTipBrowse_Click);
     
     #line default
     #line hidden
     return;
     case 64:
     this.tbCustomToolTipsPath = ((System.Windows.Controls.TextBox)(target));
     return;
     case 65:
     this.tiKingdomCardSetup = ((System.Windows.Controls.TabItem)(target));
     return;
     case 66:
     this.cbIdenticalStartingHands = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 67:
     this.cbAutomaticallyAcceptKingdomCards = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 68:
     this.cbForceColonyPlatinum = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 69:
     this.cbForceShelters = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 70:
     this.cbUsePreset = ((System.Windows.Controls.CheckBox)(target));
     
     #line 403 "..\..\wSettings.xaml"
     this.cbUsePreset.Checked += new System.Windows.RoutedEventHandler(this.cbUsePreset_Checked);
     
     #line default
     #line hidden
     
     #line 403 "..\..\wSettings.xaml"
     this.cbUsePreset.Unchecked += new System.Windows.RoutedEventHandler(this.cbUsePreset_Checked);
     
     #line default
     #line hidden
     return;
     case 71:
     this.olCardsUsed = ((Dominion.NET_WPF.Controls.ucObjectList)(target));
     return;
     case 72:
     this.cbShowPresetCards = ((System.Windows.Controls.CheckBox)(target));
     
     #line 408 "..\..\wSettings.xaml"
     this.cbShowPresetCards.Checked += new System.Windows.RoutedEventHandler(this.cbShowPresetCards_Checked);
     
     #line default
     #line hidden
     
     #line 408 "..\..\wSettings.xaml"
     this.cbShowPresetCards.Unchecked += new System.Windows.RoutedEventHandler(this.cbShowPresetCards_Checked);
     
     #line default
     #line hidden
     return;
     case 73:
     this.cbPresets = ((System.Windows.Controls.ComboBox)(target));
     
     #line 411 "..\..\wSettings.xaml"
     this.cbPresets.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbPresets_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 74:
     this.gbCardConstraints = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 75:
     this.ucccConstraints = ((Dominion.NET_WPF.Controls.ucCardConstraints)(target));
     return;
     case 76:
     this.tiCardSettings = ((System.Windows.Controls.TabItem)(target));
     return;
     case 77:
     this.icCardSettings = ((System.Windows.Controls.ItemsControl)(target));
     return;
     case 78:
     this.tiSetGroupInformation = ((System.Windows.Controls.TabItem)(target));
     return;
     case 79:
     this.cbSet = ((System.Windows.Controls.ComboBox)(target));
     
     #line 431 "..\..\wSettings.xaml"
     this.cbSet.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbSet_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 80:
     this.cbCategory = ((System.Windows.Controls.ComboBox)(target));
     
     #line 439 "..\..\wSettings.xaml"
     this.cbCategory.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbCategory_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 81:
     this.cbGroup = ((System.Windows.Controls.ComboBox)(target));
     
     #line 447 "..\..\wSettings.xaml"
     this.cbGroup.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbGroup_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 82:
     this.cbFullCardView = ((System.Windows.Controls.CheckBox)(target));
     
     #line 454 "..\..\wSettings.xaml"
     this.cbFullCardView.Checked += new System.Windows.RoutedEventHandler(this.cbFullCardView_Checked);
     
     #line default
     #line hidden
     
     #line 454 "..\..\wSettings.xaml"
     this.cbFullCardView.Unchecked += new System.Windows.RoutedEventHandler(this.cbFullCardView_Checked);
     
     #line default
     #line hidden
     return;
     case 83:
     this.gbSetCategoryGroupDisplay = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 84:
     this.tbMatchingCount = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 85:
     this.bSetCategoryGroupDisplayHorizontal = ((System.Windows.Controls.Border)(target));
     return;
     case 86:
     
     #line 474 "..\..\wSettings.xaml"
     ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 474 "..\..\wSettings.xaml"
     ((System.Windows.Controls.Grid)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 474 "..\..\wSettings.xaml"
     ((System.Windows.Controls.Grid)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Grid_MouseMove);
     
     #line default
     #line hidden
     return;
     case 87:
     this.bSetCategoryGroupDisplayVertical = ((System.Windows.Controls.Border)(target));
     return;
     case 88:
     this.svSetCategoryGroupDisplay = ((System.Windows.Controls.ScrollViewer)(target));
     
     #line 479 "..\..\wSettings.xaml"
     this.svSetCategoryGroupDisplay.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.svSetCategoryGroupDisplay_ScrollChanged);
     
     #line default
     #line hidden
     return;
     case 89:
     this.wpSetCategoryGroupDisplay = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 90:
     this.cccSetCategoryGroupDisplay = ((Dominion.NET_WPF.CardCollectionControl)(target));
     return;
     case 91:
     this.bOpacityLayerTop = ((System.Windows.Controls.Border)(target));
     return;
     case 92:
     this.bOpacityLayerLeft = ((System.Windows.Controls.Border)(target));
     return;
     case 93:
     this.bOpacityLayerRight = ((System.Windows.Controls.Border)(target));
     return;
     case 94:
     this.bOpacityLayerBottom = ((System.Windows.Controls.Border)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.This = ((Dominion.NET_WPF.wSettings)(target));
                return;

            case 2:
                this.bCancel = ((Dominion.NET_WPF.Controls.ucButton)(target));
                return;

            case 3:
                this.bOk = ((Dominion.NET_WPF.Controls.ucButton)(target));
                return;

            case 4:
                this.tabControl1 = ((System.Windows.Controls.TabControl)(target));

            #line 42 "..\..\wSettings.xaml"
                this.tabControl1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabControl1_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.tiPlayer = ((System.Windows.Controls.TabItem)(target));
                return;

            case 6:
                this.dockPanel2 = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 7:
                this.dockPanel1 = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 8:
                this.slidNumPlayers = ((System.Windows.Controls.Slider)(target));

            #line 50 "..\..\wSettings.xaml"
                this.slidNumPlayers.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.slidNumPlayers_ValueChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.tbPlayersNum = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.textBox1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.dockPanel3 = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 12:
                this.slidHumanPlayers = ((System.Windows.Controls.Slider)(target));

            #line 55 "..\..\wSettings.xaml"
                this.slidHumanPlayers.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.slidHumanPlayers_ValueChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.tbPlayersHuman = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.textBox2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.spPlayers = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 16:
                this.ucPS1 = ((Dominion.NET_WPF.Controls.ucPlayerSettings)(target));
                return;

            case 17:
                this.ucPS2 = ((Dominion.NET_WPF.Controls.ucPlayerSettings)(target));
                return;

            case 18:
                this.ucPS3 = ((Dominion.NET_WPF.Controls.ucPlayerSettings)(target));
                return;

            case 19:
                this.ucPS4 = ((Dominion.NET_WPF.Controls.ucPlayerSettings)(target));
                return;

            case 20:
                this.ucPS5 = ((Dominion.NET_WPF.Controls.ucPlayerSettings)(target));
                return;

            case 21:
                this.ucPS6 = ((Dominion.NET_WPF.Controls.ucPlayerSettings)(target));
                return;

            case 22:
                this.cbRandomUnique = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 23:
                this.lbAISelection = ((System.Windows.Controls.ListBox)(target));
                return;

            case 24:
                this.tiAutomation = ((System.Windows.Controls.TabItem)(target));
                return;

            case 25:
                this.cbChooser_AutomaticallyClickWhenSatisfied = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 26:
                this.cbNeverBuyCopperCurse = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 27:
                this.cbChooser_AutomaticallyRevealMoat = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 28:
                this.cbChooser_AutomaticallyRevealProvince = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 29:
                this.cbChooser_AutomaticallyMoveStashToTop = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 30:
                this.cbChooser_AutomaticallyPlayTreasures = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 31:
                this.spAutoPlayTreasuresOptions = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 32:
                this.cbChooser_AutomaticallyPlayTreasuresLoan = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 33:
                this.spAutoPlayTreasuresLoanOptions = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 34:
                this.rbChooser_AutomaticallyPlayTreasuresLoanBeforeVenture = ((System.Windows.Controls.RadioButton)(target));

            #line 198 "..\..\wSettings.xaml"
                this.rbChooser_AutomaticallyPlayTreasuresLoanBeforeVenture.Checked += new System.Windows.RoutedEventHandler(this.rbChooser_AutomaticallyPlayTreasuresLoanBeforeVenture_Checked);

            #line default
            #line hidden
                return;

            case 35:
                this.rbChooser_AutomaticallyPlayTreasuresVentureBeforeLoan = ((System.Windows.Controls.RadioButton)(target));

            #line 201 "..\..\wSettings.xaml"
                this.rbChooser_AutomaticallyPlayTreasuresVentureBeforeLoan.Checked += new System.Windows.RoutedEventHandler(this.rbChooser_AutomaticallyPlayTreasuresVentureBeforeLoan_Checked);

            #line default
            #line hidden
                return;

            case 36:
                this.cbChooser_AutomaticallyPlayTreasuresHornOfPlenty = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 37:
                this.spAutoPlayTreasuresHornOfPlentyOptions = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 38:
                this.rbChooser_AutomaticallyPlayTreasuresHornOfPlentyBeforeBank = ((System.Windows.Controls.RadioButton)(target));

            #line 221 "..\..\wSettings.xaml"
                this.rbChooser_AutomaticallyPlayTreasuresHornOfPlentyBeforeBank.Checked += new System.Windows.RoutedEventHandler(this.rbChooser_AutomaticallyPlayTreasuresHornOfPlentyBeforeBank_Checked);

            #line default
            #line hidden
                return;

            case 39:
                this.rbChooser_AutomaticallyPlayTreasuresBankBeforeHornOfPlenty = ((System.Windows.Controls.RadioButton)(target));

            #line 224 "..\..\wSettings.xaml"
                this.rbChooser_AutomaticallyPlayTreasuresBankBeforeHornOfPlenty.Checked += new System.Windows.RoutedEventHandler(this.rbChooser_AutomaticallyPlayTreasuresBankBeforeHornOfPlenty_Checked);

            #line default
            #line hidden
                return;

            case 40:
                this.tiUISettings = ((System.Windows.Controls.TabItem)(target));
                return;

            case 41:
                this.dpToolTipDuration = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 42:
                this.slidToolTipDuration = ((System.Windows.Controls.Slider)(target));

            #line 259 "..\..\wSettings.xaml"
                this.slidToolTipDuration.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.slidToolTipDuration_ValueChanged);

            #line default
            #line hidden
                return;

            case 43:
                this.tbToolTipDuration = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 44:
                this.tbToolTipExtra = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 45:
                this.cbToolTipClick = ((System.Windows.Controls.CheckBox)(target));

            #line 276 "..\..\wSettings.xaml"
                this.cbToolTipClick.Checked += new System.Windows.RoutedEventHandler(this.cbToolTipClick_Checked);

            #line default
            #line hidden
                return;

            case 46:
                this.cbLayoutStyle = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 47:
                this.cbGameLogLocation = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 48:
                this.cbDisplaySupplyNames = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 49:
                this.cbDisplayBasicSupplyNames = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 50:
                this.cbPromptActions = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 51:
                this.cbPromptBuy = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 52:
                this.cbPromptBuy_NoCrap = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 53:
                this.cbAutoCollapse = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 54:
                this.tiCustomImages = ((System.Windows.Controls.TabItem)(target));
                return;

            case 55:
                this.cbUseCustomImages = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 56:
                this.spUseCustomImages = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 57:

            #line 332 "..\..\wSettings.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.smallCardIconBrowse_Click);

            #line default
            #line hidden
                return;

            case 58:
                this.tbCustomImagesPathSmall = ((System.Windows.Controls.TextBox)(target));
                return;

            case 59:

            #line 337 "..\..\wSettings.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.mediumCardIconBrowse_Click);

            #line default
            #line hidden
                return;

            case 60:
                this.tbCustomImagesPathMedium = ((System.Windows.Controls.TextBox)(target));
                return;

            case 61:
                this.cbUseCustomToolTips = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 62:
                this.spUseCustomToolTips = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 63:

            #line 358 "..\..\wSettings.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.cardToolTipBrowse_Click);

            #line default
            #line hidden
                return;

            case 64:
                this.tbCustomToolTipsPath = ((System.Windows.Controls.TextBox)(target));
                return;

            case 65:
                this.tiKingdomCardSetup = ((System.Windows.Controls.TabItem)(target));
                return;

            case 66:
                this.cbIdenticalStartingHands = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 67:
                this.cbAutomaticallyAcceptKingdomCards = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 68:
                this.cbForceColonyPlatinum = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 69:
                this.cbForceShelters = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 70:
                this.cbUsePreset = ((System.Windows.Controls.CheckBox)(target));

            #line 403 "..\..\wSettings.xaml"
                this.cbUsePreset.Checked += new System.Windows.RoutedEventHandler(this.cbUsePreset_Checked);

            #line default
            #line hidden

            #line 403 "..\..\wSettings.xaml"
                this.cbUsePreset.Unchecked += new System.Windows.RoutedEventHandler(this.cbUsePreset_Checked);

            #line default
            #line hidden
                return;

            case 71:
                this.olCardsUsed = ((Dominion.NET_WPF.Controls.ucObjectList)(target));
                return;

            case 72:
                this.cbShowPresetCards = ((System.Windows.Controls.CheckBox)(target));

            #line 408 "..\..\wSettings.xaml"
                this.cbShowPresetCards.Checked += new System.Windows.RoutedEventHandler(this.cbShowPresetCards_Checked);

            #line default
            #line hidden

            #line 408 "..\..\wSettings.xaml"
                this.cbShowPresetCards.Unchecked += new System.Windows.RoutedEventHandler(this.cbShowPresetCards_Checked);

            #line default
            #line hidden
                return;

            case 73:
                this.cbPresets = ((System.Windows.Controls.ComboBox)(target));

            #line 411 "..\..\wSettings.xaml"
                this.cbPresets.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbPresets_SelectionChanged);

            #line default
            #line hidden
                return;

            case 74:
                this.gbCardConstraints = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 75:
                this.ucccConstraints = ((Dominion.NET_WPF.Controls.ucCardConstraints)(target));
                return;

            case 76:
                this.tiCardSettings = ((System.Windows.Controls.TabItem)(target));
                return;

            case 77:
                this.icCardSettings = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 78:
                this.tiSetGroupInformation = ((System.Windows.Controls.TabItem)(target));
                return;

            case 79:
                this.cbSet = ((System.Windows.Controls.ComboBox)(target));

            #line 431 "..\..\wSettings.xaml"
                this.cbSet.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbSet_SelectionChanged);

            #line default
            #line hidden
                return;

            case 80:
                this.cbCategory = ((System.Windows.Controls.ComboBox)(target));

            #line 439 "..\..\wSettings.xaml"
                this.cbCategory.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbCategory_SelectionChanged);

            #line default
            #line hidden
                return;

            case 81:
                this.cbGroup = ((System.Windows.Controls.ComboBox)(target));

            #line 447 "..\..\wSettings.xaml"
                this.cbGroup.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbGroup_SelectionChanged);

            #line default
            #line hidden
                return;

            case 82:
                this.cbFullCardView = ((System.Windows.Controls.CheckBox)(target));

            #line 454 "..\..\wSettings.xaml"
                this.cbFullCardView.Checked += new System.Windows.RoutedEventHandler(this.cbFullCardView_Checked);

            #line default
            #line hidden

            #line 454 "..\..\wSettings.xaml"
                this.cbFullCardView.Unchecked += new System.Windows.RoutedEventHandler(this.cbFullCardView_Checked);

            #line default
            #line hidden
                return;

            case 83:
                this.gbSetCategoryGroupDisplay = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 84:
                this.tbMatchingCount = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 85:
                this.bSetCategoryGroupDisplayHorizontal = ((System.Windows.Controls.Border)(target));
                return;

            case 86:

            #line 474 "..\..\wSettings.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 474 "..\..\wSettings.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 474 "..\..\wSettings.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Grid_MouseMove);

            #line default
            #line hidden
                return;

            case 87:
                this.bSetCategoryGroupDisplayVertical = ((System.Windows.Controls.Border)(target));
                return;

            case 88:
                this.svSetCategoryGroupDisplay = ((System.Windows.Controls.ScrollViewer)(target));

            #line 479 "..\..\wSettings.xaml"
                this.svSetCategoryGroupDisplay.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.svSetCategoryGroupDisplay_ScrollChanged);

            #line default
            #line hidden
                return;

            case 89:
                this.wpSetCategoryGroupDisplay = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 90:
                this.cccSetCategoryGroupDisplay = ((Dominion.NET_WPF.CardCollectionControl)(target));
                return;

            case 91:
                this.bOpacityLayerTop = ((System.Windows.Controls.Border)(target));
                return;

            case 92:
                this.bOpacityLayerLeft = ((System.Windows.Controls.Border)(target));
                return;

            case 93:
                this.bOpacityLayerRight = ((System.Windows.Controls.Border)(target));
                return;

            case 94:
                this.bOpacityLayerBottom = ((System.Windows.Controls.Border)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\wCardSelection.xaml"
                ((Dominion.NET_WPF.wCardSelection)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.cbAutoAccept = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 3:
                this.bAccept = ((Dominion.NET_WPF.Controls.ucButton)(target));
                return;

            case 4:
                this.bReshuffle = ((Dominion.NET_WPF.Controls.ucButton)(target));
                return;

            case 5:
                this.bCancel = ((Dominion.NET_WPF.Controls.ucButton)(target));
                return;

            case 6:

            #line 22 "..\..\wCardSelection.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown_1);

            #line default
            #line hidden

            #line 22 "..\..\wCardSelection.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 22 "..\..\wCardSelection.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Grid_MouseMove_1);

            #line default
            #line hidden
                return;

            case 7:
                this.bSetCategoryGroupDisplayHorizontal = ((System.Windows.Controls.Border)(target));
                return;

            case 8:

            #line 27 "..\..\wCardSelection.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 27 "..\..\wCardSelection.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 27 "..\..\wCardSelection.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Grid_MouseMove);

            #line default
            #line hidden
                return;

            case 9:
                this.bSetCategoryGroupDisplayVertical = ((System.Windows.Controls.Border)(target));
                return;

            case 10:
                this.svSetCategoryGroupDisplay = ((System.Windows.Controls.ScrollViewer)(target));

            #line 32 "..\..\wCardSelection.xaml"
                this.svSetCategoryGroupDisplay.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.svSetCategoryGroupDisplay_ScrollChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.dpCards = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 12:
                this.wpKingdomCards = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 13:
                this.cccKingdomCards = ((Dominion.NET_WPF.CardCollectionControl)(target));
                return;

            case 14:
                this.wpGeneralCards = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 15:
                this.cccGeneralCards = ((Dominion.NET_WPF.CardCollectionControl)(target));
                return;

            case 16:
                this.gsStop = ((System.Windows.Media.GradientStop)(target));
                return;

            case 17:
                this.bOpacityLayerTop = ((System.Windows.Controls.Border)(target));
                return;

            case 18:
                this.bOpacityLayerLeft = ((System.Windows.Controls.Border)(target));
                return;

            case 19:
                this.bOpacityLayerRight = ((System.Windows.Controls.Border)(target));
                return;

            case 20:
                this.bOpacityLayerBottom = ((System.Windows.Controls.Border)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.That = ((Dominion.NET_WPF.Controls.ucCardConstraints)(target));
     return;
     case 2:
     this.spConstraints = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 3:
     this.icConstraints = ((System.Windows.Controls.ItemsControl)(target));
     return;
     case 4:
     this.bAddNew = ((Dominion.NET_WPF.Controls.ucButton)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 9
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.bCancel = ((Dominion.NET_WPF.Controls.ucButton)(target));
     return;
     case 2:
     this.bNo = ((Dominion.NET_WPF.Controls.ucButton)(target));
     return;
     case 3:
     this.bOk = ((Dominion.NET_WPF.Controls.ucButton)(target));
     return;
     case 4:
     this.iIcon = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.tbBody = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.wpButtons = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 2:
                this.bOK = ((Dominion.NET_WPF.Controls.ucButton)(target));
                return;

            case 3:
                this.cbAutoClick = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 4:
                this.bButtonDiv = ((System.Windows.Controls.Border)(target));
                return;

            case 5:
                this.bAll = ((Dominion.NET_WPF.Controls.ucButton)(target));
                return;

            case 6:
                this.bNone = ((Dominion.NET_WPF.Controls.ucButton)(target));
                return;

            case 7:
                this.tbText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.wrapPanel1 = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 9:
                this.bReorder = ((System.Windows.Controls.Border)(target));
                return;

            case 10:
                this.lbReorder = ((System.Windows.Controls.ListBox)(target));
                return;

            case 11:
                this.bCardPool = ((System.Windows.Controls.Border)(target));
                return;

            case 12:
                this.lbCardPool = ((System.Windows.Controls.ListBox)(target));
                return;

            case 13:
                this.bHidden = ((System.Windows.Controls.Border)(target));
                return;

            case 14:
                this.lbHidden = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 11
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 6 "..\..\wMain.xaml"
     ((Dominion.NET_WPF.wMain)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     
     #line 7 "..\..\wMain.xaml"
     ((Dominion.NET_WPF.wMain)(target)).Initialized += new System.EventHandler(this.Window_Initialized);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 19 "..\..\wMain.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Help_CardViewer_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 20 "..\..\wMain.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CurrentGame_Save_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 21 "..\..\wMain.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Game_Load_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.miNewGame = ((System.Windows.Controls.MenuItem)(target));
     
     #line 31 "..\..\wMain.xaml"
     this.miNewGame.Click += new System.Windows.RoutedEventHandler(this.Game_NewGame_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.miEndGame = ((System.Windows.Controls.MenuItem)(target));
     
     #line 32 "..\..\wMain.xaml"
     this.miEndGame.Click += new System.Windows.RoutedEventHandler(this.Game_EndGame_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.miReplay = ((System.Windows.Controls.MenuItem)(target));
     
     #line 33 "..\..\wMain.xaml"
     this.miReplay.Click += new System.Windows.RoutedEventHandler(this.Game_Replay_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.miSettings = ((System.Windows.Controls.MenuItem)(target));
     
     #line 35 "..\..\wMain.xaml"
     this.miSettings.Click += new System.Windows.RoutedEventHandler(this.Game_Settings_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.miLoadGame = ((System.Windows.Controls.MenuItem)(target));
     
     #line 36 "..\..\wMain.xaml"
     this.miLoadGame.Click += new System.Windows.RoutedEventHandler(this.Game_Load_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 42 "..\..\wMain.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Game_Exit_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.miCurrentGame = ((System.Windows.Controls.MenuItem)(target));
     
     #line 44 "..\..\wMain.xaml"
     this.miCurrentGame.SubmenuOpened += new System.Windows.RoutedEventHandler(this.MenuItem_SubmenuOpened);
     
     #line default
     #line hidden
     return;
     case 12:
     this.miSaveGame = ((System.Windows.Controls.MenuItem)(target));
     
     #line 45 "..\..\wMain.xaml"
     this.miSaveGame.Click += new System.Windows.RoutedEventHandler(this.CurrentGame_Save_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.miViewGameLog = ((System.Windows.Controls.MenuItem)(target));
     
     #line 50 "..\..\wMain.xaml"
     this.miViewGameLog.Click += new System.Windows.RoutedEventHandler(this.CurrentGame_ViewGameLog_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.miAutoPlayTreasures = ((System.Windows.Controls.MenuItem)(target));
     
     #line 51 "..\..\wMain.xaml"
     this.miAutoPlayTreasures.Checked += new System.Windows.RoutedEventHandler(this.miLayoutChanged);
     
     #line default
     #line hidden
     
     #line 51 "..\..\wMain.xaml"
     this.miAutoPlayTreasures.Unchecked += new System.Windows.RoutedEventHandler(this.miLayoutChanged);
     
     #line default
     #line hidden
     return;
     case 15:
     this.miShowKingdomNames = ((System.Windows.Controls.MenuItem)(target));
     
     #line 52 "..\..\wMain.xaml"
     this.miShowKingdomNames.Checked += new System.Windows.RoutedEventHandler(this.miLayoutChanged);
     
     #line default
     #line hidden
     
     #line 52 "..\..\wMain.xaml"
     this.miShowKingdomNames.Unchecked += new System.Windows.RoutedEventHandler(this.miLayoutChanged);
     
     #line default
     #line hidden
     return;
     case 16:
     this.miShowBasicNames = ((System.Windows.Controls.MenuItem)(target));
     
     #line 53 "..\..\wMain.xaml"
     this.miShowBasicNames.Checked += new System.Windows.RoutedEventHandler(this.miLayoutChanged);
     
     #line default
     #line hidden
     
     #line 53 "..\..\wMain.xaml"
     this.miShowBasicNames.Unchecked += new System.Windows.RoutedEventHandler(this.miLayoutChanged);
     
     #line default
     #line hidden
     return;
     case 17:
     this.iUpdate = ((System.Windows.Controls.Image)(target));
     return;
     case 18:
     
     #line 64 "..\..\wMain.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Help_OfficialSite_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     
     #line 65 "..\..\wMain.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Help_DeveloperSite_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.miCheckForUpdates = ((System.Windows.Controls.MenuItem)(target));
     
     #line 66 "..\..\wMain.xaml"
     this.miCheckForUpdates.Click += new System.Windows.RoutedEventHandler(this.Help_CheckForUpdates_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.miDownload = ((System.Windows.Controls.MenuItem)(target));
     
     #line 67 "..\..\wMain.xaml"
     this.miDownload.Click += new System.Windows.RoutedEventHandler(this.Help_DownloadLatest_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this.cpStatus = ((System.Windows.Controls.ContentPresenter)(target));
     return;
     case 23:
     this.pbStatus = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 24:
     this.gMainDisplay = ((System.Windows.Controls.Grid)(target));
     return;
     case 25:
     this.rdGrid0 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 26:
     this.dpTopInformation = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 27:
     this.gStackPanelSupplyPilesOutside = ((System.Windows.Controls.Grid)(target));
     return;
     case 28:
     this.bStackPanelSupplyPiles = ((System.Windows.Controls.Border)(target));
     return;
     case 29:
     this.stackPanelSupplyPiles = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 30:
     this.dpGameInfo = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 31:
     this.uccChooser = ((Dominion.NET_WPF.Controls.ucChooser)(target));
     return;
     case 32:
     
     #line 98 "..\..\wMain.xaml"
     ((System.Windows.Controls.GridSplitter)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.GridSplitter_MouseDoubleClick);
     
     #line default
     #line hidden
     return;
     case 33:
     this.dpStuff = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 34:
     this.lActions = ((System.Windows.Controls.Label)(target));
     return;
     case 35:
     this.tbActions = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 36:
     this.lBuys = ((System.Windows.Controls.Label)(target));
     return;
     case 37:
     this.tbBuys = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 38:
     this.lCurrency = ((System.Windows.Controls.Label)(target));
     return;
     case 39:
     this.tbCurrency = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 40:
     this.bPlayTreasures = ((Dominion.NET_WPF.Controls.ucButton)(target));
     return;
     case 41:
     this.bPlayCoinTokens = ((Dominion.NET_WPF.Controls.ucButton)(target));
     return;
     case 42:
     this.bBuyPhase = ((Dominion.NET_WPF.Controls.ucButton)(target));
     return;
     case 43:
     this.bUndo = ((Dominion.NET_WPF.Controls.ucButton)(target));
     return;
     case 44:
     this.bTurnDone = ((Dominion.NET_WPF.Controls.ucButton)(target));
     return;
     case 45:
     this.tcAreas = ((System.Windows.Controls.TabControl)(target));
     
     #line 127 "..\..\wMain.xaml"
     this.tcAreas.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tcAreas_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 46:
     this.tiGame = ((System.Windows.Controls.TabItem)(target));
     return;
     case 47:
     this.iTable = ((System.Windows.Controls.Image)(target));
     return;
     case 48:
     
     #line 141 "..\..\wMain.xaml"
     ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown_1);
     
     #line default
     #line hidden
     
     #line 141 "..\..\wMain.xaml"
     ((System.Windows.Controls.Grid)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 141 "..\..\wMain.xaml"
     ((System.Windows.Controls.Grid)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Grid_MouseMove_1);
     
     #line default
     #line hidden
     return;
     case 49:
     this.bGameHorizontal = ((System.Windows.Controls.Border)(target));
     return;
     case 50:
     
     #line 146 "..\..\wMain.xaml"
     ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 146 "..\..\wMain.xaml"
     ((System.Windows.Controls.Grid)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 146 "..\..\wMain.xaml"
     ((System.Windows.Controls.Grid)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Grid_MouseMove);
     
     #line default
     #line hidden
     return;
     case 51:
     this.bGameVertical = ((System.Windows.Controls.Border)(target));
     return;
     case 52:
     this.svGame = ((System.Windows.Controls.ScrollViewer)(target));
     
     #line 151 "..\..\wMain.xaml"
     this.svGame.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.svGame_ScrollChanged);
     
     #line default
     #line hidden
     return;
     case 53:
     this.wpTrash = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 54:
     this.cardTrash = ((Dominion.NET_WPF.CardCollectionControl)(target));
     return;
     case 55:
     this.bTrashMatsDivider = ((System.Windows.Controls.Border)(target));
     return;
     case 56:
     this.dpMatsandPiles = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 57:
     this.bStuffDivider = ((System.Windows.Controls.Border)(target));
     return;
     case 58:
     this.dpGameStuff = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 59:
     this.bOpacityLayerTop = ((System.Windows.Controls.Border)(target));
     return;
     case 60:
     this.bOpacityLayerLeft = ((System.Windows.Controls.Border)(target));
     return;
     case 61:
     this.bOpacityLayerRight = ((System.Windows.Controls.Border)(target));
     return;
     case 62:
     this.bOpacityLayerBottom = ((System.Windows.Controls.Border)(target));
     return;
     case 63:
     this.tiGameLog = ((System.Windows.Controls.TabItem)(target));
     return;
     case 64:
     this.glMain = ((Dominion.NET_WPF.Controls.ucGameLog)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\wMain.xaml"
                ((Dominion.NET_WPF.wMain)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 7 "..\..\wMain.xaml"
                ((Dominion.NET_WPF.wMain)(target)).Initialized += new System.EventHandler(this.Window_Initialized);

            #line default
            #line hidden
                return;

            case 2:

            #line 19 "..\..\wMain.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Help_CardViewer_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 20 "..\..\wMain.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CurrentGame_Save_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 21 "..\..\wMain.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Game_Load_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.miNewGame = ((System.Windows.Controls.MenuItem)(target));

            #line 31 "..\..\wMain.xaml"
                this.miNewGame.Click += new System.Windows.RoutedEventHandler(this.Game_NewGame_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.miEndGame = ((System.Windows.Controls.MenuItem)(target));

            #line 32 "..\..\wMain.xaml"
                this.miEndGame.Click += new System.Windows.RoutedEventHandler(this.Game_EndGame_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.miReplay = ((System.Windows.Controls.MenuItem)(target));

            #line 33 "..\..\wMain.xaml"
                this.miReplay.Click += new System.Windows.RoutedEventHandler(this.Game_Replay_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.miSettings = ((System.Windows.Controls.MenuItem)(target));

            #line 35 "..\..\wMain.xaml"
                this.miSettings.Click += new System.Windows.RoutedEventHandler(this.Game_Settings_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.miLoadGame = ((System.Windows.Controls.MenuItem)(target));

            #line 36 "..\..\wMain.xaml"
                this.miLoadGame.Click += new System.Windows.RoutedEventHandler(this.Game_Load_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 42 "..\..\wMain.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Game_Exit_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.miCurrentGame = ((System.Windows.Controls.MenuItem)(target));

            #line 44 "..\..\wMain.xaml"
                this.miCurrentGame.SubmenuOpened += new System.Windows.RoutedEventHandler(this.MenuItem_SubmenuOpened);

            #line default
            #line hidden
                return;

            case 12:
                this.miSaveGame = ((System.Windows.Controls.MenuItem)(target));

            #line 45 "..\..\wMain.xaml"
                this.miSaveGame.Click += new System.Windows.RoutedEventHandler(this.CurrentGame_Save_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.miViewGameLog = ((System.Windows.Controls.MenuItem)(target));

            #line 50 "..\..\wMain.xaml"
                this.miViewGameLog.Click += new System.Windows.RoutedEventHandler(this.CurrentGame_ViewGameLog_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.miAutoPlayTreasures = ((System.Windows.Controls.MenuItem)(target));

            #line 51 "..\..\wMain.xaml"
                this.miAutoPlayTreasures.Checked += new System.Windows.RoutedEventHandler(this.miLayoutChanged);

            #line default
            #line hidden

            #line 51 "..\..\wMain.xaml"
                this.miAutoPlayTreasures.Unchecked += new System.Windows.RoutedEventHandler(this.miLayoutChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.miShowKingdomNames = ((System.Windows.Controls.MenuItem)(target));

            #line 52 "..\..\wMain.xaml"
                this.miShowKingdomNames.Checked += new System.Windows.RoutedEventHandler(this.miLayoutChanged);

            #line default
            #line hidden

            #line 52 "..\..\wMain.xaml"
                this.miShowKingdomNames.Unchecked += new System.Windows.RoutedEventHandler(this.miLayoutChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.miShowBasicNames = ((System.Windows.Controls.MenuItem)(target));

            #line 53 "..\..\wMain.xaml"
                this.miShowBasicNames.Checked += new System.Windows.RoutedEventHandler(this.miLayoutChanged);

            #line default
            #line hidden

            #line 53 "..\..\wMain.xaml"
                this.miShowBasicNames.Unchecked += new System.Windows.RoutedEventHandler(this.miLayoutChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.iUpdate = ((System.Windows.Controls.Image)(target));
                return;

            case 18:

            #line 64 "..\..\wMain.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Help_OfficialSite_Click);

            #line default
            #line hidden
                return;

            case 19:

            #line 65 "..\..\wMain.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Help_DeveloperSite_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.miCheckForUpdates = ((System.Windows.Controls.MenuItem)(target));

            #line 66 "..\..\wMain.xaml"
                this.miCheckForUpdates.Click += new System.Windows.RoutedEventHandler(this.Help_CheckForUpdates_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.miDownload = ((System.Windows.Controls.MenuItem)(target));

            #line 67 "..\..\wMain.xaml"
                this.miDownload.Click += new System.Windows.RoutedEventHandler(this.Help_DownloadLatest_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.cpStatus = ((System.Windows.Controls.ContentPresenter)(target));
                return;

            case 23:
                this.pbStatus = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 24:
                this.gMainDisplay = ((System.Windows.Controls.Grid)(target));
                return;

            case 25:
                this.rdGrid0 = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 26:
                this.dpTopInformation = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 27:
                this.gStackPanelSupplyPilesOutside = ((System.Windows.Controls.Grid)(target));
                return;

            case 28:
                this.bStackPanelSupplyPiles = ((System.Windows.Controls.Border)(target));
                return;

            case 29:
                this.stackPanelSupplyPiles = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 30:
                this.dpGameInfo = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 31:
                this.uccChooser = ((Dominion.NET_WPF.Controls.ucChooser)(target));
                return;

            case 32:

            #line 98 "..\..\wMain.xaml"
                ((System.Windows.Controls.GridSplitter)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.GridSplitter_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 33:
                this.dpStuff = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 34:
                this.lActions = ((System.Windows.Controls.Label)(target));
                return;

            case 35:
                this.tbActions = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 36:
                this.lBuys = ((System.Windows.Controls.Label)(target));
                return;

            case 37:
                this.tbBuys = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 38:
                this.lCurrency = ((System.Windows.Controls.Label)(target));
                return;

            case 39:
                this.tbCurrency = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 40:
                this.bPlayTreasures = ((Dominion.NET_WPF.Controls.ucButton)(target));
                return;

            case 41:
                this.bPlayCoinTokens = ((Dominion.NET_WPF.Controls.ucButton)(target));
                return;

            case 42:
                this.bBuyPhase = ((Dominion.NET_WPF.Controls.ucButton)(target));
                return;

            case 43:
                this.bUndo = ((Dominion.NET_WPF.Controls.ucButton)(target));
                return;

            case 44:
                this.bTurnDone = ((Dominion.NET_WPF.Controls.ucButton)(target));
                return;

            case 45:
                this.tcAreas = ((System.Windows.Controls.TabControl)(target));

            #line 127 "..\..\wMain.xaml"
                this.tcAreas.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tcAreas_SelectionChanged);

            #line default
            #line hidden
                return;

            case 46:
                this.tiGame = ((System.Windows.Controls.TabItem)(target));
                return;

            case 47:
                this.iTable = ((System.Windows.Controls.Image)(target));
                return;

            case 48:

            #line 141 "..\..\wMain.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown_1);

            #line default
            #line hidden

            #line 141 "..\..\wMain.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 141 "..\..\wMain.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Grid_MouseMove_1);

            #line default
            #line hidden
                return;

            case 49:
                this.bGameHorizontal = ((System.Windows.Controls.Border)(target));
                return;

            case 50:

            #line 146 "..\..\wMain.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 146 "..\..\wMain.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 146 "..\..\wMain.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Grid_MouseMove);

            #line default
            #line hidden
                return;

            case 51:
                this.bGameVertical = ((System.Windows.Controls.Border)(target));
                return;

            case 52:
                this.svGame = ((System.Windows.Controls.ScrollViewer)(target));

            #line 151 "..\..\wMain.xaml"
                this.svGame.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.svGame_ScrollChanged);

            #line default
            #line hidden
                return;

            case 53:
                this.wpTrash = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 54:
                this.cardTrash = ((Dominion.NET_WPF.CardCollectionControl)(target));
                return;

            case 55:
                this.bTrashMatsDivider = ((System.Windows.Controls.Border)(target));
                return;

            case 56:
                this.dpMatsandPiles = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 57:
                this.bStuffDivider = ((System.Windows.Controls.Border)(target));
                return;

            case 58:
                this.dpGameStuff = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 59:
                this.bOpacityLayerTop = ((System.Windows.Controls.Border)(target));
                return;

            case 60:
                this.bOpacityLayerLeft = ((System.Windows.Controls.Border)(target));
                return;

            case 61:
                this.bOpacityLayerRight = ((System.Windows.Controls.Border)(target));
                return;

            case 62:
                this.bOpacityLayerBottom = ((System.Windows.Controls.Border)(target));
                return;

            case 63:
                this.tiGameLog = ((System.Windows.Controls.TabItem)(target));
                return;

            case 64:
                this.glMain = ((Dominion.NET_WPF.Controls.ucGameLog)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 13
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.wpButtons = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 2:
     this.bOK = ((Dominion.NET_WPF.Controls.ucButton)(target));
     return;
     case 3:
     this.cbAutoClick = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 4:
     this.bButtonDiv = ((System.Windows.Controls.Border)(target));
     return;
     case 5:
     this.bAll = ((Dominion.NET_WPF.Controls.ucButton)(target));
     return;
     case 6:
     this.bNone = ((Dominion.NET_WPF.Controls.ucButton)(target));
     return;
     case 7:
     this.tbText = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.wrapPanel1 = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 9:
     this.bReorder = ((System.Windows.Controls.Border)(target));
     return;
     case 10:
     this.lbReorder = ((System.Windows.Controls.ListBox)(target));
     return;
     case 11:
     this.bCardPool = ((System.Windows.Controls.Border)(target));
     return;
     case 12:
     this.lbCardPool = ((System.Windows.Controls.ListBox)(target));
     return;
     case 13:
     this.bHidden = ((System.Windows.Controls.Border)(target));
     return;
     case 14:
     this.lbHidden = ((System.Windows.Controls.ListBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 7 "..\..\wCardSelection.xaml"
     ((Dominion.NET_WPF.wCardSelection)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.cbAutoAccept = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 3:
     this.bAccept = ((Dominion.NET_WPF.Controls.ucButton)(target));
     return;
     case 4:
     this.bReshuffle = ((Dominion.NET_WPF.Controls.ucButton)(target));
     return;
     case 5:
     this.bCancel = ((Dominion.NET_WPF.Controls.ucButton)(target));
     return;
     case 6:
     
     #line 22 "..\..\wCardSelection.xaml"
     ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown_1);
     
     #line default
     #line hidden
     
     #line 22 "..\..\wCardSelection.xaml"
     ((System.Windows.Controls.Grid)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 22 "..\..\wCardSelection.xaml"
     ((System.Windows.Controls.Grid)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Grid_MouseMove_1);
     
     #line default
     #line hidden
     return;
     case 7:
     this.bSetCategoryGroupDisplayHorizontal = ((System.Windows.Controls.Border)(target));
     return;
     case 8:
     
     #line 27 "..\..\wCardSelection.xaml"
     ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 27 "..\..\wCardSelection.xaml"
     ((System.Windows.Controls.Grid)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 27 "..\..\wCardSelection.xaml"
     ((System.Windows.Controls.Grid)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Grid_MouseMove);
     
     #line default
     #line hidden
     return;
     case 9:
     this.bSetCategoryGroupDisplayVertical = ((System.Windows.Controls.Border)(target));
     return;
     case 10:
     this.svSetCategoryGroupDisplay = ((System.Windows.Controls.ScrollViewer)(target));
     
     #line 32 "..\..\wCardSelection.xaml"
     this.svSetCategoryGroupDisplay.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.svSetCategoryGroupDisplay_ScrollChanged);
     
     #line default
     #line hidden
     return;
     case 11:
     this.dpCards = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 12:
     this.wpKingdomCards = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 13:
     this.cccKingdomCards = ((Dominion.NET_WPF.CardCollectionControl)(target));
     return;
     case 14:
     this.wpGeneralCards = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 15:
     this.cccGeneralCards = ((Dominion.NET_WPF.CardCollectionControl)(target));
     return;
     case 16:
     this.gsStop = ((System.Windows.Media.GradientStop)(target));
     return;
     case 17:
     this.bOpacityLayerTop = ((System.Windows.Controls.Border)(target));
     return;
     case 18:
     this.bOpacityLayerLeft = ((System.Windows.Controls.Border)(target));
     return;
     case 19:
     this.bOpacityLayerRight = ((System.Windows.Controls.Border)(target));
     return;
     case 20:
     this.bOpacityLayerBottom = ((System.Windows.Controls.Border)(target));
     return;
     }
     this._contentLoaded = true;
 }