public IntegerAxisWindow()
		{
			InitializeComponent();

			VerticalIntegerAxis verticalAxis = new VerticalIntegerAxis();
			var labels = new string[] { "One", "Two", "Three", "Four", "Five", "Six" };
			verticalAxis.LabelProvider = new CollectionLabelProvider<string>(labels);
			((IntegerTicksProvider)verticalAxis.TicksProvider).MaxStep = 1;

			plotter.MainVerticalAxis = verticalAxis;
		}
        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;
        }
예제 #3
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;
        }
예제 #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:
                this.groupBox2 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 3:
                this.dockPanel1 = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 4:
                this.menu1 = ((System.Windows.Controls.Menu)(target));
                return;

            case 5:
                this.@new = ((System.Windows.Controls.MenuItem)(target));

            #line 16 "..\..\..\MainWindow.xaml"
                [email protected] += new System.Windows.RoutedEventHandler(this.new_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.open_excel = ((System.Windows.Controls.MenuItem)(target));

            #line 17 "..\..\..\MainWindow.xaml"
                this.open_excel.Click += new System.Windows.RoutedEventHandler(this.open_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.save_as_excel = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 8:
                this.showTable = ((System.Windows.Controls.MenuItem)(target));

            #line 20 "..\..\..\MainWindow.xaml"
                this.showTable.Click += new System.Windows.RoutedEventHandler(this.showTable_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.exit = ((System.Windows.Controls.MenuItem)(target));

            #line 22 "..\..\..\MainWindow.xaml"
                this.exit.Click += new System.Windows.RoutedEventHandler(this.exit_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.beginWork = ((System.Windows.Controls.MenuItem)(target));

            #line 25 "..\..\..\MainWindow.xaml"
                this.beginWork.Click += new System.Windows.RoutedEventHandler(this.beginWork_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.stop_work = ((System.Windows.Controls.MenuItem)(target));

            #line 26 "..\..\..\MainWindow.xaml"
                this.stop_work.Click += new System.Windows.RoutedEventHandler(this.stopWork_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.showInstruConn = ((System.Windows.Controls.MenuItem)(target));

            #line 27 "..\..\..\MainWindow.xaml"
                this.showInstruConn.Click += new System.Windows.RoutedEventHandler(this.showInstruConn_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.asciiCode = ((System.Windows.Controls.MenuItem)(target));

            #line 29 "..\..\..\MainWindow.xaml"
                this.asciiCode.Click += new System.Windows.RoutedEventHandler(this.asciiCode_Click_1);

            #line default
            #line hidden
                return;

            case 14:
                this.notAscii = ((System.Windows.Controls.MenuItem)(target));

            #line 30 "..\..\..\MainWindow.xaml"
                this.notAscii.Click += new System.Windows.RoutedEventHandler(this.notAscii_Click_1);

            #line default
            #line hidden
                return;

            case 15:
                this.dataAnalyse = ((System.Windows.Controls.MenuItem)(target));

            #line 33 "..\..\..\MainWindow.xaml"
                this.dataAnalyse.Click += new System.Windows.RoutedEventHandler(this.dataAnalyse_Click);

            #line default
            #line hidden
                return;

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

            case 17:

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

            #line default
            #line hidden
                return;

            case 18:

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

            #line default
            #line hidden
                return;

            case 19:

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

            #line default
            #line hidden
                return;

            case 20:

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

            #line default
            #line hidden
                return;

            case 21:

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

            #line default
            #line hidden
                return;

            case 22:

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

            #line default
            #line hidden
                return;

            case 23:

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

            #line default
            #line hidden
                return;

            case 24:

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

            #line default
            #line hidden
                return;

            case 25:

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

            #line default
            #line hidden
                return;

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

            case 27:
                this.timeAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.Axes.HorizontalIntegerAxis)(target));
                return;

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

            case 29:
                this.dp = ((Microsoft.Research.DynamicDataDisplay.Charts.Shapes.DraggablePoint)(target));

            #line 76 "..\..\..\MainWindow.xaml"
                this.dp.MouseMove += new System.Windows.Input.MouseEventHandler(this.dp_MouseMove);

            #line default
            #line hidden

            #line 76 "..\..\..\MainWindow.xaml"
                this.dp.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.dp_MouseUp);

            #line default
            #line hidden
                return;

            case 30:
                this.vl = ((Microsoft.Research.DynamicDataDisplay.Charts.VerticalLine)(target));
                return;

            case 31:
                this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            case 33:
                this.rSO2Txt = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 35:
                this.pulseTxt = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 37:
                this.collectDataTime = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 40:
                this.pulseAnalyse = ((System.Windows.Controls.TextBox)(target));
                return;

            case 41:
                this.rSO2Analyse = ((System.Windows.Controls.TextBox)(target));
                return;

            case 42:
                this.groupBox2_Copy = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 43:
                this.label5_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 44:
                this.label6_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 45:
                this.UserAge = ((System.Windows.Controls.TextBox)(target));
                return;

            case 46:
                this.UserStablePul = ((System.Windows.Controls.TextBox)(target));
                return;

            case 47:
                this.ageChanged = ((System.Windows.Controls.Button)(target));

            #line 116 "..\..\..\MainWindow.xaml"
                this.ageChanged.Click += new System.Windows.RoutedEventHandler(this.ageChanged_Click_1);

            #line default
            #line hidden
                return;

            case 48:
                this.stablePulChanged = ((System.Windows.Controls.Button)(target));

            #line 117 "..\..\..\MainWindow.xaml"
                this.stablePulChanged.Click += new System.Windows.RoutedEventHandler(this.stablePulChanged_Click_1);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
예제 #5
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.Axes.HorizontalIntegerAxis)(target));
     return;
     case 3:
     this.countAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.Axes.VerticalIntegerAxis)(target));
     return;
     case 4:
     this.graphTitle = ((Microsoft.Research.DynamicDataDisplay.Header)(target));
     return;
     case 5:
     this.verticalAxisTitle = ((Microsoft.Research.DynamicDataDisplay.VerticalAxisTitle)(target));
     return;
     case 6:
     this.horizontalAxisTitle = ((Microsoft.Research.DynamicDataDisplay.HorizontalAxisTitle)(target));
     return;
     }
     this._contentLoaded = true;
 }
예제 #6
0
파일: scoresheet.g.cs 프로젝트: mominul/SAT
 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:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

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

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

            case 4:
                this.textBlockDisks = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.textBoxDisks = ((System.Windows.Controls.TextBox)(target));

            #line 41 "..\..\..\MainWindow.xaml"
                this.textBoxDisks.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.textBoxesInput_PreviewTextInput);

            #line default
            #line hidden

            #line 41 "..\..\..\MainWindow.xaml"
                this.textBoxDisks.LostFocus += new System.Windows.RoutedEventHandler(this.textBoxes_LostFocus);

            #line default
            #line hidden

            #line 41 "..\..\..\MainWindow.xaml"
                this.textBoxDisks.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBoxes_KeyDown);

            #line default
            #line hidden
                return;

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

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

            #line 43 "..\..\..\MainWindow.xaml"
                this.textBoxPegs.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.textBoxesInput_PreviewTextInput);

            #line default
            #line hidden

            #line 43 "..\..\..\MainWindow.xaml"
                this.textBoxPegs.LostFocus += new System.Windows.RoutedEventHandler(this.textBoxes_LostFocus);

            #line default
            #line hidden

            #line 43 "..\..\..\MainWindow.xaml"
                this.textBoxPegs.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBoxes_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\..\MainWindow.xaml"
                this.buttonStartDemo.Click += new System.Windows.RoutedEventHandler(this.buttonStartDemo_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.buttonPauseResumeDemo = ((System.Windows.Controls.Button)(target));

            #line 45 "..\..\..\MainWindow.xaml"
                this.buttonPauseResumeDemo.Click += new System.Windows.RoutedEventHandler(this.buttonPauseResumeDemo_Click);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\..\MainWindow.xaml"
                this.buttonStopDemo.Click += new System.Windows.RoutedEventHandler(this.buttonStopDemo_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.textBlockSlow = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 13:
                this.textBlockFast = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.textBlockMoves = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.radioButtonFS = ((System.Windows.Controls.RadioButton)(target));

            #line 51 "..\..\..\MainWindow.xaml"
                this.radioButtonFS.Checked += new System.Windows.RoutedEventHandler(this.radioButtonFS_Checked);

            #line default
            #line hidden
                return;

            case 16:
                this.radioButtonRec = ((System.Windows.Controls.RadioButton)(target));

            #line 52 "..\..\..\MainWindow.xaml"
                this.radioButtonRec.Checked += new System.Windows.RoutedEventHandler(this.radioButtonRec_Checked);

            #line default
            #line hidden
                return;

            case 17:
                this.border3 = ((System.Windows.Controls.Border)(target));
                return;

            case 18:
                this.groupBoxDemo = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 19:
                this._canvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 20:
                this.tabAnalysis = ((System.Windows.Controls.TabItem)(target));

            #line 67 "..\..\..\MainWindow.xaml"
                this.tabAnalysis.Loaded += new System.Windows.RoutedEventHandler(this.tabAnalysis_Loaded);

            #line default
            #line hidden
                return;

            case 21:
                this.groupBoxOptions = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            #line 78 "..\..\..\MainWindow.xaml"
                this.buttonStartPlotting.Click += new System.Windows.RoutedEventHandler(this.buttonStartPlotting_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.buttonStopPlotting = ((System.Windows.Controls.Button)(target));

            #line 79 "..\..\..\MainWindow.xaml"
                this.buttonStopPlotting.Click += new System.Windows.RoutedEventHandler(this.buttonStopPlotting_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.radioButtonFreezePegs = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 25:
                this.radioButtonFreezeDisks = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 26:
                this.textBoxEndingDisks = ((System.Windows.Controls.TextBox)(target));

            #line 82 "..\..\..\MainWindow.xaml"
                this.textBoxEndingDisks.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.textBoxesInput_PreviewTextInput);

            #line default
            #line hidden

            #line 82 "..\..\..\MainWindow.xaml"
                this.textBoxEndingDisks.LostFocus += new System.Windows.RoutedEventHandler(this.textBoxes_LostFocus);

            #line default
            #line hidden

            #line 82 "..\..\..\MainWindow.xaml"
                this.textBoxEndingDisks.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBoxes_KeyDown);

            #line default
            #line hidden
                return;

            case 27:
                this.textBlockStartingDisks = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 28:
                this.textBoxPegsUse = ((System.Windows.Controls.TextBox)(target));

            #line 84 "..\..\..\MainWindow.xaml"
                this.textBoxPegsUse.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.textBoxesInput_PreviewTextInput);

            #line default
            #line hidden

            #line 84 "..\..\..\MainWindow.xaml"
                this.textBoxPegsUse.LostFocus += new System.Windows.RoutedEventHandler(this.textBoxes_LostFocus);

            #line default
            #line hidden

            #line 84 "..\..\..\MainWindow.xaml"
                this.textBoxPegsUse.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBoxes_KeyDown);

            #line default
            #line hidden
                return;

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

            case 30:
                this.textBoxEndingPegs = ((System.Windows.Controls.TextBox)(target));

            #line 86 "..\..\..\MainWindow.xaml"
                this.textBoxEndingPegs.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.textBoxesInput_PreviewTextInput);

            #line default
            #line hidden

            #line 86 "..\..\..\MainWindow.xaml"
                this.textBoxEndingPegs.LostFocus += new System.Windows.RoutedEventHandler(this.textBoxes_LostFocus);

            #line default
            #line hidden

            #line 86 "..\..\..\MainWindow.xaml"
                this.textBoxEndingPegs.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBoxes_KeyDown);

            #line default
            #line hidden
                return;

            case 31:
                this.textBlockStartingPegs = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 32:
                this.textBoxDisksUse = ((System.Windows.Controls.TextBox)(target));

            #line 88 "..\..\..\MainWindow.xaml"
                this.textBoxDisksUse.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.textBoxesInput_PreviewTextInput);

            #line default
            #line hidden

            #line 88 "..\..\..\MainWindow.xaml"
                this.textBoxDisksUse.LostFocus += new System.Windows.RoutedEventHandler(this.textBoxes_LostFocus);

            #line default
            #line hidden

            #line 88 "..\..\..\MainWindow.xaml"
                this.textBoxDisksUse.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBoxes_KeyDown);

            #line default
            #line hidden
                return;

            case 33:
                this.textBlockDisksUse = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 34:
                this.border1 = ((System.Windows.Controls.Border)(target));
                return;

            case 35:
                this.border2 = ((System.Windows.Controls.Border)(target));
                return;

            case 36:
                this.groupBoxGraph = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 37:
                this.chartPlotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 38:
                this.xAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.Axes.HorizontalIntegerAxis)(target));
                return;

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

            case 40:
                this.groupBoxInfo = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 41:
                this.textBlockAbout = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #8
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.chartPlotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
     return;
     case 2:
     this.dateAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.Axes.HorizontalIntegerAxis)(target));
     return;
     case 3:
     this.countAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.Axes.VerticalIntegerAxis)(target));
     return;
     case 4:
     
     #line 22 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_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;
 }