Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Main = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.BorderOne = ((System.Windows.Controls.Border)(target));
                return;

            case 3:
                this.LtbMass = ((mainWindow.LabelTextBox)(target));
                return;

            case 4:
                this.LtbCy = ((mainWindow.LabelTextBox)(target));
                return;

            case 5:
                this.LtbPs = ((mainWindow.LabelTextBox)(target));
                return;

            case 6:
                this.LtbSquare = ((mainWindow.LabelTextBox)(target));
                return;

            case 7:
                this.LtbM = ((mainWindow.LabelTextBox)(target));
                return;

            case 8:
                this.LtbBa = ((mainWindow.LabelTextBox)(target));
                return;

            case 9:
                this.LtbNMax = ((mainWindow.LabelTextBox)(target));
                return;

            case 10:
                this.LtbTime = ((mainWindow.LabelTextBox)(target));
                return;

            case 11:
                this.LtbL = ((mainWindow.LabelTextBox)(target));
                return;

            case 12:
                this.LtbHeight = ((mainWindow.LabelTextBox)(target));
                return;

            case 13:
                this.LtbVelocity = ((mainWindow.LabelTextBox)(target));
                return;

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

            case 15:
                this.CalcXiMu = ((System.Windows.Controls.Button)(target));
                return;

            case 16:
                this.LtbMu = ((mainWindow.LabelTextBox)(target));
                return;

            case 17:
                this.LtbXi = ((mainWindow.LabelTextBox)(target));
                return;

            case 18:
                this.LtbKDash = ((mainWindow.LabelTextBox)(target));
                return;

            case 19:
                this.Step3Label = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.LtbYAlpha = ((mainWindow.LabelTextBox)(target));
                return;

            case 21:
                this.LtbBetha = ((mainWindow.LabelTextBox)(target));
                return;

            case 22:
                this.LtbG = ((mainWindow.LabelTextBox)(target));
                return;

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

            case 24:
                this.LtbK = ((mainWindow.LabelTextBox)(target));
                return;

            case 25:
                this.Step4Label = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.CalcB = ((System.Windows.Controls.Button)(target));
                return;

            case 27:
                this.LtbB = ((mainWindow.LabelTextBox)(target));
                return;

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

            case 29:
                this.CalcLambdaZero = ((System.Windows.Controls.Button)(target));
                return;

            case 30:
                this.CalcLambdas = ((System.Windows.Controls.Button)(target));
                return;

            case 31:
                this.CalcPQ = ((System.Windows.Controls.Button)(target));
                return;

            case 32:
                this.DataGridsHolder = ((System.Windows.Controls.Grid)(target));
                return;

            case 33:
                this.dataGridMass = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 34:
                this.dataGridSpeed = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 35:
                this.Plot1 = ((OxyPlot.Wpf.PlotView)(target));
                return;

            case 36:
                this.Task = ((System.Windows.Controls.TabItem)(target));
                return;

            case 37:
                this.TaskDocumentViewer = ((System.Windows.Controls.DocumentViewer)(target));
                return;

            case 38:
                this.TheoryDocumentViewer = ((System.Windows.Controls.DocumentViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Main = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.BorderOne = ((System.Windows.Controls.Border)(target));
     return;
     case 3:
     this.LtbMass = ((mainWindow.LabelTextBox)(target));
     return;
     case 4:
     this.LtbCy = ((mainWindow.LabelTextBox)(target));
     return;
     case 5:
     this.LtbPs = ((mainWindow.LabelTextBox)(target));
     return;
     case 6:
     this.LtbSquare = ((mainWindow.LabelTextBox)(target));
     return;
     case 7:
     this.LtbM = ((mainWindow.LabelTextBox)(target));
     return;
     case 8:
     this.LtbBa = ((mainWindow.LabelTextBox)(target));
     return;
     case 9:
     this.LtbNMax = ((mainWindow.LabelTextBox)(target));
     return;
     case 10:
     this.LtbTime = ((mainWindow.LabelTextBox)(target));
     return;
     case 11:
     this.LtbL = ((mainWindow.LabelTextBox)(target));
     return;
     case 12:
     this.LtbHeight = ((mainWindow.LabelTextBox)(target));
     return;
     case 13:
     this.LtbVelocity = ((mainWindow.LabelTextBox)(target));
     return;
     case 14:
     this.Step2Label = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.CalcXiMu = ((System.Windows.Controls.Button)(target));
     return;
     case 16:
     this.LtbMu = ((mainWindow.LabelTextBox)(target));
     return;
     case 17:
     this.LtbXi = ((mainWindow.LabelTextBox)(target));
     return;
     case 18:
     this.LtbKDash = ((mainWindow.LabelTextBox)(target));
     return;
     case 19:
     this.Step3Label = ((System.Windows.Controls.Label)(target));
     return;
     case 20:
     this.LtbYAlpha = ((mainWindow.LabelTextBox)(target));
     return;
     case 21:
     this.LtbBetha = ((mainWindow.LabelTextBox)(target));
     return;
     case 22:
     this.LtbG = ((mainWindow.LabelTextBox)(target));
     return;
     case 23:
     this.CalcK = ((System.Windows.Controls.Button)(target));
     return;
     case 24:
     this.LtbK = ((mainWindow.LabelTextBox)(target));
     return;
     case 25:
     this.Step4Label = ((System.Windows.Controls.Label)(target));
     return;
     case 26:
     this.CalcB = ((System.Windows.Controls.Button)(target));
     return;
     case 27:
     this.LtbB = ((mainWindow.LabelTextBox)(target));
     return;
     case 28:
     this.Label = ((System.Windows.Controls.Label)(target));
     return;
     case 29:
     this.CalcLambdaZero = ((System.Windows.Controls.Button)(target));
     return;
     case 30:
     this.CalcLambdas = ((System.Windows.Controls.Button)(target));
     return;
     case 31:
     this.CalcPQ = ((System.Windows.Controls.Button)(target));
     return;
     case 32:
     this.DataGridsHolder = ((System.Windows.Controls.Grid)(target));
     return;
     case 33:
     this.dataGridMass = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 34:
     this.dataGridSpeed = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 35:
     this.Plot1 = ((OxyPlot.Wpf.PlotView)(target));
     return;
     case 36:
     this.Task = ((System.Windows.Controls.TabItem)(target));
     return;
     case 37:
     this.TaskDocumentViewer = ((System.Windows.Controls.DocumentViewer)(target));
     return;
     case 38:
     this.TheoryDocumentViewer = ((System.Windows.Controls.DocumentViewer)(target));
     return;
     }
     this._contentLoaded = true;
 }