void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Window = ((MapEditor.NewMap)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.tbMapName = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.tbImagePath = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.btnBrowser = ((System.Windows.Controls.Button)(target)); #line 14 "..\..\NewMap.xaml" this.btnBrowser.Click += new System.Windows.RoutedEventHandler(this.btnBrowser_Click); #line default #line hidden return; case 6: this.btnOk = ((System.Windows.Controls.Button)(target)); #line 15 "..\..\NewMap.xaml" this.btnOk.Click += new System.Windows.RoutedEventHandler(this.btnOk_Click); #line default #line hidden return; case 7: this.btnCancel = ((System.Windows.Controls.Button)(target)); #line 16 "..\..\NewMap.xaml" this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click); #line default #line hidden return; } this._contentLoaded = true; }