Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cmbBoxfromYear = ((Telerik.Windows.Controls.RadComboBox)(target));
                return;

            case 2:
                this.cmbBoxToYear = ((Telerik.Windows.Controls.RadComboBox)(target));
                return;

            case 3:
                this.txtBlkHighQuarterValue = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 293 "..\..\..\ChartsUserControls\AccidentsWeeklyTrendUserControl.xaml"
                this.lineChart.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Chart_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 5:
                this.chartLegend = ((Telerik.Windows.Controls.RadLegend)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cmbBoxfromYear = ((Telerik.Windows.Controls.RadComboBox)(target));
                return;

            case 2:
                this.cmbBoxToYear = ((Telerik.Windows.Controls.RadComboBox)(target));
                return;

            case 3:
                this.txtBlkHighQuarterValue = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 5:
                this.chartLegend = ((Telerik.Windows.Controls.RadLegend)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cmbBoxYear = ((Telerik.Windows.Controls.RadComboBox)(target));
                return;

            case 2:
                this.cmbBoxMonth = ((Telerik.Windows.Controls.RadComboBox)(target));
                return;

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

            #line 325 "..\..\..\ChartsUserControls\AccidentsWeeklyStatisticalByTypeUserControl.xaml"
                this.barChart.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Chart_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 4:
                this.chartLegend = ((Telerik.Windows.Controls.RadLegend)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 4
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;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.AssetsChart = ((Telerik.Windows.Controls.RadCartesianChart)(target));
         return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 6
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Expense%20Manager;component/AllExpenses.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.barSeries = ((Telerik.Windows.Controls.RadCartesianChart)(this.FindName("barSeries")));
 }
Ejemplo n.º 7
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Apologetics;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.chart = ((Telerik.Windows.Controls.RadCartesianChart)(this.FindName("chart")));
     this.graphSeries = ((Telerik.Windows.Controls.LineSeries)(this.FindName("graphSeries")));
 }
 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")));
 }
Ejemplo n.º 9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\..\Stats\NumTesisGenerales.xaml"
                ((ListadoDeTesis.Stats.NumTesisGenerales)(target)).Loaded += new System.Windows.RoutedEventHandler(this.RadWindow_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.TesisPleno = ((Telerik.Windows.Controls.ChartView.BarSeries)(target));
                return;

            case 4:
                this.TesisPrimera = ((Telerik.Windows.Controls.ChartView.BarSeries)(target));
                return;

            case 5:
                this.TesisSegunda = ((Telerik.Windows.Controls.ChartView.BarSeries)(target));
                return;

            case 6:
                this.TesisPlenosC = ((Telerik.Windows.Controls.ChartView.BarSeries)(target));
                return;

            case 7:
                this.TesisTribunales = ((Telerik.Windows.Controls.ChartView.BarSeries)(target));
                return;

            case 8:
                this.TxtTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.CbxYear = ((Telerik.Windows.Controls.RadComboBox)(target));

            #line 91 "..\..\..\..\Stats\NumTesisGenerales.xaml"
                this.CbxYear.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CbxYear_SelectionChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        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;
        }
Ejemplo n.º 11
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WhosFat;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.NumberFastFoodsTextBlock = ((System.Windows.Controls.TextBlock)(this.FindName("NumberFastFoodsTextBlock")));
     this.NumberMealsTextBlock = ((System.Windows.Controls.TextBlock)(this.FindName("NumberMealsTextBlock")));
     this.NumberDaysTextBlock = ((System.Windows.Controls.TextBlock)(this.FindName("NumberDaysTextBlock")));
     this.chart = ((Telerik.Windows.Controls.RadCartesianChart)(this.FindName("chart")));
     this.Map = ((Microsoft.Phone.Maps.Controls.Map)(this.FindName("Map")));
 }
Ejemplo n.º 12
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;

            case 3:
                this.chart2 = ((Telerik.Windows.Controls.RadCartesianChart)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.HeaderText = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 3:
                this.BarSeries = ((Telerik.Windows.Controls.ChartView.BarSeries)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cmbBoxYear = ((Telerik.Windows.Controls.RadComboBox)(target));
                return;

            case 2:
                this.cmbBoxToMonth = ((Telerik.Windows.Controls.RadComboBox)(target));
                return;

            case 3:
                this.cmbBoxToWeek = ((Telerik.Windows.Controls.RadComboBox)(target));
                return;

            case 4:
                this.cmbBoxFromDate = ((Telerik.Windows.Controls.RadComboBox)(target));
                return;

            case 5:
                this.cmbBoxToDate = ((Telerik.Windows.Controls.RadComboBox)(target));
                return;

            case 6:
                this.txtBlkHighQuarterValue1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.barChart = ((Telerik.Windows.Controls.RadCartesianChart)(target));

            #line 314 "..\..\..\ChartsUserControls\TruckViolationDailyCompStatisticsUserControl.xaml"
                this.barChart.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Chart_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 8:
                this.chartLegend = ((Telerik.Windows.Controls.RadLegend)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CBPays1 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 2:
                this.CBMaturity = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 3:
                this.CBPays2 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.CBMaturity2 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:

            #line 55 "..\..\..\..\..\TauxCredit\BaseInterpolation\View\BaseInterpolation.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Interpolation_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 80 "..\..\..\..\..\TauxCredit\BaseInterpolation\View\BaseInterpolation.xaml"
                ((Telerik.Windows.Controls.RadGridView)(target)).AutoGeneratingColumn += new System.EventHandler <Telerik.Windows.Controls.GridViewAutoGeneratingColumnEventArgs>(this.RadGridView_AutoGeneratingColumn);

            #line default
            #line hidden
                return;

            case 7:

            #line 96 "..\..\..\..\..\TauxCredit\BaseInterpolation\View\BaseInterpolation.xaml"
                ((Telerik.Windows.Controls.RadGridView)(target)).AutoGeneratingColumn += new System.EventHandler <Telerik.Windows.Controls.GridViewAutoGeneratingColumnEventArgs>(this.RadGridView_AutoGeneratingColumn);

            #line default
            #line hidden
                return;

            case 8:
                this.telerik = ((Telerik.Windows.Controls.RadCartesianChart)(target));
                return;

            case 9:
                this.LineChart1 = ((Telerik.Windows.Controls.ChartView.LineSeries)(target));
                return;

            case 10:
                this.LineChart2 = ((Telerik.Windows.Controls.ChartView.LineSeries)(target));
                return;

            case 11:
                this.Spread = ((Telerik.Windows.Controls.RadCartesianChart)(target));
                return;

            case 12:
                this.LineChart3 = ((Telerik.Windows.Controls.ChartView.LineSeries)(target));
                return;

            case 13:
                this.ZeroLine = ((Telerik.Windows.Controls.ChartView.LineSeries)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 16
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((FrontV2.Action.ScoreReco.View.ScoreRecoView)(target));
                return;

            case 2:

            #line 39 "..\..\..\..\..\Action\ScoreReco\View\ScoreRecoView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.RadMenuItem_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 41 "..\..\..\..\..\Action\ScoreReco\View\ScoreRecoView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.ExportToPDF_Button_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 42 "..\..\..\..\..\Action\ScoreReco\View\ScoreRecoView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.PrintScreen_Button_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 43 "..\..\..\..\..\Action\ScoreReco\View\ScoreRecoView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.Coefficient_Button_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 63 "..\..\..\..\..\Action\ScoreReco\View\ScoreRecoView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LoadScores_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.ScoreGrid = ((Telerik.Windows.Controls.RadGridView)(target));

            #line 90 "..\..\..\..\..\Action\ScoreReco\View\ScoreRecoView.xaml"
                this.ScoreGrid.AutoGeneratingColumn += new System.EventHandler <Telerik.Windows.Controls.GridViewAutoGeneratingColumnEventArgs>(this.RadGridView_AutoGeneratingColumn);

            #line default
            #line hidden
                return;

            case 8:

            #line 109 "..\..\..\..\..\Action\ScoreReco\View\ScoreRecoView.xaml"
                ((Telerik.Windows.Controls.RadContextMenu)(target)).Opened += new System.Windows.RoutedEventHandler(this.RadContextMenu_OpenedGeneral);

            #line default
            #line hidden
                return;

            case 9:

            #line 112 "..\..\..\..\..\Action\ScoreReco\View\ScoreRecoView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.SelectValue1_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 121 "..\..\..\..\..\Action\ScoreReco\View\ScoreRecoView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.SelectValue2_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.HistoPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 12:
                this.HistoBars = ((Telerik.Windows.Controls.RadCartesianChart)(target));
                return;

            case 13:

            #line 177 "..\..\..\..\..\Action\ScoreReco\View\ScoreRecoView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.HistoBarsCopy);

            #line default
            #line hidden
                return;

            case 14:
                this.GrowthPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 15:
                this.RadChart1 = ((Telerik.Windows.Controls.RadPolarChart)(target));
                return;

            case 16:

            #line 246 "..\..\..\..\..\Action\ScoreReco\View\ScoreRecoView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.RadChart1Copy);

            #line default
            #line hidden
                return;

            case 17:
                this.ValuePanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 18:
                this.RadChart2 = ((Telerik.Windows.Controls.RadPolarChart)(target));
                return;

            case 19:

            #line 295 "..\..\..\..\..\Action\ScoreReco\View\ScoreRecoView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.RadChart2Copy);

            #line default
            #line hidden
                return;

            case 20:
                this.ProfitPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 21:
                this.RadChart3 = ((Telerik.Windows.Controls.RadPolarChart)(target));
                return;

            case 22:

            #line 344 "..\..\..\..\..\Action\ScoreReco\View\ScoreRecoView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.RadChart3Copy);

            #line default
            #line hidden
                return;

            case 23:

            #line 416 "..\..\..\..\..\Action\ScoreReco\View\ScoreRecoView.xaml"
                ((Telerik.Windows.Controls.RadGridView)(target)).AutoGeneratingColumn += new System.EventHandler <Telerik.Windows.Controls.GridViewAutoGeneratingColumnEventArgs>(this.RadGridView_AutoGeneratingColumn);

            #line default
            #line hidden
                return;

            case 24:

            #line 436 "..\..\..\..\..\Action\ScoreReco\View\ScoreRecoView.xaml"
                ((Telerik.Windows.Controls.RadGridView)(target)).AutoGeneratingColumn += new System.EventHandler <Telerik.Windows.Controls.GridViewAutoGeneratingColumnEventArgs>(this.RadGridView_AutoGeneratingColumn);

            #line default
            #line hidden
                return;

            case 25:
                this.RadChart4 = ((Telerik.Windows.Controls.RadCartesianChart)(target));
                return;

            case 26:

            #line 450 "..\..\..\..\..\Action\ScoreReco\View\ScoreRecoView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.RadChart4Copy);

            #line default
            #line hidden
                return;

            case 27:
                this.RadChart5 = ((Telerik.Windows.Controls.RadCartesianChart)(target));
                return;

            case 28:

            #line 476 "..\..\..\..\..\Action\ScoreReco\View\ScoreRecoView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.RadChart5Copy);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((FrontV2.Action.ScoreChange.View.ScoreChangeView)(target));
                return;

            case 4:

            #line 89 "..\..\..\..\..\Action\ScoreChange\View\ScoreChangeView.xaml"
                ((Telerik.Windows.Controls.RadButton)(target)).Click += new System.Windows.RoutedEventHandler(this.LoadChanges_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.Filter1 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 6:

            #line 93 "..\..\..\..\..\Action\ScoreChange\View\ScoreChangeView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ExportToPDF_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.ChangesGrid = ((Telerik.Windows.Controls.RadGridView)(target));

            #line 107 "..\..\..\..\..\Action\ScoreChange\View\ScoreChangeView.xaml"
                this.ChangesGrid.AutoGeneratingColumn += new System.EventHandler <Telerik.Windows.Controls.GridViewAutoGeneratingColumnEventArgs>(this.Changes_AutoGeneratingColumn);

            #line default
            #line hidden
                return;

            case 8:

            #line 123 "..\..\..\..\..\Action\ScoreChange\View\ScoreChangeView.xaml"
                ((Telerik.Windows.Controls.RadContextMenu)(target)).Opened += new System.Windows.RoutedEventHandler(this.RadContextMenu_Opened);

            #line default
            #line hidden
                return;

            case 9:

            #line 126 "..\..\..\..\..\Action\ScoreChange\View\ScoreChangeView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.Evolution_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 137 "..\..\..\..\..\Action\ScoreChange\View\ScoreChangeView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.OpenExcel_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 146 "..\..\..\..\..\Action\ScoreChange\View\ScoreChangeView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.OpenPDF_Click);

            #line default
            #line hidden
                return;

            case 12:

            #line 158 "..\..\..\..\..\Action\ScoreChange\View\ScoreChangeView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.DES_Click);

            #line default
            #line hidden
                return;

            case 13:

            #line 161 "..\..\..\..\..\Action\ScoreChange\View\ScoreChangeView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.BQ_Click);

            #line default
            #line hidden
                return;

            case 14:

            #line 164 "..\..\..\..\..\Action\ScoreChange\View\ScoreChangeView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.HCPI_Click);

            #line default
            #line hidden
                return;

            case 15:

            #line 168 "..\..\..\..\..\Action\ScoreChange\View\ScoreChangeView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.WGT_Click);

            #line default
            #line hidden
                return;

            case 16:

            #line 172 "..\..\..\..\..\Action\ScoreChange\View\ScoreChangeView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.GR_Click);

            #line default
            #line hidden
                return;

            case 17:

            #line 178 "..\..\..\..\..\Action\ScoreChange\View\ScoreChangeView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.BRC_Click);

            #line default
            #line hidden
                return;

            case 18:

            #line 181 "..\..\..\..\..\Action\ScoreChange\View\ScoreChangeView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.EVT_Click);

            #line default
            #line hidden
                return;

            case 19:

            #line 184 "..\..\..\..\..\Action\ScoreChange\View\ScoreChangeView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.ICN_Click);

            #line default
            #line hidden
                return;

            case 20:

            #line 187 "..\..\..\..\..\Action\ScoreChange\View\ScoreChangeView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.EEG_Click);

            #line default
            #line hidden
                return;

            case 21:

            #line 193 "..\..\..\..\..\Action\ScoreChange\View\ScoreChangeView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.EQRV_Click);

            #line default
            #line hidden
                return;

            case 22:

            #line 196 "..\..\..\..\..\Action\ScoreChange\View\ScoreChangeView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.PBAR_Click);

            #line default
            #line hidden
                return;

            case 23:

            #line 199 "..\..\..\..\..\Action\ScoreChange\View\ScoreChangeView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.ANR_Click);

            #line default
            #line hidden
                return;

            case 24:

            #line 205 "..\..\..\..\..\Action\ScoreChange\View\ScoreChangeView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.GIP5_Click);

            #line default
            #line hidden
                return;

            case 25:

            #line 209 "..\..\..\..\..\Action\ScoreChange\View\ScoreChangeView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.GIP30_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.quintilesChart = ((Telerik.Windows.Controls.RadCartesianChart)(target));
                return;

            case 27:

            #line 223 "..\..\..\..\..\Action\ScoreChange\View\ScoreChangeView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.QuintilesCopy);

            #line default
            #line hidden
                return;

            case 28:

            #line 229 "..\..\..\..\..\Action\ScoreChange\View\ScoreChangeView.xaml"
                ((Telerik.Windows.Controls.ChartView.ChartSelectionBehavior)(target)).SelectionChanged += new System.EventHandler <Telerik.Windows.Controls.ChartView.ChartSelectionChangedEventArgs>(this.QuintileChart_SelectionChanged);

            #line default
            #line hidden
                return;

            case 29:
                this.MyLegend = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 30:
                this.Date = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 31:
                this.Valeur = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 18
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 28 "..\..\..\..\..\Action\Repartition\View\RepartitionView.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.Gaps_Checked);

            #line default
            #line hidden

            #line 28 "..\..\..\..\..\Action\Repartition\View\RepartitionView.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.Gaps_Checked);

            #line default
            #line hidden
                return;

            case 2:
                this.CountriesRadGridView = ((Telerik.Windows.Controls.RadGridView)(target));

            #line 51 "..\..\..\..\..\Action\Repartition\View\RepartitionView.xaml"
                this.CountriesRadGridView.AutoGeneratingColumn += new System.EventHandler <Telerik.Windows.Controls.GridViewAutoGeneratingColumnEventArgs>(this.Countries_AutoGeneratingColumn);

            #line default
            #line hidden
                return;

            case 3:
                this.CountryGroup = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 4:

            #line 70 "..\..\..\..\..\Action\Repartition\View\RepartitionView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.CountryCopy);

            #line default
            #line hidden
                return;

            case 5:
                this.CountryChart = ((Telerik.Windows.Controls.RadCartesianChart)(target));
                return;

            case 6:
                this.SectorsRadGridView = ((Telerik.Windows.Controls.RadGridView)(target));

            #line 166 "..\..\..\..\..\Action\Repartition\View\RepartitionView.xaml"
                this.SectorsRadGridView.AutoGeneratingColumn += new System.EventHandler <Telerik.Windows.Controls.GridViewAutoGeneratingColumnEventArgs>(this.Sectors_AutoGeneratingColumn);

            #line default
            #line hidden
                return;

            case 7:

            #line 180 "..\..\..\..\..\Action\Repartition\View\RepartitionView.xaml"
                ((Telerik.Windows.Controls.RadContextMenu)(target)).Opened += new System.Windows.RoutedEventHandler(this.RadContextMenu_OpenedGeneral);

            #line default
            #line hidden
                return;

            case 8:

            #line 183 "..\..\..\..\..\Action\Repartition\View\RepartitionView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.EvolIndustries_ClickGeneral);

            #line default
            #line hidden
                return;

            case 9:
                this.SectorsGroup = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 10:

            #line 197 "..\..\..\..\..\Action\Repartition\View\RepartitionView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.SectorsCopy);

            #line default
            #line hidden
                return;

            case 11:
                this.SectorChart = ((Telerik.Windows.Controls.RadCartesianChart)(target));
                return;

            case 12:
                this.IndustriesRadGridView = ((Telerik.Windows.Controls.RadGridView)(target));

            #line 287 "..\..\..\..\..\Action\Repartition\View\RepartitionView.xaml"
                this.IndustriesRadGridView.AutoGeneratingColumn += new System.EventHandler <Telerik.Windows.Controls.GridViewAutoGeneratingColumnEventArgs>(this.Industries_AutoGeneratingColumn);

            #line default
            #line hidden
                return;

            case 13:
                this.IndustriesGroup = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 14:

            #line 304 "..\..\..\..\..\Action\Repartition\View\RepartitionView.xaml"
                ((Telerik.Windows.Controls.RadMenuItem)(target)).Click += new Telerik.Windows.RadRoutedEventHandler(this.IndustriesCopy);

            #line default
            #line hidden
                return;

            case 15:
                this.IndustriesChart = ((Telerik.Windows.Controls.RadCartesianChart)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.EmotivStatusLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 2:
     this.Signal = ((System.Windows.Controls.Image)(target));
     return;
     case 3:
     this.Battery = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.ShowSettingsBtn = ((System.Windows.Controls.Button)(target));
     
     #line 228 "..\..\MainWindow.xaml"
     this.ShowSettingsBtn.Click += new System.Windows.RoutedEventHandler(this.ShowSettingsBtn_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.HelpBtn = ((System.Windows.Controls.Button)(target));
     
     #line 229 "..\..\MainWindow.xaml"
     this.HelpBtn.Click += new System.Windows.RoutedEventHandler(this.HelpBtn_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.PageHolder = ((System.Windows.Controls.Grid)(target));
     return;
     case 7:
     this.MainWindowPage = ((System.Windows.Controls.Grid)(target));
     return;
     case 8:
     this.MainHeadset = ((System.Windows.Controls.Grid)(target));
     return;
     case 9:
     this.AF3ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 10:
     this.AF4ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 11:
     this.F7ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 12:
     this.F3ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 13:
     this.F4ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 14:
     this.F8ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 15:
     this.FC5ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 16:
     this.FC6ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 17:
     this.T7ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 18:
     this.T8ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 19:
     this.CMSContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 20:
     this.DRLContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 21:
     this.P7ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 22:
     this.P8ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 23:
     this.O1ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 24:
     this.O2ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 25:
     this.MainEmotivToggleSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     
     #line 259 "..\..\MainWindow.xaml"
     this.MainEmotivToggleSwitch.Click += new System.EventHandler<System.Windows.RoutedEventArgs>(this.MainEmotivToggleSwitch_Click);
     
     #line default
     #line hidden
     return;
     case 26:
     this.MainUptimeLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 27:
     this.MainUptime = ((System.Windows.Controls.Label)(target));
     return;
     case 28:
     this.MainUserLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 29:
     this.MainUsersComboBox = ((System.Windows.Controls.ComboBox)(target));
     
     #line 263 "..\..\MainWindow.xaml"
     this.MainUsersComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MainUsersComboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 30:
     this.MainAddUserBtn = ((MahApps.Metro.Controls.AppBarButton)(target));
     
     #line 264 "..\..\MainWindow.xaml"
     this.MainAddUserBtn.Click += new System.Windows.RoutedEventHandler(this.AddUserBtn_Click);
     
     #line default
     #line hidden
     return;
     case 31:
     this.MainRemoveUserBtn = ((MahApps.Metro.Controls.AppBarButton)(target));
     
     #line 265 "..\..\MainWindow.xaml"
     this.MainRemoveUserBtn.Click += new System.Windows.RoutedEventHandler(this.RemoveUserBtn_Click);
     
     #line default
     #line hidden
     return;
     case 32:
     this.MainTrainUserBtn = ((MahApps.Metro.Controls.AppBarButton)(target));
     
     #line 266 "..\..\MainWindow.xaml"
     this.MainTrainUserBtn.Click += new System.Windows.RoutedEventHandler(this.TrainUserBtn_Click);
     
     #line default
     #line hidden
     return;
     case 33:
     this.StartBtn = ((MahApps.Metro.Controls.AppBarButton)(target));
     
     #line 267 "..\..\MainWindow.xaml"
     this.StartBtn.Click += new System.Windows.RoutedEventHandler(this.StartBtn_Click);
     
     #line default
     #line hidden
     return;
     case 34:
     this.SSVEPBtn = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 269 "..\..\MainWindow.xaml"
     this.SSVEPBtn.Click += new System.Windows.RoutedEventHandler(this.SSVEPBtn_Click);
     
     #line default
     #line hidden
     return;
     case 35:
     this.EMGBtn = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 273 "..\..\MainWindow.xaml"
     this.EMGBtn.Click += new System.Windows.RoutedEventHandler(this.EMGBtn_Click);
     
     #line default
     #line hidden
     return;
     case 36:
     this.EEGBtn = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 277 "..\..\MainWindow.xaml"
     this.EEGBtn.Click += new System.Windows.RoutedEventHandler(this.EEGBtn_Click);
     
     #line default
     #line hidden
     return;
     case 37:
     this.OWIArmBtn = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 281 "..\..\MainWindow.xaml"
     this.OWIArmBtn.Click += new System.Windows.RoutedEventHandler(this.OWIArmBtn_Click);
     
     #line default
     #line hidden
     return;
     case 38:
     this.TalosBtn = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 285 "..\..\MainWindow.xaml"
     this.TalosBtn.Click += new System.Windows.RoutedEventHandler(this.TalosBtn_Click);
     
     #line default
     #line hidden
     return;
     case 39:
     this.R2D2Btn = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 289 "..\..\MainWindow.xaml"
     this.R2D2Btn.Click += new System.Windows.RoutedEventHandler(this.R2D2Btn_Click);
     
     #line default
     #line hidden
     return;
     case 40:
     this.Step1Lbl = ((System.Windows.Controls.Label)(target));
     return;
     case 41:
     this.Step2Lbl = ((System.Windows.Controls.Label)(target));
     return;
     case 42:
     this.Step3Lbl = ((System.Windows.Controls.Label)(target));
     return;
     case 43:
     this.SelectMethodLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 44:
     this.SelectRobotLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 45:
     this.SettingsPage = ((System.Windows.Controls.Grid)(target));
     return;
     case 46:
     this.BackToMainWindowBtn = ((System.Windows.Controls.Button)(target));
     
     #line 308 "..\..\MainWindow.xaml"
     this.BackToMainWindowBtn.Click += new System.Windows.RoutedEventHandler(this.BackToMainWindowBtn_Click);
     
     #line default
     #line hidden
     return;
     case 47:
     this.SettingsLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 48:
     this.SettingsSidebar = ((System.Windows.Controls.Grid)(target));
     return;
     case 49:
     this.EmotivToggleSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     
     #line 311 "..\..\MainWindow.xaml"
     this.EmotivToggleSwitch.Click += new System.EventHandler<System.Windows.RoutedEventArgs>(this.EmotivToggleSwitch_Click);
     
     #line default
     #line hidden
     return;
     case 50:
     this.UptimeLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 51:
     this.Uptime = ((System.Windows.Controls.Label)(target));
     return;
     case 52:
     this.Headset = ((System.Windows.Controls.Grid)(target));
     return;
     case 53:
     this.AF3Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 54:
     this.AF4Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 55:
     this.F7Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 56:
     this.F3Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 57:
     this.F4Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 58:
     this.F8Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 59:
     this.FC5Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 60:
     this.FC6Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 61:
     this.T7Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 62:
     this.T8Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 63:
     this.CMSContact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 64:
     this.DRLContact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 65:
     this.P7Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 66:
     this.P8Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 67:
     this.O1Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 68:
     this.O2Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 69:
     this.UserLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 70:
     this.UsersComboBox = ((System.Windows.Controls.ComboBox)(target));
     
     #line 340 "..\..\MainWindow.xaml"
     this.UsersComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.UsersComboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 71:
     this.AddUserBtn = ((MahApps.Metro.Controls.AppBarButton)(target));
     
     #line 341 "..\..\MainWindow.xaml"
     this.AddUserBtn.Click += new System.Windows.RoutedEventHandler(this.AddUserBtn_Click);
     
     #line default
     #line hidden
     return;
     case 72:
     this.RemoveUserBtn = ((MahApps.Metro.Controls.AppBarButton)(target));
     
     #line 342 "..\..\MainWindow.xaml"
     this.RemoveUserBtn.Click += new System.Windows.RoutedEventHandler(this.RemoveUserBtn_Click);
     
     #line default
     #line hidden
     return;
     case 73:
     this.SaveUserBtn = ((MahApps.Metro.Controls.AppBarButton)(target));
     
     #line 343 "..\..\MainWindow.xaml"
     this.SaveUserBtn.Click += new System.Windows.RoutedEventHandler(this.SaveUserBtn_Click);
     
     #line default
     #line hidden
     return;
     case 74:
     this.TrainUserBtn = ((MahApps.Metro.Controls.AppBarButton)(target));
     
     #line 344 "..\..\MainWindow.xaml"
     this.TrainUserBtn.Click += new System.Windows.RoutedEventHandler(this.SettingsTrainBtn_Click);
     
     #line default
     #line hidden
     return;
     case 75:
     this.SettingsMenu = ((System.Windows.Controls.Grid)(target));
     return;
     case 76:
     this.ClenchRect = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 77:
     this.EyebrowRect = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 78:
     this.Clench = ((System.Windows.Controls.Label)(target));
     return;
     case 79:
     this.Eyebrows = ((System.Windows.Controls.Label)(target));
     return;
     case 80:
     this.ClenchCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 81:
     this.EyebrowsCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 82:
     this.SmileCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 83:
     this.SmileRect = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 84:
     this.Smile = ((System.Windows.Controls.Label)(target));
     return;
     case 85:
     this.LowerFaceActionLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 86:
     this.LowerFaceAction = ((System.Windows.Controls.Label)(target));
     return;
     case 87:
     this.UpperFaceActionLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 88:
     this.UpperFaceAction = ((System.Windows.Controls.Label)(target));
     return;
     case 89:
     this.MiddleFaceActionLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 90:
     this.MiddleFaceAction = ((System.Windows.Controls.Label)(target));
     return;
     case 91:
     this.BlinkCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 92:
     this.FurrowCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 93:
     this.LaughCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 94:
     this.SmirkLeftCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 95:
     this.SmirkRightCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 96:
     this.WinkLeftCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 97:
     this.WinkRightCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 98:
     this.AffectivChart = ((Telerik.Windows.Controls.RadCartesianChart)(target));
     return;
     case 99:
     this.cognitivPower = ((System.Windows.Controls.Label)(target));
     return;
     case 100:
     this.cognitivIsActive = ((System.Windows.Controls.Label)(target));
     return;
     case 101:
     this.cognitivIsState = ((System.Windows.Controls.Label)(target));
     return;
     case 102:
     this.GyroStatusLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 103:
     this.GyroStatus = ((System.Windows.Controls.Label)(target));
     return;
     case 104:
     this.xLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 105:
     this.xValue = ((System.Windows.Controls.Label)(target));
     return;
     case 106:
     this.yLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 107:
     this.yValue = ((System.Windows.Controls.Label)(target));
     return;
     case 108:
     this.xValueMax = ((System.Windows.Controls.Label)(target));
     return;
     case 109:
     this.yValueMax = ((System.Windows.Controls.Label)(target));
     return;
     case 110:
     this.GyroXChart = ((Telerik.Windows.Controls.RadCartesianChart)(target));
     return;
     case 111:
     this.GyroYChart = ((Telerik.Windows.Controls.RadCartesianChart)(target));
     return;
     case 112:
     this.xLbl_Copy = ((System.Windows.Controls.Label)(target));
     return;
     case 113:
     this.yLbl_Copy = ((System.Windows.Controls.Label)(target));
     return;
     case 114:
     this.recalibrateGyroBtn = ((System.Windows.Controls.Button)(target));
     
     #line 541 "..\..\MainWindow.xaml"
     this.recalibrateGyroBtn.Click += new System.Windows.RoutedEventHandler(this.recalibrateGyroBtn_Click);
     
     #line default
     #line hidden
     return;
     case 115:
     this.SamplingRateLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 116:
     this.SamplingRate = ((System.Windows.Controls.Label)(target));
     return;
     case 117:
     this.BufferSize = ((System.Windows.Controls.Label)(target));
     return;
     case 118:
     this.BufferSizeLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 119:
     this.SequenceNumberChart = ((Telerik.Windows.Controls.RadCartesianChart)(target));
     return;
     case 120:
     this.PacketLossChart = ((Telerik.Windows.Controls.RadCartesianChart)(target));
     return;
     case 121:
     this.O1Chart = ((Telerik.Windows.Controls.RadCartesianChart)(target));
     return;
     case 122:
     this.O2Chart = ((Telerik.Windows.Controls.RadCartesianChart)(target));
     return;
     case 123:
     this.AF4Lbl2 = ((System.Windows.Controls.Label)(target));
     return;
     case 124:
     this.AF4butval = ((System.Windows.Controls.Label)(target));
     return;
     case 125:
     this.AF4Lbl1 = ((System.Windows.Controls.Label)(target));
     return;
     case 126:
     this.AF4val = ((System.Windows.Controls.Label)(target));
     return;
     case 127:
     
     #line 712 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 128:
     this.R2D2ToggleSwitch_Copy = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     
     #line 727 "..\..\MainWindow.xaml"
     this.R2D2ToggleSwitch_Copy.Checked += new System.EventHandler<System.Windows.RoutedEventArgs>(this.R2D2ToggleSwitch_Checked);
     
     #line default
     #line hidden
     
     #line 727 "..\..\MainWindow.xaml"
     this.R2D2ToggleSwitch_Copy.Unchecked += new System.EventHandler<System.Windows.RoutedEventArgs>(this.R2D2ToggleSwitch_Unchecked);
     
     #line default
     #line hidden
     return;
     case 129:
     this.R2D2MoveForwardBtn = ((System.Windows.Controls.Button)(target));
     
     #line 728 "..\..\MainWindow.xaml"
     this.R2D2MoveForwardBtn.Click += new System.Windows.RoutedEventHandler(this.R2D2MoveForwardBtn_Click);
     
     #line default
     #line hidden
     return;
     case 130:
     this.R2D2MoveBackBtn = ((System.Windows.Controls.Button)(target));
     
     #line 729 "..\..\MainWindow.xaml"
     this.R2D2MoveBackBtn.Click += new System.Windows.RoutedEventHandler(this.R2D2MoveBackBtn_Click);
     
     #line default
     #line hidden
     return;
     case 131:
     this.R2D2TurnLeftBtn = ((System.Windows.Controls.Button)(target));
     
     #line 730 "..\..\MainWindow.xaml"
     this.R2D2TurnLeftBtn.Click += new System.Windows.RoutedEventHandler(this.R2D2TurnLeftBtn_Click);
     
     #line default
     #line hidden
     return;
     case 132:
     this.R2D2TurnRightBtn = ((System.Windows.Controls.Button)(target));
     
     #line 731 "..\..\MainWindow.xaml"
     this.R2D2TurnRightBtn.Click += new System.Windows.RoutedEventHandler(this.R2D2TurnRightBtn_Click);
     
     #line default
     #line hidden
     return;
     case 133:
     this.R2D2StopBtn = ((System.Windows.Controls.Button)(target));
     
     #line 732 "..\..\MainWindow.xaml"
     this.R2D2StopBtn.Click += new System.Windows.RoutedEventHandler(this.R2D2StopBtn_Click);
     
     #line default
     #line hidden
     return;
     case 134:
     this.Light = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     
     #line 738 "..\..\MainWindow.xaml"
     this.Light.Click += new System.EventHandler<System.Windows.RoutedEventArgs>(this.Light_Click);
     
     #line default
     #line hidden
     return;
     case 135:
     this.ClawUpBtn = ((System.Windows.Controls.Button)(target));
     
     #line 739 "..\..\MainWindow.xaml"
     this.ClawUpBtn.Click += new System.Windows.RoutedEventHandler(this.GrippersUpBtn_Click);
     
     #line default
     #line hidden
     return;
     case 136:
     this.ClawDownBtn = ((System.Windows.Controls.Button)(target));
     
     #line 740 "..\..\MainWindow.xaml"
     this.ClawDownBtn.Click += new System.Windows.RoutedEventHandler(this.GrippersDownBtn_Click);
     
     #line default
     #line hidden
     return;
     case 137:
     this.ElbowUpBtn = ((System.Windows.Controls.Button)(target));
     
     #line 741 "..\..\MainWindow.xaml"
     this.ElbowUpBtn.Click += new System.Windows.RoutedEventHandler(this.ElbowUpBtn_Click);
     
     #line default
     #line hidden
     return;
     case 138:
     this.ElbowownBtn = ((System.Windows.Controls.Button)(target));
     
     #line 742 "..\..\MainWindow.xaml"
     this.ElbowownBtn.Click += new System.Windows.RoutedEventHandler(this.ElbowownBtn_Click);
     
     #line default
     #line hidden
     return;
     case 139:
     this.ArmUpBtn = ((System.Windows.Controls.Button)(target));
     
     #line 743 "..\..\MainWindow.xaml"
     this.ArmUpBtn.Click += new System.Windows.RoutedEventHandler(this.ArmUpBtn_Click);
     
     #line default
     #line hidden
     return;
     case 140:
     this.ArmDownBtn = ((System.Windows.Controls.Button)(target));
     
     #line 744 "..\..\MainWindow.xaml"
     this.ArmDownBtn.Click += new System.Windows.RoutedEventHandler(this.ArmDownBtn_Click);
     
     #line default
     #line hidden
     return;
     case 141:
     this.ArmRotateLeftBtn = ((System.Windows.Controls.Button)(target));
     
     #line 745 "..\..\MainWindow.xaml"
     this.ArmRotateLeftBtn.Click += new System.Windows.RoutedEventHandler(this.ArmRotateLeftBtn_Click);
     
     #line default
     #line hidden
     return;
     case 142:
     this.ArmRotateRightBtn = ((System.Windows.Controls.Button)(target));
     
     #line 746 "..\..\MainWindow.xaml"
     this.ArmRotateRightBtn.Click += new System.Windows.RoutedEventHandler(this.ArmRotateRightBtn_Click);
     
     #line default
     #line hidden
     return;
     case 143:
     this.SecondsTxtBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 144:
     this.Grippers = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     
     #line 749 "..\..\MainWindow.xaml"
     this.Grippers.Click += new System.EventHandler<System.Windows.RoutedEventArgs>(this.Grippers_Click);
     
     #line default
     #line hidden
     return;
     case 145:
     this.HandshakeBtn = ((System.Windows.Controls.Button)(target));
     
     #line 750 "..\..\MainWindow.xaml"
     this.HandshakeBtn.Click += new System.Windows.RoutedEventHandler(this.HandshakeBtn_Click);
     
     #line default
     #line hidden
     return;
     case 146:
     this.TalosToggleSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     
     #line 757 "..\..\MainWindow.xaml"
     this.TalosToggleSwitch.Unchecked += new System.EventHandler<System.Windows.RoutedEventArgs>(this.R2D2ToggleSwitch_Unchecked);
     
     #line default
     #line hidden
     
     #line 757 "..\..\MainWindow.xaml"
     this.TalosToggleSwitch.Checked += new System.EventHandler<System.Windows.RoutedEventArgs>(this.TalosToggleSwitch_Checked);
     
     #line default
     #line hidden
     return;
     case 147:
     this.TalosMoveForwardBtn = ((System.Windows.Controls.Button)(target));
     
     #line 758 "..\..\MainWindow.xaml"
     this.TalosMoveForwardBtn.Click += new System.Windows.RoutedEventHandler(this.TalosMoveForwardBtn_Click);
     
     #line default
     #line hidden
     return;
     case 148:
     this.TalosMoveBackBtn = ((System.Windows.Controls.Button)(target));
     
     #line 759 "..\..\MainWindow.xaml"
     this.TalosMoveBackBtn.Click += new System.Windows.RoutedEventHandler(this.TalosMoveBackBtn_Click);
     
     #line default
     #line hidden
     return;
     case 149:
     this.TalosTurnLeftBtn = ((System.Windows.Controls.Button)(target));
     
     #line 760 "..\..\MainWindow.xaml"
     this.TalosTurnLeftBtn.Click += new System.Windows.RoutedEventHandler(this.TalosTurnLeftBtn_Click);
     
     #line default
     #line hidden
     return;
     case 150:
     this.TalosTurnRightBtn = ((System.Windows.Controls.Button)(target));
     
     #line 761 "..\..\MainWindow.xaml"
     this.TalosTurnRightBtn.Click += new System.Windows.RoutedEventHandler(this.TalosTurnRightBtn_Click);
     
     #line default
     #line hidden
     return;
     case 151:
     this.TalosStopBtn = ((System.Windows.Controls.Button)(target));
     
     #line 762 "..\..\MainWindow.xaml"
     this.TalosStopBtn.Click += new System.Windows.RoutedEventHandler(this.TalosStopBtn_Click);
     
     #line default
     #line hidden
     return;
     case 152:
     this.TrainingPage = ((System.Windows.Controls.Grid)(target));
     return;
     case 153:
     this.BackToMainWindowBtn2 = ((System.Windows.Controls.Button)(target));
     
     #line 779 "..\..\MainWindow.xaml"
     this.BackToMainWindowBtn2.Click += new System.Windows.RoutedEventHandler(this.ShowSettingsBtn_Click);
     
     #line default
     #line hidden
     return;
     case 154:
     this.TrainingLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 155:
     this.StartSSVEPTrainingBtn = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 782 "..\..\MainWindow.xaml"
     this.StartSSVEPTrainingBtn.Click += new System.Windows.RoutedEventHandler(this.StartSSVEPTrainingBtn_Click);
     
     #line default
     #line hidden
     return;
     case 156:
     this.StartEEGTrainingBtn = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 786 "..\..\MainWindow.xaml"
     this.StartEEGTrainingBtn.Click += new System.Windows.RoutedEventHandler(this.StartCognitivTrainingBtn_Click);
     
     #line default
     #line hidden
     return;
     case 157:
     this.SelectTrainingMethodLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 158:
     this.SSVEPTrainingPage = ((System.Windows.Controls.Grid)(target));
     return;
     case 159:
     
     #line 797 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 160:
     this.SSVEPTrainingRectangle = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 161:
     this.BackToMainWindowBtn1 = ((System.Windows.Controls.Button)(target));
     
     #line 799 "..\..\MainWindow.xaml"
     this.BackToMainWindowBtn1.Click += new System.Windows.RoutedEventHandler(this.BackToMainWindowBtn_Click);
     
     #line default
     #line hidden
     return;
     case 162:
     this.SSVEPTrainingPageLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 163:
     this.CognitivTrainingPage = ((System.Windows.Controls.Grid)(target));
     return;
     case 164:
     
     #line 808 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 165:
     this.CognitivTrainingRectangle = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 166:
     this.BackToMainWindowBtn3 = ((System.Windows.Controls.Button)(target));
     
     #line 810 "..\..\MainWindow.xaml"
     this.BackToMainWindowBtn3.Click += new System.Windows.RoutedEventHandler(this.BackToMainWindowBtn_Click);
     
     #line default
     #line hidden
     return;
     case 167:
     this.EEGTrainingPageLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 168:
     this.SSVEPPage = ((System.Windows.Controls.Grid)(target));
     return;
     case 169:
     
     #line 814 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 170:
     this.SSVEPTrainingRectangle1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 171:
     this.BackToMainWindowBtn4 = ((System.Windows.Controls.Button)(target));
     
     #line 816 "..\..\MainWindow.xaml"
     this.BackToMainWindowBtn4.Click += new System.Windows.RoutedEventHandler(this.BackToMainWindowBtn_Click);
     
     #line default
     #line hidden
     return;
     case 172:
     this.SSVEPTrainingPageLbl1 = ((System.Windows.Controls.Label)(target));
     return;
     case 173:
     this.CognitivPage = ((System.Windows.Controls.Grid)(target));
     return;
     case 174:
     
     #line 821 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 175:
     this.CognitivTrainingRectangle1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 176:
     this.BackToMainWindowBtn5 = ((System.Windows.Controls.Button)(target));
     
     #line 823 "..\..\MainWindow.xaml"
     this.BackToMainWindowBtn5.Click += new System.Windows.RoutedEventHandler(this.BackToMainWindowBtn_Click);
     
     #line default
     #line hidden
     return;
     case 177:
     this.EEGTrainingPageLbl1 = ((System.Windows.Controls.Label)(target));
     return;
     case 178:
     this.EMGPage = ((System.Windows.Controls.Grid)(target));
     return;
     case 179:
     
     #line 827 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 180:
     this.SSVEPTrainingRectangle2 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 181:
     this.BackToMainWindowBtn6 = ((System.Windows.Controls.Button)(target));
     
     #line 829 "..\..\MainWindow.xaml"
     this.BackToMainWindowBtn6.Click += new System.Windows.RoutedEventHandler(this.BackToMainWindowBtn_Click);
     
     #line default
     #line hidden
     return;
     case 182:
     this.SSVEPTrainingPageLbl2 = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 20
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.EmotivStatusLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 2:
     this.Signal = ((System.Windows.Controls.Image)(target));
     return;
     case 3:
     this.Battery = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.ShowSettingsBtn = ((System.Windows.Controls.Button)(target));
     
     #line 156 "..\..\MainWindow.xaml"
     this.ShowSettingsBtn.Click += new System.Windows.RoutedEventHandler(this.ShowSettingsBtn_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.HelpBtn = ((System.Windows.Controls.Button)(target));
     
     #line 157 "..\..\MainWindow.xaml"
     this.HelpBtn.Click += new System.Windows.RoutedEventHandler(this.HelpBtn_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.PageHolder = ((System.Windows.Controls.Grid)(target));
     return;
     case 7:
     this.MainWindowPage = ((System.Windows.Controls.Grid)(target));
     return;
     case 8:
     this.MethodGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 9:
     this.Step1Lbl = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.SelectMethodLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.EEGBtn = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 176 "..\..\MainWindow.xaml"
     this.EEGBtn.Click += new System.Windows.RoutedEventHandler(this.EEGBtn_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.EMGBtn = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 181 "..\..\MainWindow.xaml"
     this.EMGBtn.Click += new System.Windows.RoutedEventHandler(this.EMGBtn_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.RobotGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 14:
     this.Step2Lbl = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.iRobotCreateBtn = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 191 "..\..\MainWindow.xaml"
     this.iRobotCreateBtn.Click += new System.Windows.RoutedEventHandler(this.iRobotCreateBtn_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.OWIArmBtn = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 195 "..\..\MainWindow.xaml"
     this.OWIArmBtn.Click += new System.Windows.RoutedEventHandler(this.OWIArmBtn_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.R2D2Btn = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 199 "..\..\MainWindow.xaml"
     this.R2D2Btn.Click += new System.Windows.RoutedEventHandler(this.R2D2Btn_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.SelectRobotLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.EmotivGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 20:
     this.Step3Lbl = ((System.Windows.Controls.Label)(target));
     return;
     case 21:
     this.SelectRobotLbl_Copy = ((System.Windows.Controls.Label)(target));
     return;
     case 22:
     this.MainEmotivToggleSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     
     #line 209 "..\..\MainWindow.xaml"
     this.MainEmotivToggleSwitch.Click += new System.EventHandler<System.Windows.RoutedEventArgs>(this.MainEmotivToggleSwitch_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.MainUptime = ((System.Windows.Controls.Label)(target));
     return;
     case 24:
     this.MainUptimeLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 25:
     this.MainHeadset = ((System.Windows.Controls.Grid)(target));
     return;
     case 26:
     this.AF3ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 27:
     this.AF3ContactMainLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 28:
     this.AF4ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 29:
     this.AF4ContactMainLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 30:
     this.F7ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 31:
     this.F7ContactMainLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 32:
     this.F3ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 33:
     this.F3ContactMainLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 34:
     this.F4ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 35:
     this.F4ContactMainLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 36:
     this.F8ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 37:
     this.F8ContactMainLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 38:
     this.FC5ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 39:
     this.FC5ContactMainLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 40:
     this.FC6ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 41:
     this.FC6ContactMainLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 42:
     this.T7ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 43:
     this.T7ContactMainLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 44:
     this.T8ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 45:
     this.T8ContactMainLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 46:
     this.CMSContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 47:
     this.CMSContactMainLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 48:
     this.DRLContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 49:
     this.DRLContactMainLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 50:
     this.P7ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 51:
     this.P7ContactMainLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 52:
     this.P8ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 53:
     this.P8ContactMainLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 54:
     this.O1ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 55:
     this.O1ContactMainLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 56:
     this.O2ContactMain = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 57:
     this.O2ContactMainLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 58:
     this.MainUserLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 59:
     this.MainUsersComboBox = ((System.Windows.Controls.ComboBox)(target));
     
     #line 248 "..\..\MainWindow.xaml"
     this.MainUsersComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MainUsersComboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 60:
     this.MainAddUserBtn = ((MahApps.Metro.Controls.AppBarButton)(target));
     
     #line 249 "..\..\MainWindow.xaml"
     this.MainAddUserBtn.Click += new System.Windows.RoutedEventHandler(this.AddUserBtn_Click);
     
     #line default
     #line hidden
     return;
     case 61:
     this.MainRemoveUserBtn = ((MahApps.Metro.Controls.AppBarButton)(target));
     
     #line 250 "..\..\MainWindow.xaml"
     this.MainRemoveUserBtn.Click += new System.Windows.RoutedEventHandler(this.RemoveUserBtn_Click);
     
     #line default
     #line hidden
     return;
     case 62:
     this.StartBtn = ((MahApps.Metro.Controls.AppBarButton)(target));
     
     #line 251 "..\..\MainWindow.xaml"
     this.StartBtn.Click += new System.Windows.RoutedEventHandler(this.StartBtn_Click);
     
     #line default
     #line hidden
     return;
     case 63:
     this.SettingsPage = ((System.Windows.Controls.Grid)(target));
     return;
     case 64:
     this.BackToMainWindowBtn = ((System.Windows.Controls.Button)(target));
     
     #line 262 "..\..\MainWindow.xaml"
     this.BackToMainWindowBtn.Click += new System.Windows.RoutedEventHandler(this.BackToMainWindowBtn_Click);
     
     #line default
     #line hidden
     return;
     case 65:
     this.SettingsLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 66:
     this.SettingsSidebar = ((System.Windows.Controls.Grid)(target));
     return;
     case 67:
     this.EmotivToggleSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     
     #line 265 "..\..\MainWindow.xaml"
     this.EmotivToggleSwitch.Click += new System.EventHandler<System.Windows.RoutedEventArgs>(this.EmotivToggleSwitch_Click);
     
     #line default
     #line hidden
     return;
     case 68:
     this.UptimeLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 69:
     this.Uptime = ((System.Windows.Controls.Label)(target));
     return;
     case 70:
     this.Headset = ((System.Windows.Controls.Grid)(target));
     return;
     case 71:
     this.AF3Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 72:
     this.AF3ContactLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 73:
     this.AF4Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 74:
     this.AF4ContactLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 75:
     this.F7Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 76:
     this.F7ContactLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 77:
     this.F3Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 78:
     this.F3ContactLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 79:
     this.F4Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 80:
     this.F4ContactLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 81:
     this.F8Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 82:
     this.F8ContactLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 83:
     this.FC5Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 84:
     this.FC5ContactLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 85:
     this.FC6Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 86:
     this.FC6ContactLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 87:
     this.T7Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 88:
     this.T7ContactLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 89:
     this.T8Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 90:
     this.T8ContactLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 91:
     this.CMSContact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 92:
     this.CMSContactLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 93:
     this.DRLContact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 94:
     this.DRLContactLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 95:
     this.P7Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 96:
     this.P7ContactLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 97:
     this.P8Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 98:
     this.P8ContactLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 99:
     this.O1Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 100:
     this.O1ContactLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 101:
     this.O2Contact = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 102:
     this.O2ContactLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 103:
     this.UserLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 104:
     this.UsersComboBox = ((System.Windows.Controls.ComboBox)(target));
     
     #line 310 "..\..\MainWindow.xaml"
     this.UsersComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.UsersComboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 105:
     this.AddUserBtn = ((MahApps.Metro.Controls.AppBarButton)(target));
     
     #line 311 "..\..\MainWindow.xaml"
     this.AddUserBtn.Click += new System.Windows.RoutedEventHandler(this.AddUserBtn_Click);
     
     #line default
     #line hidden
     return;
     case 106:
     this.RemoveUserBtn = ((MahApps.Metro.Controls.AppBarButton)(target));
     
     #line 312 "..\..\MainWindow.xaml"
     this.RemoveUserBtn.Click += new System.Windows.RoutedEventHandler(this.RemoveUserBtn_Click);
     
     #line default
     #line hidden
     return;
     case 107:
     this.SaveUserBtn = ((MahApps.Metro.Controls.AppBarButton)(target));
     
     #line 313 "..\..\MainWindow.xaml"
     this.SaveUserBtn.Click += new System.Windows.RoutedEventHandler(this.SaveUserBtn_Click);
     
     #line default
     #line hidden
     return;
     case 108:
     this.SettingsMenu = ((System.Windows.Controls.Grid)(target));
     return;
     case 109:
     this.LowerFaceActionLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 110:
     this.UpperFaceActionLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 111:
     this.FacialExpressionsLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 112:
     this.ExpressivCirclesGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 113:
     this.EyebrowRect = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 114:
     this.Eyebrow = ((System.Windows.Controls.Label)(target));
     return;
     case 115:
     this.EyebrowsLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 116:
     this.FurrowRect = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 117:
     this.BlinkRect = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 118:
     this.FurrowLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 119:
     this.BlinkLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 120:
     this.SmileRect = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 121:
     this.Smile = ((System.Windows.Controls.Label)(target));
     return;
     case 122:
     this.SmileLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 123:
     this.LaughRect = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 124:
     this.ClenchRect = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 125:
     this.Clench = ((System.Windows.Controls.Label)(target));
     return;
     case 126:
     this.LaughLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 127:
     this.ClenchLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 128:
     this.WinkLeftRect = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 129:
     this.WinkRightRect = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 130:
     this.WinkLeftLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 131:
     this.WinkRightLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 132:
     this.SmirkLeftRect = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 133:
     this.SmirkRightRect = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 134:
     this.SmirkLeftLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 135:
     this.SmirkRightLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 136:
     this.AffectivChart = ((Telerik.Windows.Controls.RadCartesianChart)(target));
     return;
     case 137:
     this.EngagmentBoredomLegendCircle = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 138:
     this.EngagmentBoredomLegendLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 139:
     this.MeditationLegendCircle = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 140:
     this.MeditationLegendLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 141:
     this.FrustrationLegendCircle = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 142:
     this.FrustrationLegendLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 143:
     this.ShortExcitementLegendCircle = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 144:
     this.ShortExcitementLegendLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 145:
     this.LongExcitementLegendCircle = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 146:
     this.LongExcitementLegendLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 147:
     this.CognitivPowerProgressBar = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 148:
     this.cognitivPower = ((System.Windows.Controls.Label)(target));
     return;
     case 149:
     this.cognitivIsActive = ((System.Windows.Controls.Label)(target));
     return;
     case 150:
     this.cognitivIsState = ((System.Windows.Controls.Label)(target));
     return;
     case 151:
     this.CognitivActionLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 152:
     this.SignalStatusLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 153:
     this.PowerLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 154:
     this.Cube3D_Copy = ((System.Windows.Controls.Viewport3D)(target));
     return;
     case 155:
     this.Cube3DPerspectiveCamera1 = ((System.Windows.Media.Media3D.PerspectiveCamera)(target));
     return;
     case 156:
     this.Camera3DYaw1 = ((System.Windows.Media.Media3D.AxisAngleRotation3D)(target));
     return;
     case 157:
     this.Camera3DPitch1 = ((System.Windows.Media.Media3D.AxisAngleRotation3D)(target));
     return;
     case 158:
     this.Camera3DRoll1 = ((System.Windows.Media.Media3D.AxisAngleRotation3D)(target));
     return;
     case 159:
     this.Brush3DCube1 = ((System.Windows.Media.SolidColorBrush)(target));
     return;
     case 160:
     this.GyroStatusGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 161:
     this.GyroStatusLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 162:
     this.GyroStatus = ((System.Windows.Controls.Label)(target));
     return;
     case 163:
     this.GyroValuesGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 164:
     this.xLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 165:
     this.xValue = ((System.Windows.Controls.Label)(target));
     return;
     case 166:
     this.yLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 167:
     this.yValue = ((System.Windows.Controls.Label)(target));
     return;
     case 168:
     this.xValueMax = ((System.Windows.Controls.Label)(target));
     return;
     case 169:
     this.yValueMax = ((System.Windows.Controls.Label)(target));
     return;
     case 170:
     this.xLbl_Copy = ((System.Windows.Controls.Label)(target));
     return;
     case 171:
     this.yLbl_Copy = ((System.Windows.Controls.Label)(target));
     return;
     case 172:
     this.GyroChartsGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 173:
     this.GyroXChart = ((Telerik.Windows.Controls.RadCartesianChart)(target));
     return;
     case 174:
     this.GyroYChart = ((Telerik.Windows.Controls.RadCartesianChart)(target));
     return;
     case 175:
     this.GyroLegendGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 176:
     this.GyroXLegendCircle = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 177:
     this.GyroXLegendLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 178:
     this.GyroYLegendCircle = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 179:
     this.GyroYLegendLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 180:
     this.recalibrateGyroBtn = ((System.Windows.Controls.Button)(target));
     
     #line 615 "..\..\MainWindow.xaml"
     this.recalibrateGyroBtn.Click += new System.Windows.RoutedEventHandler(this.recalibrateGyroBtn_Click);
     
     #line default
     #line hidden
     return;
     case 181:
     this.DataInfoGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 182:
     this.SamplingRateLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 183:
     this.SamplingRate = ((System.Windows.Controls.Label)(target));
     return;
     case 184:
     this.BufferSize = ((System.Windows.Controls.Label)(target));
     return;
     case 185:
     this.BufferSizeLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 186:
     this.DataChartGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 187:
     this.SequenceNumberChart = ((Telerik.Windows.Controls.RadCartesianChart)(target));
     return;
     case 188:
     this.RawCQSignalAmplitudeChart = ((Telerik.Windows.Controls.RadCartesianChart)(target));
     return;
     case 189:
     this.DataLegendGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 190:
     this.SequenceNumberLegendCircle = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 191:
     this.SequenceNumberLegendLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 192:
     this.RawCQSignalAmplitudeLegendCircle = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 193:
     this.RawCQSignalAmplitudeLegendLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 194:
     this.CognitivPushTrainingTile = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 721 "..\..\MainWindow.xaml"
     this.CognitivPushTrainingTile.Click += new System.Windows.RoutedEventHandler(this.CognitivPushTrainingTile_Click);
     
     #line default
     #line hidden
     return;
     case 195:
     this.CognitivPullTrainingTile = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 725 "..\..\MainWindow.xaml"
     this.CognitivPullTrainingTile.Click += new System.Windows.RoutedEventHandler(this.CognitivPullTrainingTile_Click);
     
     #line default
     #line hidden
     return;
     case 196:
     this.CognitivLiftTrainingTile = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 729 "..\..\MainWindow.xaml"
     this.CognitivLiftTrainingTile.Click += new System.Windows.RoutedEventHandler(this.CognitivLiftTrainingTile_Click);
     
     #line default
     #line hidden
     return;
     case 197:
     this.CognitivDropTrainingTile = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 733 "..\..\MainWindow.xaml"
     this.CognitivDropTrainingTile.Click += new System.Windows.RoutedEventHandler(this.CognitivDropTrainingTile_Click);
     
     #line default
     #line hidden
     return;
     case 198:
     this.CognitivLeftTrainingTile = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 737 "..\..\MainWindow.xaml"
     this.CognitivLeftTrainingTile.Click += new System.Windows.RoutedEventHandler(this.CognitivLeftTrainingTile_Click);
     
     #line default
     #line hidden
     return;
     case 199:
     this.CognitivRightTrainingTile = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 741 "..\..\MainWindow.xaml"
     this.CognitivRightTrainingTile.Click += new System.Windows.RoutedEventHandler(this.CognitivRightTrainingTile_Click);
     
     #line default
     #line hidden
     return;
     case 200:
     this.CognitivRotateLeftTrainingTile = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 745 "..\..\MainWindow.xaml"
     this.CognitivRotateLeftTrainingTile.Click += new System.Windows.RoutedEventHandler(this.CognitivRotateLeftTrainingTile_Click);
     
     #line default
     #line hidden
     return;
     case 201:
     this.CognitivRotateRightTrainingTile = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 749 "..\..\MainWindow.xaml"
     this.CognitivRotateRightTrainingTile.Click += new System.Windows.RoutedEventHandler(this.CognitivRotateRightTrainingTile_Click);
     
     #line default
     #line hidden
     return;
     case 202:
     this.CognitivRotateClockwiseTrainingTile = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 753 "..\..\MainWindow.xaml"
     this.CognitivRotateClockwiseTrainingTile.Click += new System.Windows.RoutedEventHandler(this.CognitivRotateClockwiseTrainingTile_Click);
     
     #line default
     #line hidden
     return;
     case 203:
     this.CognitivRotateAntiClockwiseTrainingTile = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 757 "..\..\MainWindow.xaml"
     this.CognitivRotateAntiClockwiseTrainingTile.Click += new System.Windows.RoutedEventHandler(this.CognitivRotateAntiClockwiseTrainingTile_Click);
     
     #line default
     #line hidden
     return;
     case 204:
     this.CognitivRotateForwardsTrainingTile = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 761 "..\..\MainWindow.xaml"
     this.CognitivRotateForwardsTrainingTile.Click += new System.Windows.RoutedEventHandler(this.CognitivRotateForwardsTrainingTile_Click);
     
     #line default
     #line hidden
     return;
     case 205:
     this.CognitivRotateBackwardsTrainingTile = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 765 "..\..\MainWindow.xaml"
     this.CognitivRotateBackwardsTrainingTile.Click += new System.Windows.RoutedEventHandler(this.CognitivRotateBackwardsTrainingTile_Click);
     
     #line default
     #line hidden
     return;
     case 206:
     this.CognitivDisappearTrainingTile = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 769 "..\..\MainWindow.xaml"
     this.CognitivDisappearTrainingTile.Click += new System.Windows.RoutedEventHandler(this.CognitivDisappearTrainingTile_Click);
     
     #line default
     #line hidden
     return;
     case 207:
     this.CognitivNeutralTrainingTile = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 773 "..\..\MainWindow.xaml"
     this.CognitivNeutralTrainingTile.Click += new System.Windows.RoutedEventHandler(this.CognitivNeutralTrainingTile_Click);
     
     #line default
     #line hidden
     return;
     case 208:
     this.CognitivLongNeutralTrainingTile = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 777 "..\..\MainWindow.xaml"
     this.CognitivLongNeutralTrainingTile.Click += new System.Windows.RoutedEventHandler(this.CognitivLongNeutralTrainingTile_Click);
     
     #line default
     #line hidden
     return;
     case 209:
     this.CognitivTrainTile = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 781 "..\..\MainWindow.xaml"
     this.CognitivTrainTile.Click += new System.Windows.RoutedEventHandler(this.CognitivTrainTile_Click);
     
     #line default
     #line hidden
     return;
     case 210:
     this.EEGChart = ((Telerik.Windows.Controls.RadCartesianChart)(target));
     return;
     case 211:
     this.ButterworthChart = ((Telerik.Windows.Controls.RadCartesianChart)(target));
     return;
     case 212:
     this.AF4Lbl2 = ((System.Windows.Controls.Label)(target));
     return;
     case 213:
     this.EEGbutval = ((System.Windows.Controls.Label)(target));
     return;
     case 214:
     this.AF4Lbl1 = ((System.Windows.Controls.Label)(target));
     return;
     case 215:
     this.EEGval = ((System.Windows.Controls.Label)(target));
     return;
     case 216:
     
     #line 866 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 217:
     this.AF4Lbl2_Copy = ((System.Windows.Controls.Label)(target));
     return;
     case 218:
     this.AF4Lbl2_Copy1 = ((System.Windows.Controls.Label)(target));
     return;
     case 219:
     this.ElectrodeComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 220:
     this.AF3item = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 221:
     this.F7item = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 222:
     this.F3item = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 223:
     this.FC5item = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 224:
     this.T7item = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 225:
     this.P7item = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 226:
     this.O1item = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 227:
     this.O2item = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 228:
     this.P8item = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 229:
     this.T8item = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 230:
     this.FC6item = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 231:
     this.F4item = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 232:
     this.F8item = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 233:
     this.AF4item = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 234:
     this.FilterComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 235:
     this.Filter6_7item = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 236:
     this.Filter7_8item = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 237:
     this.Filter8_9item = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 238:
     this.Filter9_11item = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 239:
     this.AF3Chart = ((Telerik.Windows.Controls.RadCartesianChart)(target));
     return;
     case 240:
     this.F7Chart = ((Telerik.Windows.Controls.RadCartesianChart)(target));
     return;
     case 241:
     this.iRobotCreateToggleSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     
     #line 974 "..\..\MainWindow.xaml"
     this.iRobotCreateToggleSwitch.Unchecked += new System.EventHandler<System.Windows.RoutedEventArgs>(this.iRobotCreateToggleSwitch_Unchecked);
     
     #line default
     #line hidden
     
     #line 974 "..\..\MainWindow.xaml"
     this.iRobotCreateToggleSwitch.Checked += new System.EventHandler<System.Windows.RoutedEventArgs>(this.iRobotCreateToggleSwitch_Checked);
     
     #line default
     #line hidden
     return;
     case 242:
     this.iRobotCreateMoveForwardBtn = ((System.Windows.Controls.Button)(target));
     
     #line 975 "..\..\MainWindow.xaml"
     this.iRobotCreateMoveForwardBtn.Click += new System.Windows.RoutedEventHandler(this.iRobotCreateMoveForwardBtn_Click);
     
     #line default
     #line hidden
     return;
     case 243:
     this.iRobotCreateMoveBackBtn = ((System.Windows.Controls.Button)(target));
     
     #line 976 "..\..\MainWindow.xaml"
     this.iRobotCreateMoveBackBtn.Click += new System.Windows.RoutedEventHandler(this.iRobotCreateMoveBackBtn_Click);
     
     #line default
     #line hidden
     return;
     case 244:
     this.iRobotCreateTurnLeftBtn = ((System.Windows.Controls.Button)(target));
     
     #line 977 "..\..\MainWindow.xaml"
     this.iRobotCreateTurnLeftBtn.Click += new System.Windows.RoutedEventHandler(this.iRobotCreateTurnLeftBtn_Click);
     
     #line default
     #line hidden
     return;
     case 245:
     this.iRobotCreateTurnRightBtn = ((System.Windows.Controls.Button)(target));
     
     #line 978 "..\..\MainWindow.xaml"
     this.iRobotCreateTurnRightBtn.Click += new System.Windows.RoutedEventHandler(this.iRobotCreateTurnRightBtn_Click);
     
     #line default
     #line hidden
     return;
     case 246:
     this.iRobotCreateStopBtn = ((System.Windows.Controls.Button)(target));
     
     #line 979 "..\..\MainWindow.xaml"
     this.iRobotCreateStopBtn.Click += new System.Windows.RoutedEventHandler(this.iRobotCreateStopBtn_Click);
     
     #line default
     #line hidden
     return;
     case 247:
     this.ComPortTxtBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 248:
     this.VelocityTxtBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 249:
     this.Webcam = ((System.Windows.Controls.Image)(target));
     return;
     case 250:
     this.Light = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     
     #line 990 "..\..\MainWindow.xaml"
     this.Light.Click += new System.EventHandler<System.Windows.RoutedEventArgs>(this.Light_Click);
     
     #line default
     #line hidden
     return;
     case 251:
     this.ClawUpBtn = ((System.Windows.Controls.Button)(target));
     
     #line 991 "..\..\MainWindow.xaml"
     this.ClawUpBtn.Click += new System.Windows.RoutedEventHandler(this.GrippersUpBtn_Click);
     
     #line default
     #line hidden
     return;
     case 252:
     this.ClawDownBtn = ((System.Windows.Controls.Button)(target));
     
     #line 992 "..\..\MainWindow.xaml"
     this.ClawDownBtn.Click += new System.Windows.RoutedEventHandler(this.GrippersDownBtn_Click);
     
     #line default
     #line hidden
     return;
     case 253:
     this.ElbowUpBtn = ((System.Windows.Controls.Button)(target));
     
     #line 993 "..\..\MainWindow.xaml"
     this.ElbowUpBtn.Click += new System.Windows.RoutedEventHandler(this.ElbowUpBtn_Click);
     
     #line default
     #line hidden
     return;
     case 254:
     this.ElbowownBtn = ((System.Windows.Controls.Button)(target));
     
     #line 994 "..\..\MainWindow.xaml"
     this.ElbowownBtn.Click += new System.Windows.RoutedEventHandler(this.ElbowownBtn_Click);
     
     #line default
     #line hidden
     return;
     case 255:
     this.ArmUpBtn = ((System.Windows.Controls.Button)(target));
     
     #line 995 "..\..\MainWindow.xaml"
     this.ArmUpBtn.Click += new System.Windows.RoutedEventHandler(this.ArmUpBtn_Click);
     
     #line default
     #line hidden
     return;
     case 256:
     this.ArmDownBtn = ((System.Windows.Controls.Button)(target));
     
     #line 996 "..\..\MainWindow.xaml"
     this.ArmDownBtn.Click += new System.Windows.RoutedEventHandler(this.ArmDownBtn_Click);
     
     #line default
     #line hidden
     return;
     case 257:
     this.ArmRotateLeftBtn = ((System.Windows.Controls.Button)(target));
     
     #line 997 "..\..\MainWindow.xaml"
     this.ArmRotateLeftBtn.Click += new System.Windows.RoutedEventHandler(this.ArmRotateLeftBtn_Click);
     
     #line default
     #line hidden
     return;
     case 258:
     this.ArmRotateRightBtn = ((System.Windows.Controls.Button)(target));
     
     #line 998 "..\..\MainWindow.xaml"
     this.ArmRotateRightBtn.Click += new System.Windows.RoutedEventHandler(this.ArmRotateRightBtn_Click);
     
     #line default
     #line hidden
     return;
     case 259:
     this.SecondsTxtBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 260:
     this.Grippers = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     
     #line 1001 "..\..\MainWindow.xaml"
     this.Grippers.Click += new System.EventHandler<System.Windows.RoutedEventArgs>(this.Grippers_Click);
     
     #line default
     #line hidden
     return;
     case 261:
     this.HandshakeBtn = ((System.Windows.Controls.Button)(target));
     
     #line 1002 "..\..\MainWindow.xaml"
     this.HandshakeBtn.Click += new System.Windows.RoutedEventHandler(this.HandshakeBtn_Click);
     
     #line default
     #line hidden
     return;
     case 262:
     this.R2D2ToggleSwitch_Copy = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     
     #line 1009 "..\..\MainWindow.xaml"
     this.R2D2ToggleSwitch_Copy.Checked += new System.EventHandler<System.Windows.RoutedEventArgs>(this.R2D2ToggleSwitch_Checked);
     
     #line default
     #line hidden
     
     #line 1009 "..\..\MainWindow.xaml"
     this.R2D2ToggleSwitch_Copy.Unchecked += new System.EventHandler<System.Windows.RoutedEventArgs>(this.R2D2ToggleSwitch_Unchecked);
     
     #line default
     #line hidden
     return;
     case 263:
     this.R2D2MoveForwardBtn = ((System.Windows.Controls.Button)(target));
     
     #line 1010 "..\..\MainWindow.xaml"
     this.R2D2MoveForwardBtn.Click += new System.Windows.RoutedEventHandler(this.R2D2MoveForwardBtn_Click);
     
     #line default
     #line hidden
     return;
     case 264:
     this.R2D2MoveBackBtn = ((System.Windows.Controls.Button)(target));
     
     #line 1011 "..\..\MainWindow.xaml"
     this.R2D2MoveBackBtn.Click += new System.Windows.RoutedEventHandler(this.R2D2MoveBackBtn_Click);
     
     #line default
     #line hidden
     return;
     case 265:
     this.R2D2TurnLeftBtn = ((System.Windows.Controls.Button)(target));
     
     #line 1012 "..\..\MainWindow.xaml"
     this.R2D2TurnLeftBtn.Click += new System.Windows.RoutedEventHandler(this.R2D2TurnLeftBtn_Click);
     
     #line default
     #line hidden
     return;
     case 266:
     this.R2D2TurnRightBtn = ((System.Windows.Controls.Button)(target));
     
     #line 1013 "..\..\MainWindow.xaml"
     this.R2D2TurnRightBtn.Click += new System.Windows.RoutedEventHandler(this.R2D2TurnRightBtn_Click);
     
     #line default
     #line hidden
     return;
     case 267:
     this.R2D2StopBtn = ((System.Windows.Controls.Button)(target));
     
     #line 1014 "..\..\MainWindow.xaml"
     this.R2D2StopBtn.Click += new System.Windows.RoutedEventHandler(this.R2D2StopBtn_Click);
     
     #line default
     #line hidden
     return;
     case 268:
     this.CognitivTrainingPage = ((System.Windows.Controls.Grid)(target));
     return;
     case 269:
     this.BackToMainWindowBtn3 = ((System.Windows.Controls.Button)(target));
     
     #line 1044 "..\..\MainWindow.xaml"
     this.BackToMainWindowBtn3.Click += new System.Windows.RoutedEventHandler(this.BackToMainWindowBtn_Click);
     
     #line default
     #line hidden
     return;
     case 270:
     this.EEGTrainingPageLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 271:
     this.Cube3D = ((System.Windows.Controls.Viewport3D)(target));
     return;
     case 272:
     this.Cube3DPerspectiveCamera = ((System.Windows.Media.Media3D.PerspectiveCamera)(target));
     return;
     case 273:
     this.Camera3DYaw = ((System.Windows.Media.Media3D.AxisAngleRotation3D)(target));
     return;
     case 274:
     this.Camera3DPitch = ((System.Windows.Media.Media3D.AxisAngleRotation3D)(target));
     return;
     case 275:
     this.Camera3DRoll = ((System.Windows.Media.Media3D.AxisAngleRotation3D)(target));
     return;
     case 276:
     this.Brush3DCube = ((System.Windows.Media.SolidColorBrush)(target));
     return;
     case 277:
     
     #line 1178 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);
     
     #line default
     #line hidden
     return;
     case 278:
     
     #line 1179 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_4);
     
     #line default
     #line hidden
     return;
     case 279:
     this.EMGPage = ((System.Windows.Controls.Grid)(target));
     return;
     case 280:
     this.BackToMainWindowBtn6 = ((System.Windows.Controls.Button)(target));
     
     #line 1182 "..\..\MainWindow.xaml"
     this.BackToMainWindowBtn6.Click += new System.Windows.RoutedEventHandler(this.BackToMainWindowBtn_Click);
     
     #line default
     #line hidden
     return;
     case 281:
     this.EMGPageLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 282:
     this.EMGLowerFaceActionLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 283:
     this.EMGUpperFaceActionLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 284:
     this.EMGFacialActionsLbl = ((System.Windows.Controls.Label)(target));
     return;
     case 285:
     this.EMGCirclesGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 286:
     this.EyebrowRect1 = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 287:
     this.Eyebrow1 = ((System.Windows.Controls.Label)(target));
     return;
     case 288:
     this.EyebrowsLbl1 = ((System.Windows.Controls.Label)(target));
     return;
     case 289:
     this.FurrowRect1 = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 290:
     this.BlinkRect1 = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 291:
     this.FurrowLbl1 = ((System.Windows.Controls.Label)(target));
     return;
     case 292:
     this.BlinkLbl1 = ((System.Windows.Controls.Label)(target));
     return;
     case 293:
     this.SmileRect1 = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 294:
     this.Smile1 = ((System.Windows.Controls.Label)(target));
     return;
     case 295:
     this.SmileLbl1 = ((System.Windows.Controls.Label)(target));
     return;
     case 296:
     this.LaughRect1 = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 297:
     this.ClenchRect1 = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 298:
     this.Clench1 = ((System.Windows.Controls.Label)(target));
     return;
     case 299:
     this.LaughLbl1 = ((System.Windows.Controls.Label)(target));
     return;
     case 300:
     this.ClenchLbl1 = ((System.Windows.Controls.Label)(target));
     return;
     case 301:
     this.WinkLeftRect1 = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 302:
     this.WinkRightRect1 = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 303:
     this.WinkLeftLbl1 = ((System.Windows.Controls.Label)(target));
     return;
     case 304:
     this.WinkRightLbl1 = ((System.Windows.Controls.Label)(target));
     return;
     case 305:
     this.SmirkLeftRect1 = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 306:
     this.SmirkRightRect1 = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 307:
     this.SmirkLeftLbl1 = ((System.Windows.Controls.Label)(target));
     return;
     case 308:
     this.SmirkRightLbl1 = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Date_F = ((System.Windows.Controls.Label)(target));
                return;

            case 2:
                this.RadGrid = ((Telerik.Windows.Controls.RadGridView)(target));

            #line 47 "..\..\..\..\..\TauxCredit\Indicateurs\View\IndicateurView.xaml"
                this.RadGrid.AutoGeneratingColumn += new System.EventHandler <Telerik.Windows.Controls.GridViewAutoGeneratingColumnEventArgs>(this.RadGridView_AutoGeneratingColumn);

            #line default
            #line hidden
                return;

            case 3:

            #line 52 "..\..\..\..\..\TauxCredit\Indicateurs\View\IndicateurView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Indicateur_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 63 "..\..\..\..\..\TauxCredit\Indicateurs\View\IndicateurView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnExport_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 114 "..\..\..\..\..\TauxCredit\Indicateurs\View\IndicateurView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Graph_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.telerik = ((Telerik.Windows.Controls.RadCartesianChart)(target));
                return;

            case 7:
                this.LineChart1 = ((Telerik.Windows.Controls.ChartView.LineSeries)(target));
                return;

            case 8:
                this.LineChart2 = ((Telerik.Windows.Controls.ChartView.LineSeries)(target));
                return;

            case 9:
                this.LineChart3 = ((Telerik.Windows.Controls.ChartView.LineSeries)(target));
                return;

            case 10:
                this.LineChart4 = ((Telerik.Windows.Controls.ChartView.LineSeries)(target));
                return;

            case 11:
                this.LineChart5 = ((Telerik.Windows.Controls.ChartView.LineSeries)(target));
                return;

            case 12:
                this.LineChart6 = ((Telerik.Windows.Controls.ChartView.LineSeries)(target));
                return;

            case 13:
                this.LineChart7 = ((Telerik.Windows.Controls.ChartView.LineSeries)(target));
                return;

            case 14:
                this.LineChart8 = ((Telerik.Windows.Controls.ChartView.LineSeries)(target));
                return;

            case 15:
                this.LineChart9 = ((Telerik.Windows.Controls.ChartView.LineSeries)(target));
                return;

            case 16:
                this.LineChart10 = ((Telerik.Windows.Controls.ChartView.LineSeries)(target));
                return;

            case 17:
                this.LineChart11 = ((Telerik.Windows.Controls.ChartView.LineSeries)(target));
                return;

            case 18:
                this.LineChart12 = ((Telerik.Windows.Controls.ChartView.LineSeries)(target));
                return;

            case 19:
                this.ZeroLine = ((Telerik.Windows.Controls.ChartView.LineSeries)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 22
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/DOLStatsMango;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtSearchKeyword = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("txtSearchKeyword")));
     this.btnAdvancedSearch = ((System.Windows.Controls.Button)(this.FindName("btnAdvancedSearch")));
     this.btnEmployment = ((System.Windows.Controls.Button)(this.FindName("btnEmployment")));
     this.btnYearly = ((System.Windows.Controls.Button)(this.FindName("btnYearly")));
     this.btnHourly = ((System.Windows.Controls.Button)(this.FindName("btnHourly")));
     this.txtChartHeading = ((System.Windows.Controls.TextBlock)(this.FindName("txtChartHeading")));
     this.radChartEmployment = ((Telerik.Windows.Controls.RadCartesianChart)(this.FindName("radChartEmployment")));
     this.radChartYearly = ((Telerik.Windows.Controls.RadCartesianChart)(this.FindName("radChartYearly")));
     this.radChartHourly = ((Telerik.Windows.Controls.RadCartesianChart)(this.FindName("radChartHourly")));
     this.busyIndicator = ((Telerik.Windows.Controls.RadBusyIndicator)(this.FindName("busyIndicator")));
     this.btnJobStats = ((System.Windows.Controls.Button)(this.FindName("btnJobStats")));
     this.btnSavedSearches = ((System.Windows.Controls.Button)(this.FindName("btnSavedSearches")));
     this.btnSavedJobs = ((System.Windows.Controls.Button)(this.FindName("btnSavedJobs")));
     this.btnSettings = ((System.Windows.Controls.Button)(this.FindName("btnSettings")));
     this.btnAbout = ((System.Windows.Controls.Button)(this.FindName("btnAbout")));
 }
Ejemplo n.º 23
0
        private void LoadUpXMLAppMetrics(string metrics, Telerik.Windows.Controls.RadCartesianChart targetChart, Microsoft.Phone.Controls.PerformanceProgressBar progressBar,
                                         RadCustomHubTile rt1, RadCustomHubTile rt2, RadCustomHubTile rt3,
                                         TextBlock t1, TextBlock t2, TextBlock t3, TextBlock tb,
                                         String sDate, String eDate, TextBlock tr1, TextBlock tr2,
                                         int targetSeries)
        {
            App.lastRequest = Util.getCurrentTimestamp();
            String queryURL = sDate + " - " + eDate;

            if (targetSeries > 0)
            {
                // progressBar.Visibility = System.Windows.Visibility.Visible;
                rt1.IsFrozen   = false;
                rt2.IsFrozen   = false;
                rt3.IsFrozen   = false;
                tr2.Visibility = System.Windows.Visibility.Visible;
                tr2.Text       = "(" + DateTime.Parse(sDate).ToShortDateString() + " - " + DateTime.Parse(eDate).ToShortDateString() + ")";
            }
            else  // reset compare chart
            {
                TextBlock[] totals = { xtotal1, xtotal2, xtotal3, xtotal4, xtotal5, xtotal6, xtotal7, xtotal8 };
                if (MainPivot.SelectedIndex < 8)
                {
                    totals[MainPivot.SelectedIndex].Visibility = System.Windows.Visibility.Collapsed;
                }
                targetChart.Series[1].ItemsSource = null;
                tr1.Visibility = System.Windows.Visibility.Visible;
                tr2.Visibility = System.Windows.Visibility.Collapsed;
                tr1.Text       = "(" + DateTime.Parse(sDate).ToShortDateString() + " - " + DateTime.Parse(eDate).ToShortDateString() + ")";
                VisualStateManager.GoToState(rt1, "NotFlipped", true);
                VisualStateManager.GoToState(rt2, "NotFlipped", true);
                VisualStateManager.GoToState(rt3, "NotFlipped", true);
                rt1.IsFrozen = true;
                rt2.IsFrozen = true;
                rt3.IsFrozen = true;
            }

            Debug.WriteLine("LoadUpXMLAppMetrics:" + queryURL);

            WebClient w = new WebClient();

            Observable
            .FromEvent <DownloadStringCompletedEventArgs>(w, "DownloadStringCompleted")
            .Subscribe(r =>
            {
                try
                {
                    XDocument loadedData = XDocument.Parse(r.EventArgs.Result);
                    //XDocument loadedData = XDocument.Load("getAllApplications.xml");

                    // ListTitle.Text = (string)loadedData.Root.Attribute("metric");
                    var data = from query in loadedData.Descendants("day")
                               select new ChartDataPoint
                    {
                        Value = (double)query.Attribute("value"),
                        Label = Util.stripOffYear(DateTime.Parse((string)query.Attribute("date")))
                    };

                    // for processed data for comparison
                    ObservableCollection <ChartDataPoint> newData = new ObservableCollection <ChartDataPoint>();

                    if (targetSeries > 0) // if it's compare we have to fake time
                    {
                        var previousData = targetChart.Series[0].ItemsSource;
                        IEnumerator <ChartDataPoint> enumerator = previousData.GetEnumerator() as System.Collections.Generic.IEnumerator <ChartDataPoint>;
                        int p = 0;

                        while (enumerator.MoveNext())
                        {
                            ChartDataPoint c = enumerator.Current;
                            ChartDataPoint n = data.ElementAt(p) as ChartDataPoint;
                            n.Label          = c.Label;
                            newData.Add(new ChartDataPoint {
                                Value = n.Value, Label = c.Label
                            });
                            p++;
                        }
                    }

                    progressBar.Visibility      = System.Windows.Visibility.Collapsed;
                    progressBar.IsIndeterminate = false;

                    if (targetSeries > 0)
                    {
                        targetChart.Series[targetSeries].ItemsSource = newData;
                        targetChart.Series[targetSeries].DisplayName = StartDate2 + " - " + EndDate2;
                    }
                    else
                    {
                        targetChart.Series[targetSeries].ItemsSource = data;
                    }

                    List <ChartDataPoint> count = data.ToList();

                    if (count != null)
                    {
                        targetChart.HorizontalAxis.LabelInterval = Util.getLabelIntervalByCount(count.Count);
                    }
                    else
                    {
                        targetChart.HorizontalAxis.LabelInterval = Util.getLabelInterval(DateTime.Parse(StartDate), DateTime.Parse(EndDate));
                    }

                    // count max,min,latest,total for display purposes
                    double latest = 0, minim = 9999999999999, maxim = 0, totalCount = 0;
                    IEnumerator <ChartDataPoint> Myenum = data.GetEnumerator();
                    while (Myenum.MoveNext())
                    {
                        ChartDataPoint oneValue = Myenum.Current;
                        latest     = oneValue.Value;
                        minim      = Math.Min(minim, oneValue.Value);
                        maxim      = Math.Max(maxim, oneValue.Value);
                        totalCount = totalCount + oneValue.Value;
                    }

                    t1.Text = latest.ToString();
                    t2.Text = minim.ToString();
                    t3.Text = maxim.ToString();
                    switch (metrics)
                    {
                    case "MedianSessionLength":
                    case "AvgSessionLength":
                        tb.Text = "N/A";     // makes no sense for these metrics
                        break;

                    default:
                        tb.Text = totalCount.ToString();
                        break;
                    }

                    tb.Visibility = System.Windows.Visibility.Visible;
                }
                catch (NotSupportedException)         // it's not XML - probably API overload
                {
                    MessageBox.Show("Flurry API overload, please try again later.");
                }
            });

            w.Headers[HttpRequestHeader.Accept] = "application/xml"; // get us XMLs version!
            string callURL = "http://api.flurry.com/appMetrics/" + metrics + "?apiAccessCode=" + apiKey + "&apiKey=" + appapikey + "&startDate=" + sDate + "&endDate=" + eDate;

            Debug.WriteLine("Calling URL:" + callURL);
            w.DownloadStringAsync(
                new Uri(callURL)
                );
        }