void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainWindow = ((FinalGame.MainWindow)(target)); #line 5 "..\..\MainWindow.xaml" this.mainWindow.KeyDown += new System.Windows.Input.KeyEventHandler(this.keyPressed); #line default #line hidden return; case 2: this.screenArea = ((System.Windows.Controls.Grid)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainWindow = ((FinalGame.MainWindow)(target)); #line 5 "..\..\MainWindow.xaml" this.mainWindow.KeyDown += new System.Windows.Input.KeyEventHandler(this.keyPressed); #line default #line hidden return; case 2: this.screenArea = ((System.Windows.Controls.Grid)(target)); return; } this._contentLoaded = true; }