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; }
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; }