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;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ucSubmissionOverview = ((Service_Reader.UcCanvasSubmissionsOverview)(target));
                return;

            case 2:
                this.ucUserDetails = ((Service_Reader.UcCanvasUser)(target));
                return;

            case 3:
                this.dtSubmissionsFrom = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 4:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.dtSubmissionsTo = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 6:
                this.labelTo = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.DownloadCanvasData = ((System.Windows.Controls.Button)(target));
                return;

            case 8:
                this.dataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 38 "..\..\UcCanvasSubmissionsOverview.xaml"
                this.dataGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgvSubmissions_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.ucSubmissions = ((Service_Reader.ServiceSubmissionDetails)(target));
                return;
            }
            this._contentLoaded = true;
        }
 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;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ucSubmissionOverview = ((Service_Reader.UcCanvasSubmissionsOverview)(target));
     return;
     case 2:
     this.ucUserDetails = ((Service_Reader.UcCanvasUser)(target));
     return;
     case 3:
     this.dtSubmissionsFrom = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 4:
     this.label = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.dtSubmissionsTo = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 6:
     this.labelTo = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.DownloadCanvasData = ((System.Windows.Controls.Button)(target));
     return;
     case 8:
     this.dataGrid = ((System.Windows.Controls.DataGrid)(target));
     
     #line 38 "..\..\UcCanvasSubmissionsOverview.xaml"
     this.dataGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgvSubmissions_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 9:
     this.ucSubmissions = ((Service_Reader.ServiceSubmissionDetails)(target));
     return;
     }
     this._contentLoaded = true;
 }