Пример #1
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;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 26 "..\..\..\Pages\AnalysePage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_SelectData);

            #line default
            #line hidden
                return;

            case 2:

            #line 31 "..\..\..\Pages\AnalysePage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click1);

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:
                this.rongjie = ((System.Windows.Controls.RadioButton)(target));

            #line 59 "..\..\..\Pages\AnalysePage.xaml"
                this.rongjie.Checked += new System.Windows.RoutedEventHandler(this.OnCheckedEnlarge);

            #line default
            #line hidden
                return;

            case 5:

            #line 60 "..\..\..\Pages\AnalysePage.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 6:

            #line 61 "..\..\..\Pages\AnalysePage.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked_1);

            #line default
            #line hidden
                return;

            case 7:
                this.pcrplotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

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

            case 9:

            #line 85 "..\..\..\Pages\AnalysePage.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.catrigeButton_Checked_1);

            #line default
            #line hidden
                return;

            case 10:

            #line 86 "..\..\..\Pages\AnalysePage.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.catrigeButton_Checked_2);

            #line default
            #line hidden
                return;

            case 11:

            #line 87 "..\..\..\Pages\AnalysePage.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.catrigeButton_Checked_3);

            #line default
            #line hidden
                return;

            case 12:

            #line 88 "..\..\..\Pages\AnalysePage.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.catrigeButton_Checked_4);

            #line default
            #line hidden
                return;

            case 13:

            #line 89 "..\..\..\Pages\AnalysePage.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.catrigeButton_Checked_5);

            #line default
            #line hidden
                return;

            case 14:

            #line 90 "..\..\..\Pages\AnalysePage.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.catrigeButton_Checked_6);

            #line default
            #line hidden
                return;

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

            case 16:
                this.dateAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.Axes.HorizontalIntegerAxis)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #3
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;
 }
Пример #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.rongjie = ((System.Windows.Controls.RadioButton)(target));

            #line 41 "..\..\..\Pages\Page1.xaml"
                this.rongjie.Checked += new System.Windows.RoutedEventHandler(this.OnCheckedEnlarge);

            #line default
            #line hidden
                return;

            case 2:

            #line 42 "..\..\..\Pages\Page1.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 3:

            #line 43 "..\..\..\Pages\Page1.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked_1);

            #line default
            #line hidden
                return;

            case 4:

            #line 46 "..\..\..\Pages\Page1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_SelectData);

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

            #line 62 "..\..\..\Pages\Page1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_ClickOpen);

            #line default
            #line hidden
                return;

            case 8:
                this.pcrplotter0 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

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

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

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

            case 12:
                this.pcrplotter1 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

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

            case 14:

            #line 193 "..\..\..\Pages\Page1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_ClickOpen1);

            #line default
            #line hidden
                return;

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

            case 16:
                this.chan1haocaiID = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:

            #line 204 "..\..\..\Pages\Page1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_ClickOpen2);

            #line default
            #line hidden
                return;

            case 18:
                this.chan2patientID = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.chan2haocaiID = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:

            #line 215 "..\..\..\Pages\Page1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_ClickOpen3);

            #line default
            #line hidden
                return;

            case 21:
                this.chan3patientID = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 22:
                this.chan3haocaiID = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 23:
                this.pcrplotter3 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

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

            case 25:
                this.pcrplotter4 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

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

            case 27:
                this.pcrplotter5 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

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

            case 29:

            #line 353 "..\..\..\Pages\Page1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_ClickOpen4);

            #line default
            #line hidden
                return;

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

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

            case 32:

            #line 364 "..\..\..\Pages\Page1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_ClickOpen1);

            #line default
            #line hidden
                return;

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

            case 34:
                this.chan5haocaiID = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 35:

            #line 375 "..\..\..\Pages\Page1.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_ClickOpen1);

            #line default
            #line hidden
                return;

            case 36:
                this.chan6patientID = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 37:
                this.chan6haocaiID = ((System.Windows.Controls.TextBlock)(target));
                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;
        }
Пример #6
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;
 }
Пример #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\Pages\MainPage.xaml"
                ((HelixGen.Pages.MainPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.tbHeaterTemperature = ((System.Windows.Controls.TextBox)(target));

            #line 130 "..\..\..\Pages\MainPage.xaml"
                this.tbHeaterTemperature.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbHeaterTemperature_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 139 "..\..\..\Pages\MainPage.xaml"
                this.tbSetHeaterTemperature.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbSetHeaterTemperature_TextChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.tbPCRTemperature = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 7:

            #line 206 "..\..\..\Pages\MainPage.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

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

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

            case 10:

            #line 267 "..\..\..\Pages\MainPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoToOptics_Button_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 268 "..\..\..\Pages\MainPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoToOptics_Button_Click1);

            #line default
            #line hidden
                return;

            case 12:
                this.StatusWnd = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.pcrplotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

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

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

            case 16:
                this.dateAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.Axes.HorizontalIntegerAxis)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.btnClosed = ((System.Windows.Controls.Button)(target));
     
     #line 17 "..\..\..\..\MyUserControl\TrainRecordDialog.xaml"
     this.btnClosed.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.btnClosed_PreviewMouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.plotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
     
     #line 27 "..\..\..\..\MyUserControl\TrainRecordDialog.xaml"
     this.plotter.Loaded += new System.Windows.RoutedEventHandler(this.plotter_Loaded);
     
     #line default
     #line hidden
     return;
     case 3:
     this.axis = ((Microsoft.Research.DynamicDataDisplay.Charts.Axes.HorizontalIntegerAxis)(target));
     return;
     case 4:
     this.innerPlotter = ((Microsoft.Research.DynamicDataDisplay.InjectedPlotter)(target));
     return;
     case 5:
     this.plotter2 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
     return;
     case 6:
     this.xAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.Axes.IntegerAxis)(target));
     return;
     case 7:
     this.barChart = ((Microsoft.Research.DynamicDataDisplay.Charts.ClusteredBarChart)(target));
     return;
     }
     this._contentLoaded = true;
 }