Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AccidentChart = ((Telerik.Windows.Controls.RadCartesianChart)(target));
                return;

            case 2:
                this.ch4 = ((Telerik.Windows.Controls.RadCartesianChart)(target));
                return;

            case 3:
                this.AssetsChart = ((Telerik.Windows.Controls.RadCartesianChart)(target));
                return;

            case 4:
                this.ResponseTimeChart = ((Telerik.Windows.Controls.RadPieChart)(target));
                return;

            case 5:
                this.ViolationChart = ((Telerik.Windows.Controls.RadPieChart)(target));
                return;
            }
            this._contentLoaded = true;
        }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/xcControlPoint;component/PivotPage1.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.PieChart = ((Telerik.Windows.Controls.RadPieChart)(this.FindName("PieChart")));
     this.BarChart = ((Telerik.Windows.Controls.RadCartesianChart)(this.FindName("BarChart")));
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PatrolDetailsUIcontrol = ((STC.Projects.WPFControlLibrary.SOPBox.UserControls.DangerousVehicleUserControl)(target));
                return;

            case 2:
                this.Btnback = ((System.Windows.Controls.Button)(target));

            #line 473 "..\..\..\UserControls\DangerousVehicleUserControl.xaml"
                this.Btnback.Click += new System.Windows.RoutedEventHandler(this.ClosePopup_OnClick);

            #line default
            #line hidden
                return;

            case 3:
                this.imgGalleryUc = ((STC.Projects.WPFControlLibrary.SOPBox.UserControls.ImagePopup)(target));
                return;

            case 4:
                this.LineChart1 = ((Telerik.Windows.Controls.RadCartesianChart)(target));
                return;

            case 5:
                this.PieChart1 = ((Telerik.Windows.Controls.RadPieChart)(target));
                return;

            case 6:
                this.ConfirmButton = ((System.Windows.Controls.Button)(target));

            #line 797 "..\..\..\UserControls\DangerousVehicleUserControl.xaml"
                this.ConfirmButton.Click += new System.Windows.RoutedEventHandler(this.ConfirmButton_Click);

            #line default
            #line hidden
                return;

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

            #line 799 "..\..\..\UserControls\DangerousVehicleUserControl.xaml"
                this.CancelButton.Click += new System.Windows.RoutedEventHandler(this.CancelButton_OnClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.chart = ((Telerik.Windows.Controls.RadPieChart)(target));
                return;

            case 2:
                this.PieLegend = ((Telerik.Windows.Controls.RadLegend)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #5
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Kanjoos;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.tb_balance       = ((System.Windows.Controls.TextBlock)(this.FindName("tb_balance")));
     this.tb_expenditure   = ((System.Windows.Controls.TextBlock)(this.FindName("tb_expenditure")));
     this.lls_top_expenses = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("lls_top_expenses")));
     this.lls_expenses     = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("lls_expenses")));
     this.pie_breakup      = ((Telerik.Windows.Controls.RadPieChart)(this.FindName("pie_breakup")));
     this.lls_breakup      = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("lls_breakup")));
     this.apb_btn_addTrans = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("apb_btn_addTrans")));
 }
Пример #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.pieStorage = ((Telerik.Windows.Controls.RadPieChart)(target));
                return;

            case 2:
                this.blood_a_plus = ((Telerik.Charting.PieDataPoint)(target));
                return;

            case 3:
                this.blood_a_minus = ((Telerik.Charting.PieDataPoint)(target));
                return;

            case 4:
                this.blood_b_plus = ((Telerik.Charting.PieDataPoint)(target));
                return;

            case 5:
                this.blood_b_minus = ((Telerik.Charting.PieDataPoint)(target));
                return;

            case 6:
                this.blood_o_plus = ((Telerik.Charting.PieDataPoint)(target));
                return;

            case 7:
                this.blood_o_minus = ((Telerik.Charting.PieDataPoint)(target));
                return;

            case 8:
                this.blood_ab_plus = ((Telerik.Charting.PieDataPoint)(target));
                return;

            case 9:
                this.blood_ab_minus = ((Telerik.Charting.PieDataPoint)(target));
                return;
            }
            this._contentLoaded = true;
        }