void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.GameWindow = ((Minesweeper.MainWindow)(target)); #line 8 "..\..\MainWindow.xaml" this.GameWindow.Loaded += new System.Windows.RoutedEventHandler(this.GameWindow_Loaded); #line default #line hidden return; case 2: this.Main_Container = ((System.Windows.Controls.Grid)(target)); return; case 3: this.Game_Row = ((System.Windows.Controls.RowDefinition)(target)); return; case 4: this.Game_Column = ((System.Windows.Controls.ColumnDefinition)(target)); return; case 5: this.StartGame = ((System.Windows.Controls.Button)(target)); #line 22 "..\..\MainWindow.xaml" this.StartGame.Click += new System.Windows.RoutedEventHandler(this.StartGame_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainWindow = ((Minesweeper.MainWindow)(target)); #line 8 "..\..\MainWindow.xaml" this.mainWindow.SizeChanged += new System.Windows.SizeChangedEventHandler(this.Window_SizeChanged); #line default #line hidden #line 8 "..\..\MainWindow.xaml" this.mainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.mainWindow_Closing); #line default #line hidden return; case 2: this.mainGrid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.grid = ((System.Windows.Controls.Grid)(target)); return; case 4: this.BtnOptions = ((System.Windows.Controls.Button)(target)); #line 11 "..\..\MainWindow.xaml" this.BtnOptions.Click += new System.Windows.RoutedEventHandler(this.BtnOptions_Click); #line default #line hidden return; case 5: this.BtnScores = ((System.Windows.Controls.Button)(target)); #line 12 "..\..\MainWindow.xaml" this.BtnScores.Click += new System.Windows.RoutedEventHandler(this.BtnHiscores_Click); #line default #line hidden return; case 6: this.BtnRestart = ((System.Windows.Controls.Button)(target)); #line 13 "..\..\MainWindow.xaml" this.BtnRestart.Click += new System.Windows.RoutedEventHandler(this.BtnRestart_Click); #line default #line hidden return; case 7: this.BtnNewGame = ((System.Windows.Controls.Button)(target)); #line 14 "..\..\MainWindow.xaml" this.BtnNewGame.Click += new System.Windows.RoutedEventHandler(this.BtnNewGame_Click); #line default #line hidden return; case 8: this.lblTime = ((System.Windows.Controls.Label)(target)); return; case 9: this.lblMines = ((System.Windows.Controls.Label)(target)); return; case 10: this.label = ((System.Windows.Controls.Label)(target)); return; case 11: this.label_Copy = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainWindow = ((Minesweeper.MainWindow)(target)); return; case 2: this.mainGrid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.lbBombLeft = ((System.Windows.Controls.Label)(target)); return; case 4: this.lbTimer = ((System.Windows.Controls.Label)(target)); return; case 5: this.mainMenu = ((System.Windows.Controls.Menu)(target)); return; case 6: this.menuFile = ((System.Windows.Controls.MenuItem)(target)); return; case 7: this.menuNewGame = ((System.Windows.Controls.MenuItem)(target)); #line 16 "..\..\MainWindow.xaml" this.menuNewGame.Click += new System.Windows.RoutedEventHandler(this.menuNewGame_Click); #line default #line hidden return; case 8: this.menuExit = ((System.Windows.Controls.MenuItem)(target)); #line 17 "..\..\MainWindow.xaml" this.menuExit.Click += new System.Windows.RoutedEventHandler(this.menuExit_Click); #line default #line hidden return; case 9: this.menuHelp = ((System.Windows.Controls.MenuItem)(target)); return; case 10: this.menuAbout = ((System.Windows.Controls.MenuItem)(target)); #line 20 "..\..\MainWindow.xaml" this.menuAbout.Click += new System.Windows.RoutedEventHandler(this.menuAbout_Click); #line default #line hidden return; } this._contentLoaded = true; }