Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\RuntimeChart.xaml"
                ((CoreTest.RuntimeChart)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 8 "..\..\..\RuntimeChart.xaml"
                ((CoreTest.RuntimeChart)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\..\RuntimeChart.xaml"
                this.comb1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comb1_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.colorpicker = ((Microsoft.Windows.Controls.ColorPicker)(target));

            #line 18 "..\..\..\RuntimeChart.xaml"
                this.colorpicker.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Windows.Media.Color>(this.ColorPicker_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.chartPlotter1 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 5:
                this.hTimeSpanAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
                return;

            case 6:
                this.hilevel = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalLine)(target));
                return;

            case 7:
                this.lolevel = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalLine)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.plotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 2:
                this.dateAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
                return;

            case 3:
                this.t1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 18 "..\..\..\MainWindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.Message = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 7:
                this.tb = ((System.Windows.Controls.TextBox)(target));

            #line 22 "..\..\..\MainWindow.xaml"
                this.tb.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tb_TextChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.tb2 = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.plotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 2:
                this.dateAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\View\TradeIndexView.xaml"
                ((OKCoinClient.View.TradeIndexView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.TradeIndexView_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.chartThisWeek1 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 3:
                this.Axis_X_ThisWeek1 = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
                return;

            case 4:
                this.chartNextWeek1 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 5:
                this.Axis_X_NextWeek1 = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
                return;

            case 6:
                this.chartQuarter1 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 7:
                this.Axis_X_Quarter1 = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
                return;

            case 8:
                this.chartIndex = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.plotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 2:
                this.dateAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
                return;

            case 3:
                this.countAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.Axes.VerticalIntegerAxis)(target));
                return;

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

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

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

            case 7:
                this.selected_date = ((System.Windows.Controls.DatePicker)(target));

            #line 67 "..\..\..\Pages\DataVisualization.xaml"
                this.selected_date.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.datechanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        public ltepopupModel()
        {
            PinCommand = new DelegateCommand(new Action(OnPinCommandExecute));
            CloseWindowCommand = new DelegateCommand(new Action(OnCloseWindowCommandExecute));

            LTECollection = new LTECollection();
            LTECollection2 = new LTECollection();
            DateTimeAxis1 = new HorizontalDateTimeAxis();
            DateTimeAxis2 = new HorizontalDateTimeAxis();

            var ds = new EnumerableDataSource<LTEData>(LTECollection);
            ds.SetXMapping(x => DateTimeAxis1.ConvertToDouble(x.Date));
            ds.SetYMapping(y => y.Data);

            RsrqGraph = ds;

            var ds2 = new EnumerableDataSource<LTEData>(LTECollection2);
            ds2.SetXMapping(x => DateTimeAxis1.ConvertToDouble(x.Date));
            ds2.SetYMapping(y => y.Data);

            RsrpGraph = ds2;
        }
Example #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.textboxSP = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.listboxSP = ((System.Windows.Controls.ListBox)(target));
                return;

            case 3:
                this.ugur = ((System.Windows.Controls.Button)(target));
                return;

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

            #line 37 "..\..\MainWindow.xaml"
                this.comSelect_LB.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.comSelect_LB_MouseDown);

            #line default
            #line hidden
                return;

            case 5:
                this.comSelect_CmBx = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 40 "..\..\MainWindow.xaml"
                this.openPort_BTN.Click += new System.Windows.RoutedEventHandler(this.openPort_Click);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\MainWindow.xaml"
                this.closePort_BTN.Click += new System.Windows.RoutedEventHandler(this.closePort_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.save_BTN = ((System.Windows.Controls.Button)(target));

            #line 42 "..\..\MainWindow.xaml"
                this.save_BTN.Click += new System.Windows.RoutedEventHandler(this.save_Click);

            #line default
            #line hidden
                return;

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

            case 10:
                this.plotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 11:
                this.dateAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.txExitemName = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 2:
     this.btnClosed = ((System.Windows.Controls.Button)(target));
     
     #line 354 "..\..\..\..\ChartNodes\ChartNodesControl.xaml"
     this.btnClosed.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.btnClosed_PreviewMouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 3:
     this.imgred = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.imgYellow = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.imgOrange = ((System.Windows.Controls.Image)(target));
     return;
     case 6:
     this.imgspringgreen = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.imgdeepink = ((System.Windows.Controls.Image)(target));
     return;
     case 8:
     this.CkGuided = ((System.Windows.Controls.CheckBox)(target));
     
     #line 420 "..\..\..\..\ChartNodes\ChartNodesControl.xaml"
     this.CkGuided.Checked += new System.Windows.RoutedEventHandler(this.CkGuided_Checked);
     
     #line default
     #line hidden
     return;
     case 9:
     this.CkIsotonicA = ((System.Windows.Controls.CheckBox)(target));
     
     #line 426 "..\..\..\..\ChartNodes\ChartNodesControl.xaml"
     this.CkIsotonicA.Checked += new System.Windows.RoutedEventHandler(this.CkIsotonicA_Checked);
     
     #line default
     #line hidden
     return;
     case 10:
     this.CkIsotonicB = ((System.Windows.Controls.CheckBox)(target));
     
     #line 429 "..\..\..\..\ChartNodes\ChartNodesControl.xaml"
     this.CkIsotonicB.Checked += new System.Windows.RoutedEventHandler(this.CkIsotonicB_Checked);
     
     #line default
     #line hidden
     return;
     case 11:
     this.CkFreeCounterWeight = ((System.Windows.Controls.CheckBox)(target));
     
     #line 437 "..\..\..\..\ChartNodes\ChartNodesControl.xaml"
     this.CkFreeCounterWeight.Checked += new System.Windows.RoutedEventHandler(this.CkFreeCounterWeight_Checked);
     
     #line default
     #line hidden
     return;
     case 12:
     this.CkFreeConstantResistance = ((System.Windows.Controls.CheckBox)(target));
     
     #line 441 "..\..\..\..\ChartNodes\ChartNodesControl.xaml"
     this.CkFreeConstantResistance.Checked += new System.Windows.RoutedEventHandler(this.CkFreeConstantResistance_Checked);
     
     #line default
     #line hidden
     return;
     case 13:
     this.ColumnScroll = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 14:
     this.Mid = ((System.Windows.Controls.Grid)(target));
     return;
     case 15:
     this.Grid_FW = ((System.Windows.Controls.Grid)(target));
     return;
     case 16:
     this.Grid_Power = ((System.Windows.Controls.Grid)(target));
     return;
     case 17:
     this.Grid_C = ((System.Windows.Controls.Grid)(target));
     return;
     case 18:
     this.plotter2 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
     return;
     case 19:
     this.dateAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
     return;
     case 20:
     this.barChart = ((Microsoft.Research.DynamicDataDisplay.Charts.ClusteredBarChart)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\JianceWindow.xaml"
                ((PsyHealth.JianceWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.maincontent = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.btn_hrv = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 4:
                this.btn_maibo = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 5:
                this.btn_result = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 6:
                this.btn_set = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 7:
                this.userconfig = ((System.Windows.Controls.Canvas)(target));
                return;

            case 8:
                this.radiomusic1 = ((System.Windows.Controls.Image)(target));
                return;

            case 9:
                this.radiomusic2 = ((System.Windows.Controls.Image)(target));
                return;

            case 10:
                this.radioxg1 = ((System.Windows.Controls.Image)(target));
                return;

            case 11:
                this.radioxg2 = ((System.Windows.Controls.Image)(target));
                return;

            case 12:
                this.sliderVolume = ((System.Windows.Controls.Slider)(target));
                return;

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

            case 14:
                this.btn_checkfile = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 15:
                this.btn_ok = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 16:
                this.btn_cancle = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 17:
                this.media1 = ((System.Windows.Controls.MediaElement)(target));
                return;

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

            case 19:
                this.plotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 20:
                this.dateAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
                return;

            case 21:
                this.countAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.Axes.VerticalIntegerAxis)(target));
                return;

            case 22:
                this.maibo_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 23:
                this.result_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 24:
                this.Userstate = ((System.Windows.Controls.Image)(target));
                return;

            case 25:
                this.btn_zhushou = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 26:
                this.hxcon = ((System.Windows.Controls.Canvas)(target));
                return;

            case 27:
                this.hximg = ((System.Windows.Controls.Image)(target));
                return;

            case 28:
                this.videoMediaElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 29:
                this.btn_qiehuan = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 30:
                this.btn_kaishi = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 31:
                this.sliderspeed = ((System.Windows.Controls.Slider)(target));
                return;

            case 32:
                this.btn_tuichu = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 33:
                this.Simon = ((System.Windows.Controls.Grid)(target));
                return;

            case 34:
                this.btn_xuexi = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 35:
                this.btn_xunlian = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 36:
                this.btn_jilu = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 37:
                this.Btn_backIndex = ((PsyHealth.lib.ImageButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\Trend.xaml"
                ((CoreTest.Trend)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.toolBar1 = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 3:
                this.dtstart = ((Microsoft.Windows.Controls.DateTimePicker)(target));
                return;

            case 4:
                this.dtend = ((Microsoft.Windows.Controls.DateTimePicker)(target));
                return;

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

            case 6:
                this.popusBottom = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 7:
                this.chklist = ((Microsoft.Windows.Controls.CheckListBox)(target));
                return;

            case 8:
                this.comodel = ((System.Windows.Controls.ComboBox)(target));

            #line 40 "..\..\..\Trend.xaml"
                this.comodel.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comodel_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.chkshow = ((System.Windows.Controls.CheckBox)(target));

            #line 45 "..\..\..\Trend.xaml"
                this.chkshow.Click += new System.Windows.RoutedEventHandler(this.chkshow_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.colorpicker = ((Microsoft.Windows.Controls.ColorPicker)(target));

            #line 46 "..\..\..\Trend.xaml"
                this.colorpicker.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Windows.Media.Color>(this.ColorPicker_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.chartPlotter1 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 12:
                this.hTimeSpanAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
                return;

            case 13:
                this.cursor = ((Microsoft.Research.DynamicDataDisplay.Charts.Navigation.CursorCoordinateGraph)(target));
                return;

            case 14:
                this.axiscuror = ((Microsoft.Research.DynamicDataDisplay.Charts.Navigation.AxisCursorGraph)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.plotter = ((Microsoft.Research.DynamicDataDisplay.TimeChartPlotter)(target));
     return;
     case 2:
     this.dateAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
     return;
     case 3:
     this.tabControl = ((StrategyAnalyzerCore.Visualization.Wpf.TabControl.TabControl)(target));
     
     #line 30 "..\..\MainView.xaml"
     this.tabControl.NewTabItem += new System.EventHandler<StrategyAnalyzerCore.Visualization.Wpf.TabControl.NewTabItemEventArgs>(this.tabControl_NewTabItem);
     
     #line default
     #line hidden
     return;
     case 4:
     this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 5:
     this.layoutControl1 = ((DevExpress.Xpf.LayoutControl.LayoutControl)(target));
     return;
     case 6:
     this.startDateEdit = ((DevExpress.Xpf.Editors.DateEdit)(target));
     return;
     case 7:
     this.endDateEdit = ((DevExpress.Xpf.Editors.DateEdit)(target));
     return;
     case 8:
     this.monthSpinEdit = ((DevExpress.Xpf.Editors.SpinEdit)(target));
     return;
     case 9:
     this.runButton = ((System.Windows.Controls.Button)(target));
     
     #line 105 "..\..\MainView.xaml"
     this.runButton.Click += new System.Windows.RoutedEventHandler(this.runButton_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 7 "..\..\..\..\View\ChartView.xaml"
     ((techdata_charting_wpf.View.ChartView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.chartPlotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
     return;
     case 3:
     this.dateAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
     return;
     case 4:
     this.countAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.Axes.VerticalIntegerAxis)(target));
     return;
     case 5:
     this.lineGraph = ((Microsoft.Research.DynamicDataDisplay.LineGraph)(target));
     return;
     case 6:
     this.temp = ((Microsoft.Research.DynamicDataDisplay.ElementMarkerPointsGraph)(target));
     return;
     case 7:
     
     #line 87 "..\..\..\..\View\ChartView.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.lnkHelp = ((System.Windows.Documents.Hyperlink)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this._topLevel = ((HistVol_StdDev_Calc.MainWindow)(target));
     return;
     case 2:
     this.txtSymbol = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.btnGetData = ((System.Windows.Controls.Button)(target));
     
     #line 20 "..\..\MainWindow.xaml"
     this.btnGetData.Click += new System.Windows.RoutedEventHandler(this.btnGetData_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.txtPeriod = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.txtObservations = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.Plotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
     return;
     case 7:
     this.dateAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
     return;
     case 8:
     this.volAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.VerticalAxis)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.GraphGrid_ = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.plotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
     return;
     case 3:
     this.dateAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
     return;
     case 4:
     this.DataListGrid_ = ((System.Windows.Controls.Grid)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #15
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\MainWindow.xaml"
                ((MqttClient.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.generalplotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 3:
                this.generaldateAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
                return;

            case 4:
                this.btn_general = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\MainWindow.xaml"
                this.btn_general.Click += new System.Windows.RoutedEventHandler(this.btn_general_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.historyplotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 6:
                this.historydateAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
                return;

            case 7:
                this.txtPointId = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.dateTimePicker1 = ((Utility.Tool.Controls.View.DateTimePicker)(target));
                return;

            case 9:
                this.dateTimePicker2 = ((Utility.Tool.Controls.View.DateTimePicker)(target));
                return;

            case 10:
                this.btn_reset = ((System.Windows.Controls.Button)(target));

            #line 51 "..\..\MainWindow.xaml"
                this.btn_reset.Click += new System.Windows.RoutedEventHandler(this.btn_reset_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.tbMultiLine = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.plotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
     return;
     case 2:
     this.dateAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
     return;
     case 3:
     this.t1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.button1 = ((System.Windows.Controls.Button)(target));
     
     #line 18 "..\..\..\MainWindow.xaml"
     this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.Message = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.Image = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.tb = ((System.Windows.Controls.TextBox)(target));
     
     #line 22 "..\..\..\MainWindow.xaml"
     this.tb.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tb_TextChanged);
     
     #line default
     #line hidden
     return;
     case 8:
     this.tb2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #17
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.datagrid1 = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 2:
     this.Plotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
     return;
     case 3:
     this.dateAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
     return;
     case 4:
     this.scoreAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.Axes.VerticalIntegerAxis)(target));
     return;
     case 5:
     this.Btn_Home = ((System.Windows.Controls.Button)(target));
     
     #line 28 "..\..\scoresheet.xaml"
     this.Btn_Home.Click += new System.Windows.RoutedEventHandler(this.Btn_Home_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.Btn_Exit = ((System.Windows.Controls.Button)(target));
     
     #line 29 "..\..\scoresheet.xaml"
     this.Btn_Exit.Click += new System.Windows.RoutedEventHandler(this.Btn_Exit_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 10 "..\..\..\ShowFitChartView.xaml"
     ((LumbarRobot.ShowFitChartView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.txExitemName = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.btnClosed = ((System.Windows.Controls.Button)(target));
     
     #line 354 "..\..\..\ShowFitChartView.xaml"
     this.btnClosed.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.btnClosed_PreviewMouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 4:
     this.plotter2 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
     return;
     case 5:
     this.dateAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
     return;
     case 6:
     this.barChart = ((Microsoft.Research.DynamicDataDisplay.Charts.ClusteredBarChart)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #19
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.nameOfStockToSearch = ((System.Windows.Controls.TextBox)(target));

            #line 7 "..\..\..\MainWindow.xaml"
                this.nameOfStockToSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.nameOfStockToSearch_TextChanged);

            #line default
            #line hidden
                return;

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

            case 3:
                this.downloadDataFromWeb = ((System.Windows.Controls.Button)(target));

            #line 9 "..\..\..\MainWindow.xaml"
                this.downloadDataFromWeb.Click += new System.Windows.RoutedEventHandler(this.downloadDataFromWeb_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.saveDataToDb = ((System.Windows.Controls.Button)(target));

            #line 10 "..\..\..\MainWindow.xaml"
                this.saveDataToDb.Click += new System.Windows.RoutedEventHandler(this.saveDataToDb_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.downloadAndSaveAll = ((System.Windows.Controls.Button)(target));

            #line 11 "..\..\..\MainWindow.xaml"
                this.downloadAndSaveAll.Click += new System.Windows.RoutedEventHandler(this.downloadAndSaveAll_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.searchRecordsForStock = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 8:
                this.getRecordsForStock = ((System.Windows.Controls.Button)(target));

            #line 14 "..\..\..\MainWindow.xaml"
                this.getRecordsForStock.Click += new System.Windows.RoutedEventHandler(this.getRecordsForStock_Click);

            #line default
            #line hidden
                return;

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

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

            case 11:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

            case 15:
                this.dataResult = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 17:
                this.plotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 18:
                this.dateAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
                return;

            case 19:
                this.countAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.VerticalAxis)(target));
                return;

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

            #line 37 "..\..\..\MainWindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.clearChart_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Example #20
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.plotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 2:
                this.dateAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
                return;

            case 3:
                this.plotter1 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 4:

            #line 44 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 51 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 6:

            #line 58 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.screenShot);

            #line default
            #line hidden
                return;

            case 7:
                this.BarChartBox = ((System.Windows.Controls.CheckBox)(target));

            #line 67 "..\..\MainWindow.xaml"
                this.BarChartBox.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden

            #line 68 "..\..\MainWindow.xaml"
                this.BarChartBox.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_Unchecked);

            #line default
            #line hidden

            #line 69 "..\..\MainWindow.xaml"
                this.BarChartBox.Loaded += new System.Windows.RoutedEventHandler(this.CheckBox_Loaded);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
		public AxisColoringSample()
		{
			InitializeComponent();

			// setting custom colors of background, axis text labels and axis ticks:
			{
				// background brush is for axis's background
				plotter.MainHorizontalAxis.Background = Brushes.Aqua.MakeTransparent(0.1);
				// foreground bruhs is for axis's labels foreground
				plotter.MainHorizontalAxis.Foreground = Brushes.DarkMagenta;

				plotter.MainVerticalAxis.Background = new LinearGradientBrush(Colors.White, Colors.LightBlue, 90);
				plotter.MainVerticalAxis.Foreground = Brushes.DarkGoldenrod;

				// stroke brush is 
				// ------ /*to rule them all*/ ------
				// for ticks' fill
				((NumericAxis)plotter.MainHorizontalAxis).AxisControl.TicksPath.Stroke = Brushes.OrangeRed;
			}

			// this will make the most left axis to display ticks as percents
			secondAxis.LabelProvider = new ToStringLabelProvider();
			secondAxis.LabelProvider.LabelStringFormat = "{0}%";
			secondAxis.LabelProvider.SetCustomFormatter(info => (info.Tick * 100).ToString());
			// percent values that can be divided by 50 without a remainder will be red and with bigger font size
			secondAxis.LabelProvider.SetCustomView((info, ui) =>
			{
				if (((int)Math.Round(info.Tick * 100)) % 50 == 0)
				{
					TextBlock text = (TextBlock)ui;
					text.Foreground = Brushes.Red;
					text.FontSize = 20;
				}
			});

			// you can add new axes not only from XAML, but from C#, too:
			HorizontalDateTimeAxis thirdAxis = new HorizontalDateTimeAxis();
			thirdAxis.LabelProvider.SetCustomFormatter(info =>
			{
				DifferenceIn dateTimeDifference = (DifferenceIn)info.Info;
				if (dateTimeDifference == DifferenceIn.Minute)
				{
					return info.Tick.ToString("%m:ss");
				}

				// null should be returned if you want to use default label text
				return null;
			});

			// let's have major labels for hours in Spanish,
			// for other time periods your Thread.CurrentThread.CurrentCulture will be used to format date.
			// You can change this default thread culture and get desired look of labels.

			CultureInfo culture = new CultureInfo("es-ES");
			thirdAxis.MajorLabelProvider.SetCustomFormatter(info =>
			{
				MajorLabelsInfo mInfo = (MajorLabelsInfo)info.Info;
				if ((DifferenceIn)mInfo.Info == DifferenceIn.Hour)
				{
					return info.Tick.ToString("MMMM/dd %m:ss", culture);
				}
				return null;
			});
			plotter.Children.Add(thirdAxis);

			SetupLocationalAxis();

			SetupPiAxis();

			SetupOneThirdAxis();
		}