コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.labelShellSideEntranceNozzleDiameter = new ProsimoUI.ProcessVarLabel();
     this.labelTubeSideEntranceNozzleDiameter  = new ProsimoUI.ProcessVarLabel();
     this.labelTubeSideExitNozzleDiameter      = new ProsimoUI.ProcessVarLabel();
     this.labelShellSideExitNozzleDiameter     = new ProsimoUI.ProcessVarLabel();
     this.SuspendLayout();
     //
     // labelShellSideEntranceNozzleDiameter
     //
     this.labelShellSideEntranceNozzleDiameter.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelShellSideEntranceNozzleDiameter.Location    = new System.Drawing.Point(0, 40);
     this.labelShellSideEntranceNozzleDiameter.Name        = "labelShellSideEntranceNozzleDiameter";
     this.labelShellSideEntranceNozzleDiameter.Size        = new System.Drawing.Size(292, 20);
     this.labelShellSideEntranceNozzleDiameter.TabIndex    = 26;
     this.labelShellSideEntranceNozzleDiameter.Text        = "ShellSideEntranceNozzleDiameter";
     this.labelShellSideEntranceNozzleDiameter.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelTubeSideEntranceNozzleDiameter
     //
     this.labelTubeSideEntranceNozzleDiameter.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelTubeSideEntranceNozzleDiameter.Location    = new System.Drawing.Point(0, 0);
     this.labelTubeSideEntranceNozzleDiameter.Name        = "labelTubeSideEntranceNozzleDiameter";
     this.labelTubeSideEntranceNozzleDiameter.Size        = new System.Drawing.Size(292, 20);
     this.labelTubeSideEntranceNozzleDiameter.TabIndex    = 25;
     this.labelTubeSideEntranceNozzleDiameter.Text        = "TubeSideEntranceNozzleDiameter";
     this.labelTubeSideEntranceNozzleDiameter.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelTubeSideExitNozzleDiameter
     //
     this.labelTubeSideExitNozzleDiameter.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelTubeSideExitNozzleDiameter.Location    = new System.Drawing.Point(0, 20);
     this.labelTubeSideExitNozzleDiameter.Name        = "labelTubeSideExitNozzleDiameter";
     this.labelTubeSideExitNozzleDiameter.Size        = new System.Drawing.Size(292, 20);
     this.labelTubeSideExitNozzleDiameter.TabIndex    = 27;
     this.labelTubeSideExitNozzleDiameter.Text        = "TubeSideExitNozzleDiameter";
     this.labelTubeSideExitNozzleDiameter.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelShellSideExitNozzleDiameter
     //
     this.labelShellSideExitNozzleDiameter.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelShellSideExitNozzleDiameter.Location    = new System.Drawing.Point(0, 60);
     this.labelShellSideExitNozzleDiameter.Name        = "labelShellSideExitNozzleDiameter";
     this.labelShellSideExitNozzleDiameter.Size        = new System.Drawing.Size(292, 20);
     this.labelShellSideExitNozzleDiameter.TabIndex    = 28;
     this.labelShellSideExitNozzleDiameter.Text        = "ShellSideExitNozzleDiameter";
     this.labelShellSideExitNozzleDiameter.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // HXRating3LabelsControl
     //
     this.Controls.Add(this.labelShellSideExitNozzleDiameter);
     this.Controls.Add(this.labelTubeSideExitNozzleDiameter);
     this.Controls.Add(this.labelShellSideEntranceNozzleDiameter);
     this.Controls.Add(this.labelTubeSideEntranceNozzleDiameter);
     this.Name = "HXRating3LabelsControl";
     this.Size = new System.Drawing.Size(292, 80);
     this.ResumeLayout(false);
 }
コード例 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.labelOutletWidth            = new ProsimoUI.ProcessVarLabel();
     this.labelOutletHeight           = new ProsimoUI.ProcessVarLabel();
     this.labelOutletHeightWidthRatio = new ProsimoUI.ProcessVarLabel();
     this.SuspendLayout();
     //
     // labelOutletWidth
     //
     this.labelOutletWidth.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelOutletWidth.Location    = new System.Drawing.Point(0, 0);
     this.labelOutletWidth.Name        = "labelOutletWidth";
     this.labelOutletWidth.Size        = new System.Drawing.Size(192, 20);
     this.labelOutletWidth.TabIndex    = 92;
     this.labelOutletWidth.Text        = "OutletWidth";
     this.labelOutletWidth.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelOutletHeight
     //
     this.labelOutletHeight.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelOutletHeight.Location    = new System.Drawing.Point(0, 20);
     this.labelOutletHeight.Name        = "labelOutletHeight";
     this.labelOutletHeight.Size        = new System.Drawing.Size(192, 20);
     this.labelOutletHeight.TabIndex    = 94;
     this.labelOutletHeight.Text        = "OutletHeight";
     this.labelOutletHeight.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelOutletHeightWidthRatio
     //
     this.labelOutletHeightWidthRatio.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelOutletHeightWidthRatio.Location    = new System.Drawing.Point(0, 40);
     this.labelOutletHeightWidthRatio.Name        = "labelOutletHeightWidthRatio";
     this.labelOutletHeightWidthRatio.Size        = new System.Drawing.Size(192, 20);
     this.labelOutletHeightWidthRatio.TabIndex    = 93;
     this.labelOutletHeightWidthRatio.Text        = "OutletHeightWidthRatio";
     this.labelOutletHeightWidthRatio.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // FanRectangularLabelsControl
     //
     this.Controls.Add(this.labelOutletWidth);
     this.Controls.Add(this.labelOutletHeight);
     this.Controls.Add(this.labelOutletHeightWidthRatio);
     this.Name = "FanRectangularLabelsControl";
     this.Size = new System.Drawing.Size(192, 60);
     this.ResumeLayout(false);
 }
コード例 #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.labelOutletDiameter = new ProsimoUI.ProcessVarLabel();
     this.SuspendLayout();
     //
     // labelOutletDiameter
     //
     this.labelOutletDiameter.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelOutletDiameter.Location    = new System.Drawing.Point(0, 0);
     this.labelOutletDiameter.Name        = "labelOutletDiameter";
     this.labelOutletDiameter.Size        = new System.Drawing.Size(192, 20);
     this.labelOutletDiameter.TabIndex    = 92;
     this.labelOutletDiameter.Text        = "OutletDiameter";
     this.labelOutletDiameter.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // FanCircularLabelsControl
     //
     this.Controls.Add(this.labelOutletDiameter);
     this.Name = "FanCircularLabelsControl";
     this.Size = new System.Drawing.Size(192, 20);
     this.ResumeLayout(false);
 }
コード例 #4
0
        public void InitializeVarLabels(ArrayList varList)
        {
            this.varLabels = new ProcessVarLabel[varList.Count];
            this.SuspendLayout();
            ProcessVarLabel varLabel;

            for (int i = 0; i < varLabels.Length; i++)
            {
                varLabel             = new ProcessVarLabel();
                varLabels[i]         = varLabel;
                varLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
                varLabel.Location    = new System.Drawing.Point(0, i * 20);
                //varLabel.Name = "label" + ((ProcessVar)varList[i]).Name;
                varLabel.Size     = new System.Drawing.Size(192, 20);
                varLabel.TabIndex = 100 + i;
                //varLabel.Text = "VOLUME_FLOW_RATE";
                varLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
                varLabel.InitializeVariable((ProcessVar)varList[i]);
                this.Controls.Add(varLabel);
            }
            this.Size = new System.Drawing.Size(192, varLabels.Length * 20);

            this.ResumeLayout(false);
        }
コード例 #5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.labelDensity = new ProsimoUI.ProcessVarLabel();
     this.labelMoistureContentDryBase = new ProsimoUI.ProcessVarLabel();
     this.labelVolumeFlowRate         = new ProsimoUI.ProcessVarLabel();
     this.labelTemperature            = new ProsimoUI.ProcessVarLabel();
     this.labelMassFlowRate           = new ProsimoUI.ProcessVarLabel();
     this.labelPressure               = new ProsimoUI.ProcessVarLabel();
     this.labelSpecificHeat           = new ProsimoUI.ProcessVarLabel();
     this.labelConcentration          = new ProsimoUI.ProcessVarLabel();
     this.labelMassFlowRateDryBase    = new ProsimoUI.ProcessVarLabel();
     this.labelMoistureContentWetBase = new ProsimoUI.ProcessVarLabel();
     this.labelSpecificEnthalpy       = new ProsimoUI.ProcessVarLabel();
     this.labelVaporFraction          = new ProsimoUI.ProcessVarLabel();
     this.labelSpecificHeatDryBase    = new ProsimoUI.ProcessVarLabel();
     this.SuspendLayout();
     //
     // labelSpecificEnthalpy
     //
     this.labelSpecificEnthalpy.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelSpecificEnthalpy.Location    = new System.Drawing.Point(0, 180);
     this.labelSpecificEnthalpy.Name        = "labelSpecificEnthalpy";
     this.labelSpecificEnthalpy.Size        = new System.Drawing.Size(192, 20);
     this.labelSpecificEnthalpy.TabIndex    = 117;
     this.labelSpecificEnthalpy.Text        = "Enthalpy";
     this.labelSpecificEnthalpy.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelDensity
     //
     this.labelDensity.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelDensity.Location    = new System.Drawing.Point(0, 240);
     this.labelDensity.Name        = "labelDensity";
     this.labelDensity.Size        = new System.Drawing.Size(192, 20);
     this.labelDensity.TabIndex    = 114;
     this.labelDensity.Text        = "Density";
     this.labelDensity.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelMoistureContentDryBase
     //
     this.labelMoistureContentDryBase.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelMoistureContentDryBase.Location    = new System.Drawing.Point(0, 140);
     this.labelMoistureContentDryBase.Name        = "labelMoistureContentDryBase";
     this.labelMoistureContentDryBase.Size        = new System.Drawing.Size(192, 20);
     this.labelMoistureContentDryBase.TabIndex    = 109;
     this.labelMoistureContentDryBase.Text        = "MoistureContentDry";
     this.labelMoistureContentDryBase.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelMoistureContentWetBase
     //
     this.labelMoistureContentWetBase.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelMoistureContentWetBase.Location    = new System.Drawing.Point(0, 120);
     this.labelMoistureContentWetBase.Name        = "labelMoistureContentWetBase";
     this.labelMoistureContentWetBase.Size        = new System.Drawing.Size(192, 20);
     this.labelMoistureContentWetBase.TabIndex    = 112;
     this.labelMoistureContentWetBase.Text        = "MoistureContentWet";
     this.labelMoistureContentWetBase.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelVolumeFlowRate
     //
     this.labelVolumeFlowRate.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelVolumeFlowRate.Location    = new System.Drawing.Point(0, 40);
     this.labelVolumeFlowRate.Name        = "labelVolumeFlowRate";
     this.labelVolumeFlowRate.Size        = new System.Drawing.Size(192, 20);
     this.labelVolumeFlowRate.TabIndex    = 108;
     this.labelVolumeFlowRate.Text        = "VolumeFlowRate";
     this.labelVolumeFlowRate.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelTemperature
     //
     this.labelTemperature.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelTemperature.Location    = new System.Drawing.Point(0, 80);
     this.labelTemperature.Name        = "labelTemperature";
     this.labelTemperature.Size        = new System.Drawing.Size(192, 20);
     this.labelTemperature.TabIndex    = 111;
     this.labelTemperature.Text        = "Temperature";
     this.labelTemperature.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelPressure
     //
     this.labelPressure.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelPressure.Location    = new System.Drawing.Point(0, 60);
     this.labelPressure.Name        = "labelPressure";
     this.labelPressure.Size        = new System.Drawing.Size(192, 20);
     this.labelPressure.TabIndex    = 110;
     this.labelPressure.Text        = "Pressure";
     this.labelPressure.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelSpecificHeat
     //
     this.labelSpecificHeat.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelSpecificHeat.Location    = new System.Drawing.Point(0, 200);
     this.labelSpecificHeat.Name        = "labelSpecificHeat";
     this.labelSpecificHeat.Size        = new System.Drawing.Size(192, 20);
     this.labelSpecificHeat.TabIndex    = 115;
     this.labelSpecificHeat.Text        = "SpecificHeat";
     this.labelSpecificHeat.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelSpecificHeatDryBase
     //
     this.labelSpecificHeatDryBase.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelSpecificHeatDryBase.Location    = new System.Drawing.Point(0, 220);
     this.labelSpecificHeatDryBase.Name        = "labelSpecificHeatDryBase";
     this.labelSpecificHeatDryBase.Size        = new System.Drawing.Size(192, 20);
     this.labelSpecificHeatDryBase.TabIndex    = 116;
     this.labelSpecificHeatDryBase.Text        = "SpecificHeatDryBase";
     this.labelSpecificHeatDryBase.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelConcentration
     //
     this.labelConcentration.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelConcentration.Location    = new System.Drawing.Point(0, 160);
     this.labelConcentration.Name        = "labelConcentration";
     this.labelConcentration.Size        = new System.Drawing.Size(192, 20);
     this.labelConcentration.TabIndex    = 113;
     this.labelConcentration.Text        = "Concentration";
     this.labelConcentration.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelMassFlowRateDryBase
     //
     this.labelMassFlowRateDryBase.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelMassFlowRateDryBase.Location    = new System.Drawing.Point(0, 20);
     this.labelMassFlowRateDryBase.Name        = "labelMassFlowRateDryBase";
     this.labelMassFlowRateDryBase.Size        = new System.Drawing.Size(192, 20);
     this.labelMassFlowRateDryBase.TabIndex    = 118;
     this.labelMassFlowRateDryBase.Text        = "MassFlowRateDry";
     this.labelMassFlowRateDryBase.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelMassFlowRate
     //
     this.labelMassFlowRate.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelMassFlowRate.Location    = new System.Drawing.Point(0, 0);
     this.labelMassFlowRate.Name        = "labelMassFlowRate";
     this.labelMassFlowRate.Size        = new System.Drawing.Size(192, 20);
     this.labelMassFlowRate.TabIndex    = 106;
     this.labelMassFlowRate.Text        = "MassFlowRateWet";
     this.labelMassFlowRate.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelVaporFraction
     //
     this.labelVaporFraction.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelVaporFraction.Location    = new System.Drawing.Point(0, 100);
     this.labelVaporFraction.Name        = "labelVaporFraction";
     this.labelVaporFraction.Size        = new System.Drawing.Size(192, 20);
     this.labelVaporFraction.TabIndex    = 119;
     this.labelVaporFraction.Text        = "VaporFraction";
     this.labelVaporFraction.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // MaterialStreamLabelsControl
     //
     this.Controls.Add(this.labelVaporFraction);
     this.Controls.Add(this.labelSpecificEnthalpy);
     this.Controls.Add(this.labelDensity);
     this.Controls.Add(this.labelMoistureContentDryBase);
     this.Controls.Add(this.labelVolumeFlowRate);
     this.Controls.Add(this.labelTemperature);
     this.Controls.Add(this.labelMassFlowRate);
     this.Controls.Add(this.labelPressure);
     this.Controls.Add(this.labelSpecificHeat);
     this.Controls.Add(this.labelSpecificHeatDryBase);
     this.Controls.Add(this.labelConcentration);
     this.Controls.Add(this.labelMassFlowRateDryBase);
     this.Controls.Add(this.labelMoistureContentWetBase);
     this.Name = "MaterialStreamLabelsControl";
     this.Size = new System.Drawing.Size(192, 260);
     this.ResumeLayout(false);
 }
コード例 #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.labelChannelWidth              = new ProsimoUI.ProcessVarLabel();
     this.labelEnlargementFactor         = new ProsimoUI.ProcessVarLabel();
     this.labelProjectedChannelLength    = new ProsimoUI.ProcessVarLabel();
     this.labelNumberOfPlates            = new ProsimoUI.ProcessVarLabel();
     this.labelHotSidePasses             = new ProsimoUI.ProcessVarLabel();
     this.labelPortDiameter              = new ProsimoUI.ProcessVarLabel();
     this.labelHorizontalPortDistance    = new ProsimoUI.ProcessVarLabel();
     this.labelVerticalPortDistance      = new ProsimoUI.ProcessVarLabel();
     this.labelCompressedPlatePakcLength = new ProsimoUI.ProcessVarLabel();
     this.labelColdSidePasses            = new ProsimoUI.ProcessVarLabel();
     this.labelPlatePitch = new ProsimoUI.ProcessVarLabel();
     this.labelActualEffectivePlateArea = new ProsimoUI.ProcessVarLabel();
     this.labelProjectedPlateArea       = new ProsimoUI.ProcessVarLabel();
     this.labelPlateWallThickness       = new ProsimoUI.ProcessVarLabel();
     this.SuspendLayout();
     //
     // labelChannelWidth
     //
     this.labelChannelWidth.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelChannelWidth.Location    = new System.Drawing.Point(0, 0);
     this.labelChannelWidth.Name        = "labelChannelWidth";
     this.labelChannelWidth.Size        = new System.Drawing.Size(292, 20);
     this.labelChannelWidth.TabIndex    = 22;
     this.labelChannelWidth.Text        = "ChannelWidth";
     this.labelChannelWidth.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelEnlargementFactor
     //
     this.labelEnlargementFactor.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelEnlargementFactor.Location    = new System.Drawing.Point(0, 40);
     this.labelEnlargementFactor.Name        = "labelEnlargementFactor";
     this.labelEnlargementFactor.Size        = new System.Drawing.Size(292, 20);
     this.labelEnlargementFactor.TabIndex    = 23;
     this.labelEnlargementFactor.Text        = "EnlargementFactor";
     this.labelEnlargementFactor.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelProjectedChannelLength
     //
     this.labelProjectedChannelLength.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelProjectedChannelLength.Location    = new System.Drawing.Point(0, 20);
     this.labelProjectedChannelLength.Name        = "labelProjectedChannelLength";
     this.labelProjectedChannelLength.Size        = new System.Drawing.Size(292, 20);
     this.labelProjectedChannelLength.TabIndex    = 24;
     this.labelProjectedChannelLength.Text        = "ProjectedChannelLength";
     this.labelProjectedChannelLength.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelNumberOfPlates
     //
     this.labelNumberOfPlates.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelNumberOfPlates.Location    = new System.Drawing.Point(0, 140);
     this.labelNumberOfPlates.Name        = "labelNumberOfPlates";
     this.labelNumberOfPlates.Size        = new System.Drawing.Size(292, 20);
     this.labelNumberOfPlates.TabIndex    = 25;
     this.labelNumberOfPlates.Text        = "NumberOfPlates";
     this.labelNumberOfPlates.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelHotSidePasses
     //
     this.labelHotSidePasses.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelHotSidePasses.Location    = new System.Drawing.Point(0, 180);
     this.labelHotSidePasses.Name        = "labelHotSidePasses";
     this.labelHotSidePasses.Size        = new System.Drawing.Size(292, 20);
     this.labelHotSidePasses.TabIndex    = 26;
     this.labelHotSidePasses.Text        = "HotSidePasses";
     this.labelHotSidePasses.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelPortDiameter
     //
     this.labelPortDiameter.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelPortDiameter.Location    = new System.Drawing.Point(0, 200);
     this.labelPortDiameter.Name        = "labelPortDiameter";
     this.labelPortDiameter.Size        = new System.Drawing.Size(292, 20);
     this.labelPortDiameter.TabIndex    = 27;
     this.labelPortDiameter.Text        = "PortDiameter";
     this.labelPortDiameter.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelHorizontalPortDistance
     //
     this.labelHorizontalPortDistance.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelHorizontalPortDistance.Location    = new System.Drawing.Point(0, 220);
     this.labelHorizontalPortDistance.Name        = "labelHorizontalPortDistance";
     this.labelHorizontalPortDistance.Size        = new System.Drawing.Size(292, 20);
     this.labelHorizontalPortDistance.TabIndex    = 28;
     this.labelHorizontalPortDistance.Text        = "HorizontalPortDistance";
     this.labelHorizontalPortDistance.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelVerticalPortDistance
     //
     this.labelVerticalPortDistance.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelVerticalPortDistance.Location    = new System.Drawing.Point(0, 240);
     this.labelVerticalPortDistance.Name        = "labelVerticalPortDistance";
     this.labelVerticalPortDistance.Size        = new System.Drawing.Size(292, 20);
     this.labelVerticalPortDistance.TabIndex    = 29;
     this.labelVerticalPortDistance.Text        = "VerticalPortDistance";
     this.labelVerticalPortDistance.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelCompressedPlatePakcLength
     //
     this.labelCompressedPlatePakcLength.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelCompressedPlatePakcLength.Location    = new System.Drawing.Point(0, 260);
     this.labelCompressedPlatePakcLength.Name        = "labelCompressedPlatePakcLength";
     this.labelCompressedPlatePakcLength.Size        = new System.Drawing.Size(292, 20);
     this.labelCompressedPlatePakcLength.TabIndex    = 30;
     this.labelCompressedPlatePakcLength.Text        = "CompressedPlatePakcLength";
     this.labelCompressedPlatePakcLength.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelColdSidePasses
     //
     this.labelColdSidePasses.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelColdSidePasses.Location    = new System.Drawing.Point(0, 160);
     this.labelColdSidePasses.Name        = "labelColdSidePasses";
     this.labelColdSidePasses.Size        = new System.Drawing.Size(292, 20);
     this.labelColdSidePasses.TabIndex    = 31;
     this.labelColdSidePasses.Text        = "ColdSidePasses";
     this.labelColdSidePasses.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelPlatePitch
     //
     this.labelPlatePitch.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelPlatePitch.Location    = new System.Drawing.Point(0, 120);
     this.labelPlatePitch.Name        = "labelPlatePitch";
     this.labelPlatePitch.Size        = new System.Drawing.Size(292, 20);
     this.labelPlatePitch.TabIndex    = 32;
     this.labelPlatePitch.Text        = "PlatePitch";
     this.labelPlatePitch.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelActualEffectivePlateArea
     //
     this.labelActualEffectivePlateArea.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelActualEffectivePlateArea.Location    = new System.Drawing.Point(0, 80);
     this.labelActualEffectivePlateArea.Name        = "labelActualEffectivePlateArea";
     this.labelActualEffectivePlateArea.Size        = new System.Drawing.Size(292, 20);
     this.labelActualEffectivePlateArea.TabIndex    = 33;
     this.labelActualEffectivePlateArea.Text        = "ActualEffectivePlateArea";
     this.labelActualEffectivePlateArea.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelProjectedPlateArea
     //
     this.labelProjectedPlateArea.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelProjectedPlateArea.Location    = new System.Drawing.Point(0, 60);
     this.labelProjectedPlateArea.Name        = "labelProjectedPlateArea";
     this.labelProjectedPlateArea.Size        = new System.Drawing.Size(292, 20);
     this.labelProjectedPlateArea.TabIndex    = 34;
     this.labelProjectedPlateArea.Text        = "ProjectedPlateArea";
     this.labelProjectedPlateArea.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelPlateWallThickness
     //
     this.labelPlateWallThickness.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelPlateWallThickness.Location    = new System.Drawing.Point(0, 100);
     this.labelPlateWallThickness.Name        = "labelPlateWallThickness";
     this.labelPlateWallThickness.Size        = new System.Drawing.Size(292, 20);
     this.labelPlateWallThickness.TabIndex    = 35;
     this.labelPlateWallThickness.Text        = "PlateWallThickness";
     this.labelPlateWallThickness.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // HXRatingPlateAndFrameLabelsControl
     //
     this.Controls.Add(this.labelPlateWallThickness);
     this.Controls.Add(this.labelProjectedPlateArea);
     this.Controls.Add(this.labelActualEffectivePlateArea);
     this.Controls.Add(this.labelPlatePitch);
     this.Controls.Add(this.labelColdSidePasses);
     this.Controls.Add(this.labelCompressedPlatePakcLength);
     this.Controls.Add(this.labelVerticalPortDistance);
     this.Controls.Add(this.labelHorizontalPortDistance);
     this.Controls.Add(this.labelPortDiameter);
     this.Controls.Add(this.labelHotSidePasses);
     this.Controls.Add(this.labelNumberOfPlates);
     this.Controls.Add(this.labelProjectedChannelLength);
     this.Controls.Add(this.labelEnlargementFactor);
     this.Controls.Add(this.labelChannelWidth);
     this.Name = "HXRatingPlateAndFrameLabelsControl";
     this.Size = new System.Drawing.Size(292, 280);
     this.ResumeLayout(false);
 }
コード例 #7
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.labelName               = new ProsimoUI.ProcessVarLabel();
     this.textBoxExistingValue    = new ProsimoUI.ProcessVarNonEditableTextBox();
     this.textBoxRecommendedValue = new System.Windows.Forms.TextBox();
     this.textBoxNewValue         = new System.Windows.Forms.TextBox();
     this.SuspendLayout();
     //
     // labelName
     //
     this.labelName.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelName.Location    = new System.Drawing.Point(0, 0);
     this.labelName.Name        = "labelName";
     this.labelName.Size        = new System.Drawing.Size(192, 20);
     this.labelName.TabIndex    = 18;
     this.labelName.Text        = "ProcVar Name";
     this.labelName.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // textBoxExistingValue
     //
     this.textBoxExistingValue.BackColor = System.Drawing.SystemColors.Control;
     this.textBoxExistingValue.Location  = new System.Drawing.Point(192, 0);
     this.textBoxExistingValue.Name      = "textBoxExistingValue";
     this.textBoxExistingValue.ReadOnly  = true;
     this.textBoxExistingValue.Size      = new System.Drawing.Size(90, 20);
     this.textBoxExistingValue.TabIndex  = 19;
     this.textBoxExistingValue.TabStop   = false;
     this.textBoxExistingValue.Text      = "";
     this.textBoxExistingValue.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // textBoxRecommendedValue
     //
     this.textBoxRecommendedValue.BackColor = System.Drawing.SystemColors.Control;
     this.textBoxRecommendedValue.Location  = new System.Drawing.Point(282, 0);
     this.textBoxRecommendedValue.Name      = "textBoxRecommendedValue";
     this.textBoxRecommendedValue.ReadOnly  = true;
     this.textBoxRecommendedValue.Size      = new System.Drawing.Size(90, 20);
     this.textBoxRecommendedValue.TabIndex  = 20;
     this.textBoxRecommendedValue.TabStop   = false;
     this.textBoxRecommendedValue.Text      = "";
     this.textBoxRecommendedValue.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // textBoxNewValue
     //
     this.textBoxNewValue.Location  = new System.Drawing.Point(372, 0);
     this.textBoxNewValue.Name      = "textBoxNewValue";
     this.textBoxNewValue.Size      = new System.Drawing.Size(90, 20);
     this.textBoxNewValue.TabIndex  = 21;
     this.textBoxNewValue.Text      = "";
     this.textBoxNewValue.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // RecommProcVarElementControl
     //
     this.Controls.Add(this.textBoxNewValue);
     this.Controls.Add(this.textBoxRecommendedValue);
     this.Controls.Add(this.textBoxExistingValue);
     this.Controls.Add(this.labelName);
     this.Name = "RecommProcVarElementControl";
     this.Size = new System.Drawing.Size(464, 20);
     this.ResumeLayout(false);
 }
コード例 #8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.labelPressureDrop           = new ProsimoUI.ProcessVarLabel();
     this.labelInletParticleLoading   = new ProsimoUI.ProcessVarLabel();
     this.labelParticleCollectionRate = new ProsimoUI.ProcessVarLabel();
     this.labelCollectionEfficiency   = new ProsimoUI.ProcessVarLabel();
     this.labelGasToClothRatio        = new ProsimoUI.ProcessVarLabel();
     this.labelTotalFilteringArea     = new ProsimoUI.ProcessVarLabel();
     this.labelOutletParticleLoading  = new ProsimoUI.ProcessVarLabel();
     this.labelMassFlowRateOfParticleLostToGasOutlet = new ProsimoUI.ProcessVarLabel();
     this.SuspendLayout();
     //
     // labelPressureDrop
     //
     this.labelPressureDrop.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelPressureDrop.Location    = new System.Drawing.Point(0, 0);
     this.labelPressureDrop.Name        = "labelPressureDrop";
     this.labelPressureDrop.Size        = new System.Drawing.Size(192, 20);
     this.labelPressureDrop.TabIndex    = 96;
     this.labelPressureDrop.Text        = "PressureDrop";
     this.labelPressureDrop.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelInletParticleLoading
     //
     this.labelInletParticleLoading.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelInletParticleLoading.Location    = new System.Drawing.Point(0, 40);
     this.labelInletParticleLoading.Name        = "labelInletParticleLoading";
     this.labelInletParticleLoading.Size        = new System.Drawing.Size(192, 20);
     this.labelInletParticleLoading.TabIndex    = 92;
     this.labelInletParticleLoading.Text        = "InletParticleLoading";
     this.labelInletParticleLoading.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelParticleCollectionRate
     //
     this.labelParticleCollectionRate.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelParticleCollectionRate.Location    = new System.Drawing.Point(0, 80);
     this.labelParticleCollectionRate.Name        = "labelParticleCollectionRate";
     this.labelParticleCollectionRate.Size        = new System.Drawing.Size(192, 20);
     this.labelParticleCollectionRate.TabIndex    = 94;
     this.labelParticleCollectionRate.Text        = "ParticleCollectionRate";
     this.labelParticleCollectionRate.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelCollectionEfficiency
     //
     this.labelCollectionEfficiency.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelCollectionEfficiency.Location    = new System.Drawing.Point(0, 20);
     this.labelCollectionEfficiency.Name        = "labelCollectionEfficiency";
     this.labelCollectionEfficiency.Size        = new System.Drawing.Size(192, 20);
     this.labelCollectionEfficiency.TabIndex    = 97;
     this.labelCollectionEfficiency.Text        = "CollectionEfficiency";
     this.labelCollectionEfficiency.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelGasToClothRatio
     //
     this.labelGasToClothRatio.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelGasToClothRatio.Location    = new System.Drawing.Point(0, 120);
     this.labelGasToClothRatio.Name        = "labelGasToClothRatio";
     this.labelGasToClothRatio.Size        = new System.Drawing.Size(192, 20);
     this.labelGasToClothRatio.TabIndex    = 97;
     this.labelGasToClothRatio.Text        = "GasToClothRatio";
     this.labelGasToClothRatio.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelTotalFilteringArea
     //
     this.labelTotalFilteringArea.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelTotalFilteringArea.Location    = new System.Drawing.Point(0, 140);
     this.labelTotalFilteringArea.Name        = "labelTotalFilteringArea";
     this.labelTotalFilteringArea.Size        = new System.Drawing.Size(192, 20);
     this.labelTotalFilteringArea.TabIndex    = 97;
     this.labelTotalFilteringArea.Text        = "TotalFilteringArea";
     this.labelTotalFilteringArea.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelOutletParticleLoading
     //
     this.labelOutletParticleLoading.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelOutletParticleLoading.Location    = new System.Drawing.Point(0, 60);
     this.labelOutletParticleLoading.Name        = "labelOutletParticleLoading";
     this.labelOutletParticleLoading.Size        = new System.Drawing.Size(192, 20);
     this.labelOutletParticleLoading.TabIndex    = 98;
     this.labelOutletParticleLoading.Text        = "OutletParticleLoading";
     this.labelOutletParticleLoading.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelMassFlowRateOfParticleLostToGasOutlet
     //
     this.labelMassFlowRateOfParticleLostToGasOutlet.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelMassFlowRateOfParticleLostToGasOutlet.Location    = new System.Drawing.Point(0, 100);
     this.labelMassFlowRateOfParticleLostToGasOutlet.Name        = "labelMassFlowRateOfParticleLostToGasOutlet";
     this.labelMassFlowRateOfParticleLostToGasOutlet.Size        = new System.Drawing.Size(192, 20);
     this.labelMassFlowRateOfParticleLostToGasOutlet.TabIndex    = 99;
     this.labelMassFlowRateOfParticleLostToGasOutlet.Text        = "MassFlowRateOfParticleLostToGasOutlet";
     this.labelMassFlowRateOfParticleLostToGasOutlet.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // FabricFilterLabelsControl
     //
     this.Controls.Add(this.labelMassFlowRateOfParticleLostToGasOutlet);
     this.Controls.Add(this.labelOutletParticleLoading);
     this.Controls.Add(this.labelPressureDrop);
     this.Controls.Add(this.labelInletParticleLoading);
     this.Controls.Add(this.labelParticleCollectionRate);
     this.Controls.Add(this.labelCollectionEfficiency);
     this.Controls.Add(this.labelGasToClothRatio);
     this.Controls.Add(this.labelTotalFilteringArea);
     this.Name = "FabricFilterLabelsControl";
     this.Size = new System.Drawing.Size(192, 160);
     this.ResumeLayout(false);
 }
コード例 #9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.labelHeatLossByTransportDevice = new ProsimoUI.ProcessVarLabel();
     this.labelWorkInput                         = new ProsimoUI.ProcessVarLabel();
     this.labelHeatInput                         = new ProsimoUI.ProcessVarLabel();
     this.labelHeatLoss                          = new ProsimoUI.ProcessVarLabel();
     this.labelGasPressureDrop                   = new ProsimoUI.ProcessVarLabel();
     this.labelThermalEfficiency                 = new ProsimoUI.ProcessVarLabel();
     this.labelSpecificHeatConsumption           = new ProsimoUI.ProcessVarLabel();
     this.labelMoistureEvaporationRate           = new ProsimoUI.ProcessVarLabel();
     this.labelFractionOfMaterialLostToGasOutlet = new ProsimoUI.ProcessVarLabel();
     this.labelGasOutletMaterialLoading          = new ProsimoUI.ProcessVarLabel();
     this.SuspendLayout();
     //
     // labelHeatLossByTransportDevice
     //
     this.labelHeatLossByTransportDevice.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelHeatLossByTransportDevice.Location    = new System.Drawing.Point(0, 80);
     this.labelHeatLossByTransportDevice.Name        = "labelHeatLossByTransportDevice";
     this.labelHeatLossByTransportDevice.Size        = new System.Drawing.Size(192, 20);
     this.labelHeatLossByTransportDevice.TabIndex    = 91;
     this.labelHeatLossByTransportDevice.Text        = "HeatLossByTransportDevice";
     this.labelHeatLossByTransportDevice.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelWorkInput
     //
     this.labelWorkInput.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelWorkInput.Location    = new System.Drawing.Point(0, 60);
     this.labelWorkInput.Name        = "labelWorkInput";
     this.labelWorkInput.Size        = new System.Drawing.Size(192, 20);
     this.labelWorkInput.TabIndex    = 90;
     this.labelWorkInput.Text        = "WorkInput";
     this.labelWorkInput.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelHeatInput
     //
     this.labelHeatInput.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelHeatInput.Location    = new System.Drawing.Point(0, 40);
     this.labelHeatInput.Name        = "labelHeatInput";
     this.labelHeatInput.Size        = new System.Drawing.Size(192, 20);
     this.labelHeatInput.TabIndex    = 89;
     this.labelHeatInput.Text        = "HeatInput";
     this.labelHeatInput.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelHeatLoss
     //
     this.labelHeatLoss.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelHeatLoss.Location    = new System.Drawing.Point(0, 20);
     this.labelHeatLoss.Name        = "labelHeatLoss";
     this.labelHeatLoss.Size        = new System.Drawing.Size(192, 20);
     this.labelHeatLoss.TabIndex    = 88;
     this.labelHeatLoss.Text        = "HeatLoss";
     this.labelHeatLoss.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelGasPressureDrop
     //
     this.labelGasPressureDrop.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelGasPressureDrop.Location    = new System.Drawing.Point(0, 0);
     this.labelGasPressureDrop.Name        = "labelGasPressureDrop";
     this.labelGasPressureDrop.Size        = new System.Drawing.Size(192, 20);
     this.labelGasPressureDrop.TabIndex    = 87;
     this.labelGasPressureDrop.Text        = "GasPressureDrop";
     this.labelGasPressureDrop.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelThermalEfficiency
     //
     this.labelThermalEfficiency.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelThermalEfficiency.Location    = new System.Drawing.Point(0, 140);
     this.labelThermalEfficiency.Name        = "labelThermalEfficiency";
     this.labelThermalEfficiency.Size        = new System.Drawing.Size(192, 20);
     this.labelThermalEfficiency.TabIndex    = 94;
     this.labelThermalEfficiency.Text        = "ThermalEfficiency";
     this.labelThermalEfficiency.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelSpecificHeatConsumption
     //
     this.labelSpecificHeatConsumption.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelSpecificHeatConsumption.Location    = new System.Drawing.Point(0, 120);
     this.labelSpecificHeatConsumption.Name        = "labelSpecificHeatConsumption";
     this.labelSpecificHeatConsumption.Size        = new System.Drawing.Size(192, 20);
     this.labelSpecificHeatConsumption.TabIndex    = 93;
     this.labelSpecificHeatConsumption.Text        = "SpecificHeatConsumption";
     this.labelSpecificHeatConsumption.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelMoistureEvaporationRate
     //
     this.labelMoistureEvaporationRate.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelMoistureEvaporationRate.Location    = new System.Drawing.Point(0, 100);
     this.labelMoistureEvaporationRate.Name        = "labelMoistureEvaporationRate";
     this.labelMoistureEvaporationRate.Size        = new System.Drawing.Size(192, 20);
     this.labelMoistureEvaporationRate.TabIndex    = 92;
     this.labelMoistureEvaporationRate.Text        = "MoistureEvaporationRate";
     this.labelMoistureEvaporationRate.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelFractionOfMaterialLostToGasOutlet
     //
     this.labelFractionOfMaterialLostToGasOutlet.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelFractionOfMaterialLostToGasOutlet.Location    = new System.Drawing.Point(0, 160);
     this.labelFractionOfMaterialLostToGasOutlet.Name        = "labelFractionOfMaterialLostToGasOutlet";
     this.labelFractionOfMaterialLostToGasOutlet.Size        = new System.Drawing.Size(192, 20);
     this.labelFractionOfMaterialLostToGasOutlet.TabIndex    = 92;
     this.labelFractionOfMaterialLostToGasOutlet.Text        = "FractionOfMaterialLostToGasOutlet";
     this.labelFractionOfMaterialLostToGasOutlet.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelGasOutletMaterialLoading
     //
     this.labelGasOutletMaterialLoading.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelGasOutletMaterialLoading.Location    = new System.Drawing.Point(0, 180);
     this.labelGasOutletMaterialLoading.Name        = "labelGasOutletMaterialLoading";
     this.labelGasOutletMaterialLoading.Size        = new System.Drawing.Size(192, 20);
     this.labelGasOutletMaterialLoading.TabIndex    = 95;
     this.labelGasOutletMaterialLoading.Text        = "GasOutletMaterialLoading";
     this.labelGasOutletMaterialLoading.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // DryerLabelsControl
     //
     this.Controls.Add(this.labelGasOutletMaterialLoading);
     this.Controls.Add(this.labelThermalEfficiency);
     this.Controls.Add(this.labelSpecificHeatConsumption);
     this.Controls.Add(this.labelMoistureEvaporationRate);
     this.Controls.Add(this.labelHeatLossByTransportDevice);
     this.Controls.Add(this.labelWorkInput);
     this.Controls.Add(this.labelHeatInput);
     this.Controls.Add(this.labelHeatLoss);
     this.Controls.Add(this.labelGasPressureDrop);
     this.Controls.Add(this.labelFractionOfMaterialLostToGasOutlet);
     this.Name = "DryerLabelsControl";
     this.Size = new System.Drawing.Size(192, 200);
     this.ResumeLayout(false);
 }
コード例 #10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.labelConcentration   = new ProsimoUI.ProcessVarLabel();
     this.labelStartSolventBP  = new ProsimoUI.ProcessVarLabel();
     this.panelHeader          = new System.Windows.Forms.Panel();
     this.labelEnd             = new System.Windows.Forms.Label();
     this.labelStart           = new System.Windows.Forms.Label();
     this.labelEndSolutionBP   = new ProsimoUI.ProcessVarLabel();
     this.labelEndSolventBP    = new ProsimoUI.ProcessVarLabel();
     this.labelStartSolutionBP = new ProsimoUI.ProcessVarLabel();
     this.labelHook            = new System.Windows.Forms.Label();
     this.panel = new System.Windows.Forms.Panel();
     this.panelHeader.SuspendLayout();
     this.SuspendLayout();
     //
     // labelConcentration
     //
     this.labelConcentration.BackColor   = System.Drawing.Color.DarkGray;
     this.labelConcentration.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.labelConcentration.Location    = new System.Drawing.Point(60, 0);
     this.labelConcentration.Name        = "labelConcentration";
     this.labelConcentration.Size        = new System.Drawing.Size(90, 40);
     this.labelConcentration.TabIndex    = 0;
     this.labelConcentration.Text        = "Concentration";
     this.labelConcentration.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // labelStartSolventBP
     //
     this.labelStartSolventBP.BackColor   = System.Drawing.Color.DarkGray;
     this.labelStartSolventBP.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.labelStartSolventBP.Location    = new System.Drawing.Point(150, 20);
     this.labelStartSolventBP.Name        = "labelStartSolventBP";
     this.labelStartSolventBP.Size        = new System.Drawing.Size(90, 20);
     this.labelStartSolventBP.TabIndex    = 1;
     this.labelStartSolventBP.Text        = "Solvent";
     this.labelStartSolventBP.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // panelHeader
     //
     this.panelHeader.Controls.Add(this.labelEnd);
     this.panelHeader.Controls.Add(this.labelStart);
     this.panelHeader.Controls.Add(this.labelEndSolutionBP);
     this.panelHeader.Controls.Add(this.labelEndSolventBP);
     this.panelHeader.Controls.Add(this.labelStartSolutionBP);
     this.panelHeader.Controls.Add(this.labelHook);
     this.panelHeader.Controls.Add(this.labelStartSolventBP);
     this.panelHeader.Controls.Add(this.labelConcentration);
     this.panelHeader.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panelHeader.Location = new System.Drawing.Point(0, 0);
     this.panelHeader.Name     = "panelHeader";
     this.panelHeader.Size     = new System.Drawing.Size(510, 40);
     this.panelHeader.TabIndex = 3;
     //
     // labelEnd
     //
     this.labelEnd.BackColor   = System.Drawing.Color.DarkGray;
     this.labelEnd.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.labelEnd.Location    = new System.Drawing.Point(330, 0);
     this.labelEnd.Name        = "labelEnd";
     this.labelEnd.Size        = new System.Drawing.Size(180, 20);
     this.labelEnd.TabIndex    = 7;
     this.labelEnd.Text        = "End Boiling Point";
     this.labelEnd.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // labelStart
     //
     this.labelStart.BackColor   = System.Drawing.Color.DarkGray;
     this.labelStart.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.labelStart.Location    = new System.Drawing.Point(150, 0);
     this.labelStart.Name        = "labelStart";
     this.labelStart.Size        = new System.Drawing.Size(180, 20);
     this.labelStart.TabIndex    = 6;
     this.labelStart.Text        = "Start Boiling Point";
     this.labelStart.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // labelEndSolutionBP
     //
     this.labelEndSolutionBP.BackColor   = System.Drawing.Color.DarkGray;
     this.labelEndSolutionBP.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.labelEndSolutionBP.Location    = new System.Drawing.Point(420, 20);
     this.labelEndSolutionBP.Name        = "labelEndSolutionBP";
     this.labelEndSolutionBP.Size        = new System.Drawing.Size(90, 20);
     this.labelEndSolutionBP.TabIndex    = 5;
     this.labelEndSolutionBP.Text        = "Solution";
     this.labelEndSolutionBP.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // labelEndSolventBP
     //
     this.labelEndSolventBP.BackColor   = System.Drawing.Color.DarkGray;
     this.labelEndSolventBP.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.labelEndSolventBP.Location    = new System.Drawing.Point(330, 20);
     this.labelEndSolventBP.Name        = "labelEndSolventBP";
     this.labelEndSolventBP.Size        = new System.Drawing.Size(90, 20);
     this.labelEndSolventBP.TabIndex    = 4;
     this.labelEndSolventBP.Text        = "Solvent";
     this.labelEndSolventBP.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // labelStartSolutionBP
     //
     this.labelStartSolutionBP.BackColor   = System.Drawing.Color.DarkGray;
     this.labelStartSolutionBP.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.labelStartSolutionBP.Location    = new System.Drawing.Point(240, 20);
     this.labelStartSolutionBP.Name        = "labelStartSolutionBP";
     this.labelStartSolutionBP.Size        = new System.Drawing.Size(90, 20);
     this.labelStartSolutionBP.TabIndex    = 3;
     this.labelStartSolutionBP.Text        = "Solution";
     this.labelStartSolutionBP.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // labelHook
     //
     this.labelHook.BackColor   = System.Drawing.Color.DarkGray;
     this.labelHook.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.labelHook.Location    = new System.Drawing.Point(0, 0);
     this.labelHook.Name        = "labelHook";
     this.labelHook.Size        = new System.Drawing.Size(60, 40);
     this.labelHook.TabIndex    = 2;
     this.labelHook.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // panel
     //
     this.panel.AutoScroll = true;
     this.panel.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.panel.Location   = new System.Drawing.Point(0, 40);
     this.panel.Name       = "panel";
     this.panel.Size       = new System.Drawing.Size(510, 232);
     this.panel.TabIndex   = 4;
     //
     // DuhringLinesControl
     //
     this.Controls.Add(this.panel);
     this.Controls.Add(this.panelHeader);
     this.Name = "DuhringLinesControl";
     this.Size = new System.Drawing.Size(510, 272);
     this.panelHeader.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #11
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.labelOutletParticleLoading  = new ProsimoUI.ProcessVarLabel();
     this.labelInletParticleLoading   = new ProsimoUI.ProcessVarLabel();
     this.labelPressureDrop           = new ProsimoUI.ProcessVarLabel();
     this.labelParticleCollectionRate = new ProsimoUI.ProcessVarLabel();
     this.labelCollectionEfficiency   = new ProsimoUI.ProcessVarLabel();
     this.labelDriftVelocity          = new ProsimoUI.ProcessVarLabel();
     this.labelTotalSurfaceArea       = new ProsimoUI.ProcessVarLabel();
     this.labelMassFlowRateOfParticleLostToGasOutlet = new ProsimoUI.ProcessVarLabel();
     this.SuspendLayout();
     //
     // labelOutletParticleLoading
     //
     this.labelOutletParticleLoading.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelOutletParticleLoading.Location    = new System.Drawing.Point(0, 60);
     this.labelOutletParticleLoading.Name        = "labelOutletParticleLoading";
     this.labelOutletParticleLoading.Size        = new System.Drawing.Size(192, 20);
     this.labelOutletParticleLoading.TabIndex    = 116;
     this.labelOutletParticleLoading.Text        = "OutletParticleLoading";
     this.labelOutletParticleLoading.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelInletParticleLoading
     //
     this.labelInletParticleLoading.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelInletParticleLoading.Location    = new System.Drawing.Point(0, 40);
     this.labelInletParticleLoading.Name        = "labelInletParticleLoading";
     this.labelInletParticleLoading.Size        = new System.Drawing.Size(192, 20);
     this.labelInletParticleLoading.TabIndex    = 117;
     this.labelInletParticleLoading.Text        = "InletParticleLoading";
     this.labelInletParticleLoading.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelPressureDrop
     //
     this.labelPressureDrop.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelPressureDrop.Location    = new System.Drawing.Point(0, 0);
     this.labelPressureDrop.Name        = "labelPressureDrop";
     this.labelPressureDrop.Size        = new System.Drawing.Size(192, 20);
     this.labelPressureDrop.TabIndex    = 118;
     this.labelPressureDrop.Text        = "PressureDrop";
     this.labelPressureDrop.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelParticleCollectionRate
     //
     this.labelParticleCollectionRate.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelParticleCollectionRate.Location    = new System.Drawing.Point(0, 80);
     this.labelParticleCollectionRate.Name        = "labelParticleCollectionRate";
     this.labelParticleCollectionRate.Size        = new System.Drawing.Size(192, 20);
     this.labelParticleCollectionRate.TabIndex    = 119;
     this.labelParticleCollectionRate.Text        = "ParticleCollectionRate";
     this.labelParticleCollectionRate.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelCollectionEfficiency
     //
     this.labelCollectionEfficiency.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelCollectionEfficiency.Location    = new System.Drawing.Point(0, 20);
     this.labelCollectionEfficiency.Name        = "labelCollectionEfficiency";
     this.labelCollectionEfficiency.Size        = new System.Drawing.Size(192, 20);
     this.labelCollectionEfficiency.TabIndex    = 120;
     this.labelCollectionEfficiency.Text        = "CollectionEfficiency";
     this.labelCollectionEfficiency.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelDriftVelocity
     //
     this.labelDriftVelocity.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelDriftVelocity.Location    = new System.Drawing.Point(0, 120);
     this.labelDriftVelocity.Name        = "labelDriftVelocity";
     this.labelDriftVelocity.Size        = new System.Drawing.Size(192, 20);
     this.labelDriftVelocity.TabIndex    = 121;
     this.labelDriftVelocity.Text        = "DriftVelocity";
     this.labelDriftVelocity.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelTotalSurfaceArea
     //
     this.labelTotalSurfaceArea.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelTotalSurfaceArea.Location    = new System.Drawing.Point(0, 140);
     this.labelTotalSurfaceArea.Name        = "labelTotalSurfaceArea";
     this.labelTotalSurfaceArea.Size        = new System.Drawing.Size(192, 20);
     this.labelTotalSurfaceArea.TabIndex    = 122;
     this.labelTotalSurfaceArea.Text        = "TotalSurfaceArea";
     this.labelTotalSurfaceArea.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelMassFlowRateOfParticleLostToGasOutlet
     //
     this.labelMassFlowRateOfParticleLostToGasOutlet.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.labelMassFlowRateOfParticleLostToGasOutlet.Location    = new System.Drawing.Point(0, 100);
     this.labelMassFlowRateOfParticleLostToGasOutlet.Name        = "labelMassFlowRateOfParticleLostToGasOutlet";
     this.labelMassFlowRateOfParticleLostToGasOutlet.Size        = new System.Drawing.Size(192, 20);
     this.labelMassFlowRateOfParticleLostToGasOutlet.TabIndex    = 123;
     this.labelMassFlowRateOfParticleLostToGasOutlet.Text        = "MassFlowRateOfParticleLostToGasOutlet";
     this.labelMassFlowRateOfParticleLostToGasOutlet.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ElectrostaticPrecipitatorLabelsControl
     //
     this.Controls.Add(this.labelMassFlowRateOfParticleLostToGasOutlet);
     this.Controls.Add(this.labelTotalSurfaceArea);
     this.Controls.Add(this.labelDriftVelocity);
     this.Controls.Add(this.labelCollectionEfficiency);
     this.Controls.Add(this.labelParticleCollectionRate);
     this.Controls.Add(this.labelPressureDrop);
     this.Controls.Add(this.labelInletParticleLoading);
     this.Controls.Add(this.labelOutletParticleLoading);
     this.Name = "ElectrostaticPrecipitatorLabelsControl";
     this.Size = new System.Drawing.Size(192, 160);
     this.ResumeLayout(false);
 }
コード例 #12
0
        protected int initializeGrid(SolvableControl ctrl, int columnIndex, Boolean bValueOnly, string ctrlType)
        {
            ProcessVar        var;
            ProcessVarLabel   label;
            ProcessVarTextBox valueTextBox;
            ArrayList         varList;
            Label             typeLabel, nameLabel;
            int counter, extraRowCount;

            varList = ctrl.Solvable.VarList;
            if (ctrlType.Length != 0)
            {
                typeLabel           = new Label();
                typeLabel.Size      = new System.Drawing.Size(192, 20);
                typeLabel.Dock      = DockStyle.Fill;
                typeLabel.Anchor    = AnchorStyles.Left;
                typeLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
                typeLabel.Text      = ctrlType;
                typeLabel.BackColor = Color.DarkGray;

                nameLabel           = new Label();
                nameLabel.Size      = new System.Drawing.Size(80, 20);
                nameLabel.Dock      = DockStyle.Fill;
                nameLabel.Anchor    = AnchorStyles.Left;
                nameLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
                nameLabel.Text      = ctrl.Solvable.ToString();
                nameLabel.BackColor = Color.DarkGray;
                if (bValueOnly)
                {
                    this.tableLayoutPanel.ColumnCount = columnIndex + 1;
                    this.tableLayoutPanel.Controls.Add(nameLabel, columnIndex, 0);
                }
                else
                {
                    this.tableLayoutPanel.ColumnCount = columnIndex + 2;
                    this.tableLayoutPanel.Controls.Add(typeLabel, columnIndex, 0);
                    this.tableLayoutPanel.Controls.Add(nameLabel, columnIndex + 1, 0);
                }
                extraRowCount = 1;
            }
            else
            {
                extraRowCount = 0;
            }
            // set the property names and values
            for (counter = 0; counter < varList.Count; counter++)
            {
                var = varList[counter] as ProcessVar;
                if (var == null)
                {
                    continue;
                }

                valueTextBox      = new ProcessVarTextBox();
                valueTextBox.Size = new System.Drawing.Size(80, 20);

                valueTextBox.Dock   = DockStyle.Fill;
                valueTextBox.Anchor = AnchorStyles.Left & AnchorStyles.Right & AnchorStyles.Top & AnchorStyles.Bottom;
                valueTextBox.InitializeVariable(solvableCtrl.Flowsheet.ApplicationPrefs, var);

                if (bValueOnly)
                {
                    this.tableLayoutPanel.Controls.Add(valueTextBox, columnIndex, counter + extraRowCount);
                }
                else
                {
                    label          = new ProcessVarLabel();
                    label.Anchor   = System.Windows.Forms.AnchorStyles.Left;
                    label.Size     = new System.Drawing.Size(192, 20);
                    label.AutoSize = false;
                    //label.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
                    label.Dock = DockStyle.Fill;
                    label.Text = var.VarTypeName;
                    label.InitializeVariable(var);

                    this.tableLayoutPanel.Controls.Add(label, columnIndex, counter + extraRowCount);
                    this.tableLayoutPanel.Controls.Add(valueTextBox, columnIndex + 1, counter + extraRowCount);
                }
                this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F));
            }
            if (this.tableLayoutPanel.RowCount < counter + extraRowCount)
            {
                this.tableLayoutPanel.RowCount = counter + extraRowCount;
            }
            return(counter + extraRowCount);
        }