void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.map = ((VirtualEarthWPFControl.VEMap)(target)); return; case 2: this.textBox1 = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.button1 = ((System.Windows.Controls.Button)(target)); #line 20 "..\..\Window1.xaml" this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click); #line default #line hidden return; case 4: this.checkBox1 = ((System.Windows.Controls.CheckBox)(target)); #line 21 "..\..\Window1.xaml" this.checkBox1.Unchecked += new System.Windows.RoutedEventHandler(this.checkBox1_Unchecked); #line default #line hidden #line 21 "..\..\Window1.xaml" this.checkBox1.Checked += new System.Windows.RoutedEventHandler(this.checkBox1_Checked); #line default #line hidden return; } this._contentLoaded = true; }
VEMap map; //holds the current VEMap instance public WindowExternalHelper(VEMap map) { this.map = map; }
VEMap map; //holds the current VEMap instance public WindowExternalHelper(VEMap map) { this.map = map; }