void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainWindow = ((MyMap.MainWindow)(target)); return; case 2: this.FormText = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.ToText = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.border = ((MyMap.ViewModel.ZoomBorder)(target)); return; case 5: this.myCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 6: this.patDirection = ((System.Windows.Shapes.Path)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.border = ((MyMap.ViewModel.ZoomBorder)(target)); return; } this._contentLoaded = true; }