void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MoveUserControl = ((FoodSafetyMonitoring.VerAniControl)(target)); return; case 2: this.canvas = ((System.Windows.Controls.Canvas)(target)); return; case 3: this.listView = ((System.Windows.Controls.ListView)(target)); return; } this._contentLoaded = true; }