void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ucUserDetails = ((Service_Reader.UcCanvasUser)(target)); return; case 2: this.dtSubmissionsFrom = ((System.Windows.Controls.DatePicker)(target)); return; case 3: this.label = ((System.Windows.Controls.Label)(target)); return; case 4: this.dtSubmissionsTo = ((System.Windows.Controls.DatePicker)(target)); return; case 5: this.labelTo = ((System.Windows.Controls.Label)(target)); return; case 6: this.dataGrid = ((Service_Reader.CustomDataGrid)(target)); return; case 7: this.ucSubmissions = ((Service_Reader.ServiceSubmissionDetails)(target)); return; } this._contentLoaded = true; }