void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Window = ((MapEditor.NewOnOffEvent)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.cbOnOff = ((System.Windows.Controls.ComboBox)(target)); return; case 4: this.btnSave = ((System.Windows.Controls.Button)(target)); #line 12 "..\..\..\Events\NewOnOffEvent.xaml" this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click); #line default #line hidden return; case 5: this.btnCancel = ((System.Windows.Controls.Button)(target)); #line 13 "..\..\..\Events\NewOnOffEvent.xaml" this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click); #line default #line hidden return; } this._contentLoaded = true; }