void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.earthWindow = ((sungrow_demo.GoogleEarth)(target)); #line 5 "..\..\..\GoogleEarth.xaml" this.earthWindow.Closing += new System.ComponentModel.CancelEventHandler(this.earthWindow_Closing); #line default #line hidden #line 5 "..\..\..\GoogleEarth.xaml" this.earthWindow.KeyDown += new System.Windows.Input.KeyEventHandler(this.earthWindow_KeyDown); #line default #line hidden return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.host = ((System.Windows.Forms.Integration.WindowsFormsHost)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.earthWindow = ((sungrow_demo.GoogleEarth)(target)); #line 5 "..\..\..\GoogleEarth.xaml" this.earthWindow.Closing += new System.ComponentModel.CancelEventHandler(this.earthWindow_Closing); #line default #line hidden return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.host = ((System.Windows.Forms.Integration.WindowsFormsHost)(target)); return; } this._contentLoaded = true; }