void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainGrid = ((System.Windows.Controls.Grid)(target)); return; case 2: this.bg1 = ((System.Windows.Shapes.Rectangle)(target)); return; case 3: this.bg2 = ((System.Windows.Shapes.Rectangle)(target)); return; case 4: this.Minimize = ((VMS.Client.View.Component.MinmaxControlLibrarys.MinmaxControl)(target)); return; case 5: this.txtName = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.grdContent = ((System.Windows.Controls.Grid)(target)); return; case 7: this.MainMap = ((VMS.Client.View.Component.Map.Source.Map)(target)); return; } this._contentLoaded = true; }