Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((Prototype_05.InstanceStepProtocol)(target));
                return;

            case 2:
                this.MainGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 4:
                this.HistoryDataGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

            case 8:
                this.ParameterTitleText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.Parameter1Text = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.ValueTitleText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.Value1Text = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((Prototype_05.InstancePropertyPanel)(target));
                return;

            case 2:
                this.MainGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.CategoryGrid = ((System.Windows.Controls.Grid)(target));

            #line 27 "..\..\..\..\Panels\InstancePropertyPanel.xaml"
                this.CategoryGrid.PreviewTouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.NavigationTouchDown);

            #line default
            #line hidden

            #line 27 "..\..\..\..\Panels\InstancePropertyPanel.xaml"
                this.CategoryGrid.PreviewTouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.NavigationTouchMove);

            #line default
            #line hidden

            #line 27 "..\..\..\..\Panels\InstancePropertyPanel.xaml"
                this.CategoryGrid.PreviewTouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.NavigationTouchUp);

            #line default
            #line hidden
                return;

            case 4:
                this.Category0Rect = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            case 6:
                this.BackgroundPathBottomLeftCorner = ((System.Windows.Media.LineSegment)(target));
                return;

            case 7:
                this.BackgroundPathBottomRightCorner = ((System.Windows.Media.LineSegment)(target));
                return;

            case 8:
                this.HeaderGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.TitleHeader = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.DataGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:
                this.Data_InfoGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:
                this.ModelButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));

            #line 123 "..\..\..\..\Panels\InstancePropertyPanel.xaml"
                this.ModelButton.Click += new System.Windows.RoutedEventHandler(this.BoundModelClicked);

            #line default
            #line hidden
                return;

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

            case 14:
                this.StateText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.IdText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.StartTimeText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.EndTimeText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.CurrentStep_Data_Button = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));

            #line 137 "..\..\..\..\Panels\InstancePropertyPanel.xaml"
                this.CurrentStep_Data_Button.Click += new System.Windows.RoutedEventHandler(this.CurrentStepClicked);

            #line default
            #line hidden
                return;

            case 19:
                this.CStepText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.ParameterTitle1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.ParameterTitle2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.ParameterTitle3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.ParameterValue1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.ParameterValue2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.ParameterValue3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 26:

            #line 154 "..\..\..\..\Panels\InstancePropertyPanel.xaml"
                ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.DataExpandReduceClick);

            #line default
            #line hidden
                return;

            case 27:
                this.Data_TopArrow = ((System.Windows.Shapes.Path)(target));
                return;

            case 28:
                this.Data_BottomArrow = ((System.Windows.Shapes.Path)(target));
                return;

            case 29:
                this.HistoryGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 30:

            #line 208 "..\..\..\..\Panels\InstancePropertyPanel.xaml"
                ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.HistoryExpandReduceClick);

            #line default
            #line hidden
                return;

            case 31:
                this.History_TopArrow = ((System.Windows.Shapes.Path)(target));
                return;

            case 32:
                this.History_BottomArrow = ((System.Windows.Shapes.Path)(target));
                return;

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

            case 34:
                this.CurrentStep_Protocol_Button = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));

            #line 269 "..\..\..\..\Panels\InstancePropertyPanel.xaml"
                this.CurrentStep_Protocol_Button.Click += new System.Windows.RoutedEventHandler(this.CurrentStepClicked);

            #line default
            #line hidden
                return;

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

            case 36:
                this.NextStep_Protocol_Button = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));

            #line 273 "..\..\..\..\Panels\InstancePropertyPanel.xaml"
                this.NextStep_Protocol_Button.Click += new System.Windows.RoutedEventHandler(this.NextStepClicked);

            #line default
            #line hidden
                return;

            case 37:
                this.NStepText_P = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 39:
                this.ISP0 = ((Prototype_05.InstanceStepProtocol)(target));
                return;

            case 40:
                this.ISP1 = ((Prototype_05.InstanceStepProtocol)(target));
                return;

            case 41:
                this.ISP2 = ((Prototype_05.InstanceStepProtocol)(target));
                return;

            case 42:
                this.ISP3 = ((Prototype_05.InstanceStepProtocol)(target));
                return;

            case 43:
                this.ScaleGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 44:
                this.ModelGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 45:
                this.Model_ExpandReduceButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));

            #line 327 "..\..\..\..\Panels\InstancePropertyPanel.xaml"
                this.Model_ExpandReduceButton.Click += new System.Windows.RoutedEventHandler(this.ModelExpandReduceClick);

            #line default
            #line hidden
                return;

            case 46:
                this.Model_TopArrow = ((System.Windows.Shapes.Path)(target));
                return;

            case 47:
                this.Model_BottomArrow = ((System.Windows.Shapes.Path)(target));
                return;

            case 48:
                this.Model_InfoGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 49:
                this.ImageRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 50:
                this.ImageColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

            case 52:
                this.ModelNameText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 53:
                this.ScaleButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));

            #line 409 "..\..\..\..\Panels\InstancePropertyPanel.xaml"
                this.ScaleButton.PreviewTouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.ScaleButtonMoved);

            #line default
            #line hidden

            #line 409 "..\..\..\..\Panels\InstancePropertyPanel.xaml"
                this.ScaleButton.PreviewTouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.ScaleButtonDown);

            #line default
            #line hidden

            #line 409 "..\..\..\..\Panels\InstancePropertyPanel.xaml"
                this.ScaleButton.PreviewTouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.ScaleButtonUp);

            #line default
            #line hidden
                return;

            case 54:
                this.ScaleButton_Grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 55:
                this.ScaleArea = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 56:
                this.ScaleText = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 58:
                this.ScaleTwoWayImg = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }