示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Users = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.label1_Copy = ((System.Windows.Controls.Label)(target));
                return;

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

            case 5:
                this.curventAllTask = ((DevExpress.Xpf.Charts.SeriesPoint)(target));
                return;

            case 6:
                this.curventCompleteTask = ((DevExpress.Xpf.Charts.SeriesPoint)(target));
                return;

            case 7:
                this.notification = ((DevExpress.Xpf.Charts.SeriesPoint)(target));
                return;

            case 8:
                this.NewUsers = ((DevExpress.Xpf.Charts.SeriesPoint)(target));
                return;

            case 9:
                this.NewCompany = ((DevExpress.Xpf.Charts.SeriesPoint)(target));
                return;

            case 10:
                this.IncompleteTask = ((DevExpress.Xpf.Charts.SeriesPoint)(target));
                return;

            case 11:
                this.AllComment = ((DevExpress.Xpf.Charts.SeriesPoint)(target));
                return;

            case 12:
                this.lblAllTask = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.lblCurventCompleteTask = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.lblCompetedTask = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.dtpStart = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 16:
                this.dtpEnd = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            case 18:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.label2_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.button = ((System.Windows.Controls.Button)(target));

            #line 91 "..\..\Report.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\Report.xaml"
                ((CRMv2.Report)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.grdAllStats = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.lblCompletedTaskCount = ((System.Windows.Controls.Label)(target));
                return;

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

            case 5:
                this.lblNewUserCount = ((System.Windows.Controls.Label)(target));
                return;

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

            case 7:
                this.lblDeletedCustomerCount = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.lblCreatedTaskCount = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.lblNewCommentCount = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.lblNewNotificationCount = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.btn_AllTaskReport = ((System.Windows.Controls.Button)(target));

            #line 38 "..\..\Report.xaml"
                this.btn_AllTaskReport.Click += new System.Windows.RoutedEventHandler(this.btn_AllTaskReport_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btn_CompletedTaskReport = ((System.Windows.Controls.Button)(target));

            #line 39 "..\..\Report.xaml"
                this.btn_CompletedTaskReport.Click += new System.Windows.RoutedEventHandler(this.btn_CompletedTaskReport_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.btn_IncompletedTaskReport = ((System.Windows.Controls.Button)(target));

            #line 40 "..\..\Report.xaml"
                this.btn_IncompletedTaskReport.Click += new System.Windows.RoutedEventHandler(this.btn_IncompletedTaskReport_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btn_NewUserReport = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\Report.xaml"
                this.btn_NewUserReport.Click += new System.Windows.RoutedEventHandler(this.btn_NewUserReport_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.btn_NewCustomerReport = ((System.Windows.Controls.Button)(target));

            #line 42 "..\..\Report.xaml"
                this.btn_NewCustomerReport.Click += new System.Windows.RoutedEventHandler(this.btn_NewCustomerReport_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.btn_DeletedCustomerReport = ((System.Windows.Controls.Button)(target));

            #line 43 "..\..\Report.xaml"
                this.btn_DeletedCustomerReport.Click += new System.Windows.RoutedEventHandler(this.btn_DeletedCustomerReport_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.btn_NewCommentReport = ((System.Windows.Controls.Button)(target));

            #line 44 "..\..\Report.xaml"
                this.btn_NewCommentReport.Click += new System.Windows.RoutedEventHandler(this.btn_NewCommentReport_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.grdCurrentUserStats = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.txtCreatedTsBySelf = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.lblUserCreatedTasks = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.lblUserCompletedTasks = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.lblUserIncompletedTasks = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.ChrtMain = ((DevExpress.Xpf.Charts.ChartControl)(target));
                return;

            case 24:
                this.chrtAllTasks = ((DevExpress.Xpf.Charts.SeriesPoint)(target));
                return;

            case 25:
                this.chrtNotificationCount = ((DevExpress.Xpf.Charts.SeriesPoint)(target));
                return;

            case 26:
                this.chrtNewUsersCount = ((DevExpress.Xpf.Charts.SeriesPoint)(target));
                return;

            case 27:
                this.chrtNewCustomersCount = ((DevExpress.Xpf.Charts.SeriesPoint)(target));
                return;

            case 28:
                this.chrtCompletedTasks = ((DevExpress.Xpf.Charts.SeriesPoint)(target));
                return;

            case 29:
                this.chrtDeletedCustomersCount = ((DevExpress.Xpf.Charts.SeriesPoint)(target));
                return;

            case 30:
                this.chrtIncompleteTAskCount = ((DevExpress.Xpf.Charts.SeriesPoint)(target));
                return;

            case 31:
                this.chrtNewCommenetCount = ((DevExpress.Xpf.Charts.SeriesPoint)(target));
                return;

            case 32:
                this.dtpStartTime = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 33:
                this.dtpFinishTime = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 34:
                this.btnSearch = ((System.Windows.Controls.Button)(target));

            #line 133 "..\..\Report.xaml"
                this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.btn_MonthlyReport = ((System.Windows.Controls.Button)(target));

            #line 134 "..\..\Report.xaml"
                this.btn_MonthlyReport.Click += new System.Windows.RoutedEventHandler(this.btn_MonthlyReport_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.chrtUser = ((DevExpress.Xpf.Charts.ChartControl)(target));
                return;

            case 37:
                this.chrtUCreatedTasks = ((DevExpress.Xpf.Charts.SeriesPoint)(target));
                return;

            case 38:
                this.chrtUCompletedTasks = ((DevExpress.Xpf.Charts.SeriesPoint)(target));
                return;

            case 39:
                this.chrtUFailedTasks = ((DevExpress.Xpf.Charts.SeriesPoint)(target));
                return;
            }
            this._contentLoaded = true;
        }