void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.pieChart = ((System.Windows.Controls.DataVisualization.Charting.Chart)(target));
                return;

            case 2:
                this.piechart = ((System.Windows.Controls.DataVisualization.Charting.PieSeries)(target));
                return;

            case 3:
                this.lineChart = ((System.Windows.Controls.DataVisualization.Charting.Chart)(target));
                return;

            case 4:
                this.linechart = ((System.Windows.Controls.DataVisualization.Charting.LineSeries)(target));
                return;

            case 5:
                this.barChart = ((System.Windows.Controls.DataVisualization.Charting.Chart)(target));
                return;

            case 6:
                this.columnchart = ((System.Windows.Controls.DataVisualization.Charting.BarSeries)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.thongKeWindow = ((QuanLyTraSua.ThongKe)(target));
                return;

            case 2:
                this.test1 = ((De.TorstenMandelkow.MetroChart.PieChart)(target));
                return;

            case 3:
                this.Barchart = ((System.Windows.Controls.DataVisualization.Charting.BarSeries)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.BARov0409 = ((System.Windows.Controls.DataVisualization.Charting.Chart)(target));
                return;

            case 2:
                this.BARov = ((System.Windows.Controls.DataVisualization.Charting.BarSeries)(target));
                return;

            case 3:
                this.BARovTwee = ((System.Windows.Controls.DataVisualization.Charting.BarSeries)(target));
                return;

            case 4:
                this.Main = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.pieChart = ((System.Windows.Controls.DataVisualization.Charting.Chart)(target));
     return;
     case 2:
     this.piechart = ((System.Windows.Controls.DataVisualization.Charting.PieSeries)(target));
     return;
     case 3:
     this.lineChart = ((System.Windows.Controls.DataVisualization.Charting.Chart)(target));
     return;
     case 4:
     this.linechart = ((System.Windows.Controls.DataVisualization.Charting.LineSeries)(target));
     return;
     case 5:
     this.barChart = ((System.Windows.Controls.DataVisualization.Charting.Chart)(target));
     return;
     case 6:
     this.columnchart = ((System.Windows.Controls.DataVisualization.Charting.BarSeries)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnSignOut = ((System.Windows.Controls.Button)(target));

            #line 12 "..\..\..\View\ManagementDepartment.xaml"
                this.btnSignOut.Click += new System.Windows.RoutedEventHandler(this.btnSignOut_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.DataTicketTransaction = ((System.Windows.Controls.TabItem)(target));
                return;

            case 3:
                this.dataTicketTransactionView = ((System.Windows.Controls.DataGrid)(target));

            #line 25 "..\..\..\View\ManagementDepartment.xaml"
                this.dataTicketTransactionView.Loaded += new System.Windows.RoutedEventHandler(this.dataTicketTransactionView_Loaded);

            #line default
            #line hidden
                return;

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

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

            case 6:
                this.LineChartTicket = ((System.Windows.Controls.DataVisualization.Charting.BarSeries)(target));
                return;

            case 7:
                this.DataRestaurantTransaction = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 41 "..\..\..\View\ManagementDepartment.xaml"
                this.dataRestaurantTransactionView.Loaded += new System.Windows.RoutedEventHandler(this.dataRestaurantTransactionView_Loaded);

            #line default
            #line hidden
                return;

            case 9:
                this.DataHotelTransaction = ((System.Windows.Controls.TabItem)(target));
                return;

            case 10:
                this.dataHotelTransactionView = ((System.Windows.Controls.DataGrid)(target));

            #line 46 "..\..\..\View\ManagementDepartment.xaml"
                this.dataHotelTransactionView.Loaded += new System.Windows.RoutedEventHandler(this.dataHotelTransactionView_Loaded);

            #line default
            #line hidden
                return;

            case 11:
                this.DataRequestRide = ((System.Windows.Controls.TabItem)(target));
                return;

            case 12:
                this.dataRequestRide = ((System.Windows.Controls.DataGrid)(target));

            #line 59 "..\..\..\View\ManagementDepartment.xaml"
                this.dataRequestRide.Loaded += new System.Windows.RoutedEventHandler(this.dataRequestRide_Loaded);

            #line default
            #line hidden
                return;

            case 13:
                this.tbReqRideId = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 65 "..\..\..\View\ManagementDepartment.xaml"
                this.btnSearchRide.Click += new System.Windows.RoutedEventHandler(this.btnSearchRide_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.lbNameRide = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.lbDescRide = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 72 "..\..\..\View\ManagementDepartment.xaml"
                this.btnAccRide.Click += new System.Windows.RoutedEventHandler(this.btnAccRide_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.btnNoAccRide = ((System.Windows.Controls.Button)(target));

            #line 73 "..\..\..\View\ManagementDepartment.xaml"
                this.btnNoAccRide.Click += new System.Windows.RoutedEventHandler(this.btnNoAccRide_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.DataRequestAtt = ((System.Windows.Controls.TabItem)(target));
                return;

            case 20:
                this.dataRequestAtt = ((System.Windows.Controls.DataGrid)(target));

            #line 88 "..\..\..\View\ManagementDepartment.xaml"
                this.dataRequestAtt.Loaded += new System.Windows.RoutedEventHandler(this.dataRequestAtt_Loaded);

            #line default
            #line hidden
                return;

            case 21:
                this.tbReqAttId = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.btnSearchAtt = ((System.Windows.Controls.Button)(target));

            #line 95 "..\..\..\View\ManagementDepartment.xaml"
                this.btnSearchAtt.Click += new System.Windows.RoutedEventHandler(this.btnSearchAtt_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.lbNameAtt = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.lbDescAtt = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.btnAccAtt = ((System.Windows.Controls.Button)(target));

            #line 102 "..\..\..\View\ManagementDepartment.xaml"
                this.btnAccAtt.Click += new System.Windows.RoutedEventHandler(this.btnAccAtt_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.btnNoAccAtt = ((System.Windows.Controls.Button)(target));

            #line 103 "..\..\..\View\ManagementDepartment.xaml"
                this.btnNoAccAtt.Click += new System.Windows.RoutedEventHandler(this.btnNoAccAtt_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.DataRequestResign = ((System.Windows.Controls.TabItem)(target));
                return;

            case 28:
                this.dataRequestResign = ((System.Windows.Controls.DataGrid)(target));

            #line 118 "..\..\..\View\ManagementDepartment.xaml"
                this.dataRequestResign.Loaded += new System.Windows.RoutedEventHandler(this.dataRequestResign_Loaded);

            #line default
            #line hidden
                return;

            case 29:
                this.tbReqResignId = ((System.Windows.Controls.TextBox)(target));
                return;

            case 30:
                this.btnSeacrhIdResign = ((System.Windows.Controls.Button)(target));

            #line 124 "..\..\..\View\ManagementDepartment.xaml"
                this.btnSeacrhIdResign.Click += new System.Windows.RoutedEventHandler(this.btnSeacrhIdResign_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.tbReason = ((System.Windows.Controls.TextBox)(target));
                return;

            case 32:
                this.btnAccResign = ((System.Windows.Controls.Button)(target));

            #line 130 "..\..\..\View\ManagementDepartment.xaml"
                this.btnAccResign.Click += new System.Windows.RoutedEventHandler(this.btnAccResign_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.btnNoAccResign = ((System.Windows.Controls.Button)(target));

            #line 131 "..\..\..\View\ManagementDepartment.xaml"
                this.btnNoAccResign.Click += new System.Windows.RoutedEventHandler(this.btnNoAccResign_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.workPerformance = ((System.Windows.Controls.TabItem)(target));
                return;

            case 35:
                this.dataWorkPerformance = ((System.Windows.Controls.DataGrid)(target));

            #line 140 "..\..\..\View\ManagementDepartment.xaml"
                this.dataWorkPerformance.Loaded += new System.Windows.RoutedEventHandler(this.dataWorkPerformance_Loaded);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }