/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.labelHook = new System.Windows.Forms.Label(); this.labelName = new System.Windows.Forms.Label(); this.textBoxFraction = new ProsimoUI.ProcessVarTextBox(); this.SuspendLayout(); // // labelHook // this.labelHook.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.labelHook.ForeColor = System.Drawing.Color.DarkGray; this.labelHook.Location = new System.Drawing.Point(0, 0); this.labelHook.Name = "labelHook"; this.labelHook.Size = new System.Drawing.Size(28, 20); this.labelHook.TabIndex = 1; this.labelHook.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.labelHook.MouseDown += new System.Windows.Forms.MouseEventHandler(this.labelHook_MouseDown); // // labelName // this.labelName.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.labelName.ForeColor = System.Drawing.Color.DarkGray; this.labelName.Location = new System.Drawing.Point(27, 0); this.labelName.Name = "labelName"; this.labelName.Size = new System.Drawing.Size(128, 20); this.labelName.TabIndex = 2; this.labelName.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.labelName.MouseDown += new System.Windows.Forms.MouseEventHandler(this.labelName_MouseDown); // // textBoxFraction // this.textBoxFraction.Location = new System.Drawing.Point(154, 0); this.textBoxFraction.Multiline = true; this.textBoxFraction.Name = "textBoxFraction"; this.textBoxFraction.Size = new System.Drawing.Size(106, 20); this.textBoxFraction.TabIndex = 3; this.textBoxFraction.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxFraction.KeyUp += new System.Windows.Forms.KeyEventHandler(this.textBoxFraction_KeyUp); // // MaterialComponentNameAndFractionControl // this.Controls.Add(this.textBoxFraction); this.Controls.Add(this.labelName); this.Controls.Add(this.labelHook); this.Name = "MaterialComponentNameAndFractionControl"; this.Size = new System.Drawing.Size(260, 20); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.textBoxOutletWidth = new ProsimoUI.ProcessVarTextBox(); this.textBoxOutletHeight = new ProsimoUI.ProcessVarTextBox(); this.textBoxOutletHeightWidthRatio = new ProsimoUI.ProcessVarTextBox(); this.SuspendLayout(); // // textBoxOutletWidth // this.textBoxOutletWidth.Location = new System.Drawing.Point(0, 0); this.textBoxOutletWidth.Name = "textBoxOutletWidth"; this.textBoxOutletWidth.Size = new System.Drawing.Size(80, 20); this.textBoxOutletWidth.TabIndex = 1; this.textBoxOutletWidth.Text = ""; this.textBoxOutletWidth.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxOutletWidth.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxOutletHeight // this.textBoxOutletHeight.Location = new System.Drawing.Point(0, 20); this.textBoxOutletHeight.Name = "textBoxOutletHeight"; this.textBoxOutletHeight.Size = new System.Drawing.Size(80, 20); this.textBoxOutletHeight.TabIndex = 2; this.textBoxOutletHeight.Text = ""; this.textBoxOutletHeight.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxOutletHeight.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxOutletHeightWidthRatio // this.textBoxOutletHeightWidthRatio.Location = new System.Drawing.Point(0, 40); this.textBoxOutletHeightWidthRatio.Name = "textBoxOutletHeightWidthRatio"; this.textBoxOutletHeightWidthRatio.Size = new System.Drawing.Size(80, 20); this.textBoxOutletHeightWidthRatio.TabIndex = 3; this.textBoxOutletHeightWidthRatio.Text = ""; this.textBoxOutletHeightWidthRatio.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxOutletHeightWidthRatio.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // FanRectangularValuesControl // this.Controls.Add(this.textBoxOutletWidth); this.Controls.Add(this.textBoxOutletHeight); this.Controls.Add(this.textBoxOutletHeightWidthRatio); this.Name = "FanRectangularValuesControl"; this.Size = new System.Drawing.Size(80, 60); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.textBoxEntrainmentRatio = new ProsimoUI.ProcessVarTextBox(); this.textBoxSuctionMotivePressureRatio = new ProsimoUI.ProcessVarTextBox(); this.textBoxCompressionRatio = new ProsimoUI.ProcessVarTextBox(); this.SuspendLayout(); // // textBoxEntrainmentRatio // this.textBoxEntrainmentRatio.Location = new System.Drawing.Point(0, 0); this.textBoxEntrainmentRatio.Name = "textBoxEntrainmentRatio"; this.textBoxEntrainmentRatio.Size = new System.Drawing.Size(80, 20); this.textBoxEntrainmentRatio.TabIndex = 1; this.textBoxEntrainmentRatio.Text = ""; this.textBoxEntrainmentRatio.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxEntrainmentRatio.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxSuctionMotivePressureRatio // this.textBoxSuctionMotivePressureRatio.Location = new System.Drawing.Point(0, 40); this.textBoxSuctionMotivePressureRatio.Name = "textBoxSuctionMotivePressureRatio"; this.textBoxSuctionMotivePressureRatio.Size = new System.Drawing.Size(80, 20); this.textBoxSuctionMotivePressureRatio.TabIndex = 3; this.textBoxSuctionMotivePressureRatio.Text = ""; this.textBoxSuctionMotivePressureRatio.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxSuctionMotivePressureRatio.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxCompressionRatio // this.textBoxCompressionRatio.Location = new System.Drawing.Point(0, 20); this.textBoxCompressionRatio.Name = "textBoxCompressionRatio"; this.textBoxCompressionRatio.Size = new System.Drawing.Size(80, 20); this.textBoxCompressionRatio.TabIndex = 2; this.textBoxCompressionRatio.Text = ""; this.textBoxCompressionRatio.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxCompressionRatio.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // EjectorValuesControl // this.Controls.Add(this.textBoxEntrainmentRatio); this.Controls.Add(this.textBoxSuctionMotivePressureRatio); this.Controls.Add(this.textBoxCompressionRatio); this.Name = "EjectorValuesControl"; this.Size = new System.Drawing.Size(80, 60); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.textBoxOutletDiameter = new ProsimoUI.ProcessVarTextBox(); this.SuspendLayout(); // // textBoxOutletDiameter // this.textBoxOutletDiameter.Location = new System.Drawing.Point(0, 0); this.textBoxOutletDiameter.Name = "textBoxOutletDiameter"; this.textBoxOutletDiameter.Size = new System.Drawing.Size(80, 20); this.textBoxOutletDiameter.TabIndex = 4; this.textBoxOutletDiameter.Text = ""; this.textBoxOutletDiameter.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxOutletDiameter.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // FanCircularValuesControl // this.Controls.Add(this.textBoxOutletDiameter); this.Name = "FanCircularValuesControl"; this.Size = new System.Drawing.Size(80, 20); this.ResumeLayout(false); }
public void InitializeVarValuesControl(SolvableControl sovableCtrl) { ArrayList varList = sovableCtrl.Solvable.VarList; ProcessVarTextBox varTextBox; varTextBoxeList = new ArrayList(); this.SuspendLayout(); for (int i = 0; i < varList.Count; i++) { varTextBox = new ProcessVarTextBox(); varTextBoxeList.Add(varTextBox); varTextBox.Location = new System.Drawing.Point(0, i * 20); varTextBox.Size = new System.Drawing.Size(80, 20); varTextBox.TabIndex = 110 + i; varTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; varTextBox.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); this.Controls.Add(varTextBox); varTextBox.InitializeVariable(sovableCtrl.Flowsheet.ApplicationPrefs, ((ProcessVar)varList[i])); } this.Size = new System.Drawing.Size(80, varTextBoxeList.Count * 20); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.textBoxWorkInput = new ProsimoUI.ProcessVarTextBox(); this.textBoxHeatLossByTransportDevice = new ProsimoUI.ProcessVarTextBox(); this.textBoxGasPressureDrop = new ProsimoUI.ProcessVarTextBox(); this.textBoxHeatLoss = new ProsimoUI.ProcessVarTextBox(); this.textBoxHeatInput = new ProsimoUI.ProcessVarTextBox(); this.textBoxMoistureEvaporationRate = new ProsimoUI.ProcessVarTextBox(); this.textBoxSpecificHeatConsumption = new ProsimoUI.ProcessVarTextBox(); this.textBoxThermalEfficiency = new ProsimoUI.ProcessVarTextBox(); this.textFractionOfMaterialLostToGasOutlet = new ProsimoUI.ProcessVarTextBox(); this.textBoxGasOutletMaterialLoading = new ProsimoUI.ProcessVarTextBox(); this.SuspendLayout(); // // textBoxWorkInput // this.textBoxWorkInput.Location = new System.Drawing.Point(0, 60); this.textBoxWorkInput.Name = "textBoxWorkInput"; this.textBoxWorkInput.Size = new System.Drawing.Size(80, 20); this.textBoxWorkInput.TabIndex = 9; this.textBoxWorkInput.Text = ""; this.textBoxWorkInput.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxWorkInput.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxHeatLossByTransportDevice // this.textBoxHeatLossByTransportDevice.Location = new System.Drawing.Point(0, 80); this.textBoxHeatLossByTransportDevice.Name = "textBoxHeatLossByTransportDevice"; this.textBoxHeatLossByTransportDevice.Size = new System.Drawing.Size(80, 20); this.textBoxHeatLossByTransportDevice.TabIndex = 10; this.textBoxHeatLossByTransportDevice.Text = ""; this.textBoxHeatLossByTransportDevice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxHeatLossByTransportDevice.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxGasPressureDrop // this.textBoxGasPressureDrop.Location = new System.Drawing.Point(0, 0); this.textBoxGasPressureDrop.Name = "textBoxGasPressureDrop"; this.textBoxGasPressureDrop.Size = new System.Drawing.Size(80, 20); this.textBoxGasPressureDrop.TabIndex = 6; this.textBoxGasPressureDrop.Text = ""; this.textBoxGasPressureDrop.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxGasPressureDrop.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxHeatLoss // this.textBoxHeatLoss.Location = new System.Drawing.Point(0, 20); this.textBoxHeatLoss.Name = "textBoxHeatLoss"; this.textBoxHeatLoss.Size = new System.Drawing.Size(80, 20); this.textBoxHeatLoss.TabIndex = 7; this.textBoxHeatLoss.Text = ""; this.textBoxHeatLoss.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxHeatLoss.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxHeatInput // this.textBoxHeatInput.Location = new System.Drawing.Point(0, 40); this.textBoxHeatInput.Name = "textBoxHeatInput"; this.textBoxHeatInput.Size = new System.Drawing.Size(80, 20); this.textBoxHeatInput.TabIndex = 8; this.textBoxHeatInput.Text = ""; this.textBoxHeatInput.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxHeatInput.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxMoistureEvaporationRate // this.textBoxMoistureEvaporationRate.Location = new System.Drawing.Point(0, 100); this.textBoxMoistureEvaporationRate.Name = "textBoxMoistureEvaporationRate"; this.textBoxMoistureEvaporationRate.Size = new System.Drawing.Size(80, 20); this.textBoxMoistureEvaporationRate.TabIndex = 11; this.textBoxMoistureEvaporationRate.Text = ""; this.textBoxMoistureEvaporationRate.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxMoistureEvaporationRate.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxSpecificHeatConsumption // this.textBoxSpecificHeatConsumption.Location = new System.Drawing.Point(0, 120); this.textBoxSpecificHeatConsumption.Name = "textBoxSpecificHeatConsumption"; this.textBoxSpecificHeatConsumption.Size = new System.Drawing.Size(80, 20); this.textBoxSpecificHeatConsumption.TabIndex = 12; this.textBoxSpecificHeatConsumption.Text = ""; this.textBoxSpecificHeatConsumption.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxSpecificHeatConsumption.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxThermalEfficiency // this.textBoxThermalEfficiency.Location = new System.Drawing.Point(0, 140); this.textBoxThermalEfficiency.Name = "textBoxThermalEfficiency"; this.textBoxThermalEfficiency.Size = new System.Drawing.Size(80, 20); this.textBoxThermalEfficiency.TabIndex = 13; this.textBoxThermalEfficiency.Text = ""; this.textBoxThermalEfficiency.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxThermalEfficiency.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textFractionOfMaterialLostToGasOutlet // this.textFractionOfMaterialLostToGasOutlet.Location = new System.Drawing.Point(0, 160); this.textFractionOfMaterialLostToGasOutlet.Name = "textFractionOfMaterialLostToGasOutlet"; this.textFractionOfMaterialLostToGasOutlet.Size = new System.Drawing.Size(80, 20); this.textFractionOfMaterialLostToGasOutlet.TabIndex = 14; this.textFractionOfMaterialLostToGasOutlet.Text = ""; this.textFractionOfMaterialLostToGasOutlet.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textFractionOfMaterialLostToGasOutlet.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxGasOutletMaterialLoading // this.textBoxGasOutletMaterialLoading.Location = new System.Drawing.Point(0, 180); this.textBoxGasOutletMaterialLoading.Name = "textBoxGasOutletMaterialLoading"; this.textBoxGasOutletMaterialLoading.Size = new System.Drawing.Size(80, 20); this.textBoxGasOutletMaterialLoading.TabIndex = 15; this.textBoxGasOutletMaterialLoading.Text = ""; this.textBoxGasOutletMaterialLoading.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxGasOutletMaterialLoading.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // DryerValuesControl // this.Controls.Add(this.textBoxGasOutletMaterialLoading); this.Controls.Add(this.textBoxMoistureEvaporationRate); this.Controls.Add(this.textBoxSpecificHeatConsumption); this.Controls.Add(this.textBoxThermalEfficiency); this.Controls.Add(this.textBoxWorkInput); this.Controls.Add(this.textBoxHeatLossByTransportDevice); this.Controls.Add(this.textBoxGasPressureDrop); this.Controls.Add(this.textBoxHeatLoss); this.Controls.Add(this.textBoxHeatInput); this.Controls.Add(this.textFractionOfMaterialLostToGasOutlet); this.Name = "DryerValuesControl"; this.Size = new System.Drawing.Size(80, 200); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.textBoxPressureDrop = new ProsimoUI.ProcessVarTextBox(); this.textBoxMassFlowRateOfParticleLostToGasOutlet = new ProsimoUI.ProcessVarTextBox(); this.textBoxInletParticleLoading = new ProsimoUI.ProcessVarTextBox(); this.textBoxCollectionEfficiency = new ProsimoUI.ProcessVarTextBox(); this.textBoxOutletParticleLoading = new ProsimoUI.ProcessVarTextBox(); this.SuspendLayout(); // // textBoxPressureDrop // this.textBoxPressureDrop.Location = new System.Drawing.Point(0, 0); this.textBoxPressureDrop.Name = "textBoxPressureDrop"; this.textBoxPressureDrop.Size = new System.Drawing.Size(80, 20); this.textBoxPressureDrop.TabIndex = 1; this.textBoxPressureDrop.Text = ""; this.textBoxPressureDrop.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxPressureDrop.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxMassFlowRateOfParticleLostToGasOutlet // this.textBoxMassFlowRateOfParticleLostToGasOutlet.Location = new System.Drawing.Point(0, 80); this.textBoxMassFlowRateOfParticleLostToGasOutlet.Name = "textBoxMassFlowRateOfParticleLostToGasOutlet"; this.textBoxMassFlowRateOfParticleLostToGasOutlet.Size = new System.Drawing.Size(80, 20); this.textBoxMassFlowRateOfParticleLostToGasOutlet.TabIndex = 5; this.textBoxMassFlowRateOfParticleLostToGasOutlet.Text = ""; this.textBoxMassFlowRateOfParticleLostToGasOutlet.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxMassFlowRateOfParticleLostToGasOutlet.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxInletParticleLoading // this.textBoxInletParticleLoading.Location = new System.Drawing.Point(0, 40); this.textBoxInletParticleLoading.Name = "textBoxInletParticleLoading"; this.textBoxInletParticleLoading.Size = new System.Drawing.Size(80, 20); this.textBoxInletParticleLoading.TabIndex = 3; this.textBoxInletParticleLoading.Text = ""; this.textBoxInletParticleLoading.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxInletParticleLoading.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxCollectionEfficiency // this.textBoxCollectionEfficiency.Location = new System.Drawing.Point(0, 20); this.textBoxCollectionEfficiency.Name = "textBoxCollectionEfficiency"; this.textBoxCollectionEfficiency.Size = new System.Drawing.Size(80, 20); this.textBoxCollectionEfficiency.TabIndex = 2; this.textBoxCollectionEfficiency.Text = ""; this.textBoxCollectionEfficiency.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxCollectionEfficiency.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxOutletParticleLoading // this.textBoxOutletParticleLoading.Location = new System.Drawing.Point(0, 60); this.textBoxOutletParticleLoading.Name = "textBoxOutletParticleLoading"; this.textBoxOutletParticleLoading.Size = new System.Drawing.Size(80, 20); this.textBoxOutletParticleLoading.TabIndex = 4; this.textBoxOutletParticleLoading.Text = ""; this.textBoxOutletParticleLoading.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxOutletParticleLoading.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // CycloneValuesControl // this.Controls.Add(this.textBoxOutletParticleLoading); this.Controls.Add(this.textBoxPressureDrop); this.Controls.Add(this.textBoxMassFlowRateOfParticleLostToGasOutlet); this.Controls.Add(this.textBoxInletParticleLoading); this.Controls.Add(this.textBoxCollectionEfficiency); this.Name = "CycloneValuesControl"; this.Size = new System.Drawing.Size(80, 100); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.textBoxSpecificHeat = new ProsimoUI.ProcessVarTextBox(); this.textBoxSpecificHeatDryBase = new ProsimoUI.ProcessVarTextBox(); this.textBoxSpecificEnthalpy = new ProsimoUI.ProcessVarTextBox(); this.textBoxConcentration = new ProsimoUI.ProcessVarTextBox(); this.textBoxMoistureContentDryBase = new ProsimoUI.ProcessVarTextBox(); this.textBoxTemperature = new ProsimoUI.ProcessVarTextBox(); this.textBoxPressure = new ProsimoUI.ProcessVarTextBox(); this.textBoxDensity = new ProsimoUI.ProcessVarTextBox(); this.textBoxMassFlowRateDryBase = new ProsimoUI.ProcessVarTextBox(); this.textBoxMassFlowRate = new ProsimoUI.ProcessVarTextBox(); this.textBoxVolumeFlowRate = new ProsimoUI.ProcessVarTextBox(); this.textBoxMoistureContentWetBase = new ProsimoUI.ProcessVarTextBox(); this.textBoxVaporFraction = new ProsimoUI.ProcessVarTextBox(); this.SuspendLayout(); // // textBoxSpecificEnthalpy // this.textBoxSpecificEnthalpy.Location = new System.Drawing.Point(0, 180); this.textBoxSpecificEnthalpy.Name = "textBoxSpecificEnthalpy"; this.textBoxSpecificEnthalpy.Size = new System.Drawing.Size(80, 20); this.textBoxSpecificEnthalpy.TabIndex = 9; this.textBoxSpecificEnthalpy.Text = ""; this.textBoxSpecificEnthalpy.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxSpecificHeat // this.textBoxSpecificHeat.Location = new System.Drawing.Point(0, 200); this.textBoxSpecificHeat.Name = "textBoxSpecificHeat"; this.textBoxSpecificHeat.Size = new System.Drawing.Size(80, 20); this.textBoxSpecificHeat.TabIndex = 10; this.textBoxSpecificHeat.Text = ""; this.textBoxSpecificHeat.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxSpecificHeatDryBase // this.textBoxSpecificHeatDryBase.Location = new System.Drawing.Point(0, 220); this.textBoxSpecificHeatDryBase.Name = "textBoxSpecificHeatDryBase"; this.textBoxSpecificHeatDryBase.Size = new System.Drawing.Size(80, 20); this.textBoxSpecificHeatDryBase.TabIndex = 11; this.textBoxSpecificHeatDryBase.Text = ""; this.textBoxSpecificHeatDryBase.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxConcentration // this.textBoxConcentration.Location = new System.Drawing.Point(0, 160); this.textBoxConcentration.Name = "textBoxConcentration"; this.textBoxConcentration.Size = new System.Drawing.Size(80, 20); this.textBoxConcentration.TabIndex = 8; this.textBoxConcentration.Text = ""; this.textBoxConcentration.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxMoistureContentDryBase // this.textBoxMoistureContentDryBase.Location = new System.Drawing.Point(0, 140); this.textBoxMoistureContentDryBase.Name = "textBoxMoistureContentDryBase"; this.textBoxMoistureContentDryBase.Size = new System.Drawing.Size(80, 20); this.textBoxMoistureContentDryBase.TabIndex = 7; this.textBoxMoistureContentDryBase.Text = ""; this.textBoxMoistureContentDryBase.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxMoistureContentWetBase // this.textBoxMoistureContentWetBase.Location = new System.Drawing.Point(0, 120); this.textBoxMoistureContentWetBase.Name = "textBoxMoistureContentWetBase"; this.textBoxMoistureContentWetBase.Size = new System.Drawing.Size(80, 20); this.textBoxMoistureContentWetBase.TabIndex = 6; this.textBoxMoistureContentWetBase.Text = ""; this.textBoxMoistureContentWetBase.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxTemperature // this.textBoxTemperature.Location = new System.Drawing.Point(0, 80); this.textBoxTemperature.Name = "textBoxTemperature"; this.textBoxTemperature.Size = new System.Drawing.Size(80, 20); this.textBoxTemperature.TabIndex = 5; this.textBoxTemperature.Text = ""; this.textBoxTemperature.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxPressure // this.textBoxPressure.Location = new System.Drawing.Point(0, 60); this.textBoxPressure.Name = "textBoxPressure"; this.textBoxPressure.Size = new System.Drawing.Size(80, 20); this.textBoxPressure.TabIndex = 4; this.textBoxPressure.Text = ""; this.textBoxPressure.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxDensity // this.textBoxDensity.Location = new System.Drawing.Point(0, 240); this.textBoxDensity.Name = "textBoxDensity"; this.textBoxDensity.Size = new System.Drawing.Size(80, 20); this.textBoxDensity.TabIndex = 12; this.textBoxDensity.Text = ""; this.textBoxDensity.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxMassFlowRateDryBase // this.textBoxMassFlowRateDryBase.Location = new System.Drawing.Point(0, 20); this.textBoxMassFlowRateDryBase.Name = "textBoxMassFlowRateDryBase"; this.textBoxMassFlowRateDryBase.Size = new System.Drawing.Size(80, 20); this.textBoxMassFlowRateDryBase.TabIndex = 2; this.textBoxMassFlowRateDryBase.Text = ""; this.textBoxMassFlowRateDryBase.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxMassFlowRate // this.textBoxMassFlowRate.Location = new System.Drawing.Point(0, 0); this.textBoxMassFlowRate.Name = "textBoxMassFlowRate"; this.textBoxMassFlowRate.Size = new System.Drawing.Size(80, 20); this.textBoxMassFlowRate.TabIndex = 1; this.textBoxMassFlowRate.Text = ""; this.textBoxMassFlowRate.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxVolumeFlowRate // this.textBoxVolumeFlowRate.Location = new System.Drawing.Point(0, 40); this.textBoxVolumeFlowRate.Name = "textBoxVolumeFlowRate"; this.textBoxVolumeFlowRate.Size = new System.Drawing.Size(80, 20); this.textBoxVolumeFlowRate.TabIndex = 3; this.textBoxVolumeFlowRate.Text = ""; this.textBoxVolumeFlowRate.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxVaporFraction // this.textBoxVaporFraction.Location = new System.Drawing.Point(0, 100); this.textBoxVaporFraction.Name = "textBoxVaporFraction"; this.textBoxVaporFraction.Size = new System.Drawing.Size(80, 20); this.textBoxVaporFraction.TabIndex = 13; this.textBoxVaporFraction.Text = ""; this.textBoxVaporFraction.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // MaterialStreamValuesControl // this.Controls.Add(this.textBoxVaporFraction); this.Controls.Add(this.textBoxMoistureContentWetBase); this.Controls.Add(this.textBoxSpecificHeat); this.Controls.Add(this.textBoxSpecificHeatDryBase); this.Controls.Add(this.textBoxSpecificEnthalpy); this.Controls.Add(this.textBoxConcentration); this.Controls.Add(this.textBoxMoistureContentDryBase); this.Controls.Add(this.textBoxTemperature); this.Controls.Add(this.textBoxPressure); this.Controls.Add(this.textBoxDensity); this.Controls.Add(this.textBoxMassFlowRateDryBase); this.Controls.Add(this.textBoxMassFlowRate); this.Controls.Add(this.textBoxVolumeFlowRate); this.Name = "MaterialStreamValuesControl"; this.Size = new System.Drawing.Size(80, 260); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.textBoxPressureDrop = new ProsimoUI.ProcessVarTextBox(); this.textBoxInletParticleLoading = new ProsimoUI.ProcessVarTextBox(); this.textBoxOutletParticleLoading = new ProsimoUI.ProcessVarTextBox(); this.textBoxParticleCollectionRate = new ProsimoUI.ProcessVarTextBox(); this.textBoxCollectionEfficiency = new ProsimoUI.ProcessVarTextBox(); this.textBoxDriftVelocity = new ProsimoUI.ProcessVarTextBox(); this.textBoxTotalSurfaceArea = new ProsimoUI.ProcessVarTextBox(); this.textBoxMassFlowRateOfParticleLostToGasOutlet = new ProsimoUI.ProcessVarTextBox(); this.SuspendLayout(); // // textBoxPressureDrop // this.textBoxPressureDrop.Location = new System.Drawing.Point(0, 0); this.textBoxPressureDrop.Name = "textBoxPressureDrop"; this.textBoxPressureDrop.Size = new System.Drawing.Size(80, 20); this.textBoxPressureDrop.TabIndex = 1; this.textBoxPressureDrop.Text = ""; this.textBoxPressureDrop.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxPressureDrop.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxInletParticleLoading // this.textBoxInletParticleLoading.Location = new System.Drawing.Point(0, 40); this.textBoxInletParticleLoading.Name = "textBoxInletParticleLoading"; this.textBoxInletParticleLoading.Size = new System.Drawing.Size(80, 20); this.textBoxInletParticleLoading.TabIndex = 3; this.textBoxInletParticleLoading.Text = ""; this.textBoxInletParticleLoading.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxInletParticleLoading.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxOutletParticleLoading // this.textBoxOutletParticleLoading.Location = new System.Drawing.Point(0, 60); this.textBoxOutletParticleLoading.Name = "textBoxOutletParticleLoading"; this.textBoxOutletParticleLoading.Size = new System.Drawing.Size(80, 20); this.textBoxOutletParticleLoading.TabIndex = 4; this.textBoxOutletParticleLoading.Text = ""; this.textBoxOutletParticleLoading.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxOutletParticleLoading.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxParticleCollectionRate // this.textBoxParticleCollectionRate.Location = new System.Drawing.Point(0, 80); this.textBoxParticleCollectionRate.Name = "textBoxParticleCollectionRate"; this.textBoxParticleCollectionRate.Size = new System.Drawing.Size(80, 20); this.textBoxParticleCollectionRate.TabIndex = 5; this.textBoxParticleCollectionRate.Text = ""; this.textBoxParticleCollectionRate.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxParticleCollectionRate.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxCollectionEfficiency // this.textBoxCollectionEfficiency.Location = new System.Drawing.Point(0, 20); this.textBoxCollectionEfficiency.Name = "textBoxCollectionEfficiency"; this.textBoxCollectionEfficiency.Size = new System.Drawing.Size(80, 20); this.textBoxCollectionEfficiency.TabIndex = 2; this.textBoxCollectionEfficiency.Text = ""; this.textBoxCollectionEfficiency.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxCollectionEfficiency.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxDriftVelocity // this.textBoxDriftVelocity.Location = new System.Drawing.Point(0, 120); this.textBoxDriftVelocity.Name = "textBoxDriftVelocity"; this.textBoxDriftVelocity.Size = new System.Drawing.Size(80, 20); this.textBoxDriftVelocity.TabIndex = 7; this.textBoxDriftVelocity.Text = ""; this.textBoxDriftVelocity.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxDriftVelocity.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxTotalSurfaceArea // this.textBoxTotalSurfaceArea.Location = new System.Drawing.Point(0, 140); this.textBoxTotalSurfaceArea.Name = "textBoxTotalSurfaceArea"; this.textBoxTotalSurfaceArea.Size = new System.Drawing.Size(80, 20); this.textBoxTotalSurfaceArea.TabIndex = 8; this.textBoxTotalSurfaceArea.Text = ""; this.textBoxTotalSurfaceArea.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxTotalSurfaceArea.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxMassFlowRateOfParticleLostToGasOutlet // this.textBoxMassFlowRateOfParticleLostToGasOutlet.Location = new System.Drawing.Point(0, 100); this.textBoxMassFlowRateOfParticleLostToGasOutlet.Name = "textBoxMassFlowRateOfParticleLostToGasOutlet"; this.textBoxMassFlowRateOfParticleLostToGasOutlet.Size = new System.Drawing.Size(80, 20); this.textBoxMassFlowRateOfParticleLostToGasOutlet.TabIndex = 6; this.textBoxMassFlowRateOfParticleLostToGasOutlet.Text = ""; this.textBoxMassFlowRateOfParticleLostToGasOutlet.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxMassFlowRateOfParticleLostToGasOutlet.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // ElectrostaticPrecipitatorValuesControl // this.Controls.Add(this.textBoxMassFlowRateOfParticleLostToGasOutlet); this.Controls.Add(this.textBoxTotalSurfaceArea); this.Controls.Add(this.textBoxDriftVelocity); this.Controls.Add(this.textBoxCollectionEfficiency); this.Controls.Add(this.textBoxParticleCollectionRate); this.Controls.Add(this.textBoxPressureDrop); this.Controls.Add(this.textBoxInletParticleLoading); this.Controls.Add(this.textBoxOutletParticleLoading); this.Name = "ElectrostaticPrecipitatorValuesControl"; this.Size = new System.Drawing.Size(80, 160); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.textBoxGasPressureDrop = new ProsimoUI.ProcessVarTextBox(); this.textBoxOutletParticleLoading = new ProsimoUI.ProcessVarTextBox(); this.textBoxCollectionEfficiency = new ProsimoUI.ProcessVarTextBox(); this.textBoxLiquidToGasRatio = new ProsimoUI.ProcessVarTextBox(); this.textBoxInletParticleLoading = new ProsimoUI.ProcessVarTextBox(); this.textBoxMassFlowRateOfParticleLostToGasOutlet = new ProsimoUI.ProcessVarTextBox(); this.textBoxParticleCollectionRate = new ProsimoUI.ProcessVarTextBox(); this.comboBoxScrubberType = new System.Windows.Forms.ComboBox(); this.SuspendLayout(); // // textBoxGasPressureDrop // this.textBoxGasPressureDrop.Location = new System.Drawing.Point(0, 20); this.textBoxGasPressureDrop.Name = "textBoxGasPressureDrop"; this.textBoxGasPressureDrop.Size = new System.Drawing.Size(80, 20); this.textBoxGasPressureDrop.TabIndex = 1; this.textBoxGasPressureDrop.Text = ""; this.textBoxGasPressureDrop.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxGasPressureDrop.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxOutletParticleLoading // this.textBoxOutletParticleLoading.Location = new System.Drawing.Point(0, 80); this.textBoxOutletParticleLoading.Name = "textBoxOutletParticleLoading"; this.textBoxOutletParticleLoading.Size = new System.Drawing.Size(80, 20); this.textBoxOutletParticleLoading.TabIndex = 4; this.textBoxOutletParticleLoading.Text = ""; this.textBoxOutletParticleLoading.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxOutletParticleLoading.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxCollectionEfficiency // this.textBoxCollectionEfficiency.Location = new System.Drawing.Point(0, 40); this.textBoxCollectionEfficiency.Name = "textBoxCollectionEfficiency"; this.textBoxCollectionEfficiency.Size = new System.Drawing.Size(80, 20); this.textBoxCollectionEfficiency.TabIndex = 2; this.textBoxCollectionEfficiency.Text = ""; this.textBoxCollectionEfficiency.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxCollectionEfficiency.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxLiquidToGasRatio // this.textBoxLiquidToGasRatio.Location = new System.Drawing.Point(0, 140); this.textBoxLiquidToGasRatio.Name = "textBoxLiquidToGasRatio"; this.textBoxLiquidToGasRatio.Size = new System.Drawing.Size(80, 20); this.textBoxLiquidToGasRatio.TabIndex = 7; this.textBoxLiquidToGasRatio.Text = ""; this.textBoxLiquidToGasRatio.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxLiquidToGasRatio.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxInletParticleLoading // this.textBoxInletParticleLoading.Location = new System.Drawing.Point(0, 60); this.textBoxInletParticleLoading.Name = "textBoxInletParticleLoading"; this.textBoxInletParticleLoading.Size = new System.Drawing.Size(80, 20); this.textBoxInletParticleLoading.TabIndex = 3; this.textBoxInletParticleLoading.Text = ""; this.textBoxInletParticleLoading.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxInletParticleLoading.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxMassFlowRateOfParticleLostToGasOutlet // this.textBoxMassFlowRateOfParticleLostToGasOutlet.Location = new System.Drawing.Point(0, 120); this.textBoxMassFlowRateOfParticleLostToGasOutlet.Name = "textBoxMassFlowRateOfParticleLostToGasOutlet"; this.textBoxMassFlowRateOfParticleLostToGasOutlet.Size = new System.Drawing.Size(80, 20); this.textBoxMassFlowRateOfParticleLostToGasOutlet.TabIndex = 6; this.textBoxMassFlowRateOfParticleLostToGasOutlet.Text = ""; this.textBoxMassFlowRateOfParticleLostToGasOutlet.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxMassFlowRateOfParticleLostToGasOutlet.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxParticleCollectionRate // this.textBoxParticleCollectionRate.Location = new System.Drawing.Point(0, 100); this.textBoxParticleCollectionRate.Name = "textBoxParticleCollectionRate"; this.textBoxParticleCollectionRate.Size = new System.Drawing.Size(80, 20); this.textBoxParticleCollectionRate.TabIndex = 5; this.textBoxParticleCollectionRate.Text = ""; this.textBoxParticleCollectionRate.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxParticleCollectionRate.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // comboBoxScrubberType // this.comboBoxScrubberType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxScrubberType.Items.AddRange(new object[] { "General", "Condensing" }); this.comboBoxScrubberType.Location = new System.Drawing.Point(0, 0); this.comboBoxScrubberType.Name = "comboBoxScrubberType"; this.comboBoxScrubberType.Size = new System.Drawing.Size(80, 21); this.comboBoxScrubberType.TabIndex = 8; this.comboBoxScrubberType.SelectedIndexChanged += new System.EventHandler(this.comboBoxScrubberType_SelectedIndexChanged); // // WetScrubberValuesControl // this.Controls.Add(this.comboBoxScrubberType); this.Controls.Add(this.textBoxParticleCollectionRate); this.Controls.Add(this.textBoxMassFlowRateOfParticleLostToGasOutlet); this.Controls.Add(this.textBoxInletParticleLoading); this.Controls.Add(this.textBoxGasPressureDrop); this.Controls.Add(this.textBoxOutletParticleLoading); this.Controls.Add(this.textBoxCollectionEfficiency); this.Controls.Add(this.textBoxLiquidToGasRatio); this.Name = "WetScrubberValuesControl"; this.Size = new System.Drawing.Size(80, 160); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.textBoxGasPressureDrop = new ProsimoUI.ProcessVarTextBox(); this.textBoxOutletParticleLoading = new ProsimoUI.ProcessVarTextBox(); this.textBoxCollectionEfficiency = new ProsimoUI.ProcessVarTextBox(); this.textBoxLiquidToGasRatio = new ProsimoUI.ProcessVarTextBox(); this.textBoxInletParticleLoading = new ProsimoUI.ProcessVarTextBox(); this.textBoxMassFlowRateOfParticleLostToGasOutlet = new ProsimoUI.ProcessVarTextBox(); this.textBoxParticleCollectionRate = new ProsimoUI.ProcessVarTextBox(); this.textBoxCoolingDuty = new ProsimoUI.ProcessVarTextBox(); this.textBoxLiquidRecirculationMassFlowRate = new ProsimoUI.ProcessVarTextBox(); this.textBoxLiquidRecirculationVolumeFlowRate = new ProsimoUI.ProcessVarTextBox(); this.SuspendLayout(); // // textBoxGasPressureDrop // this.textBoxGasPressureDrop.Location = new System.Drawing.Point(0, 0); this.textBoxGasPressureDrop.Name = "textBoxGasPressureDrop"; this.textBoxGasPressureDrop.Size = new System.Drawing.Size(80, 20); this.textBoxGasPressureDrop.TabIndex = 1; this.textBoxGasPressureDrop.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxGasPressureDrop.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxOutletParticleLoading // this.textBoxOutletParticleLoading.Location = new System.Drawing.Point(0, 60); this.textBoxOutletParticleLoading.Name = "textBoxOutletParticleLoading"; this.textBoxOutletParticleLoading.Size = new System.Drawing.Size(80, 20); this.textBoxOutletParticleLoading.TabIndex = 4; this.textBoxOutletParticleLoading.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxOutletParticleLoading.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxCollectionEfficiency // this.textBoxCollectionEfficiency.Location = new System.Drawing.Point(0, 20); this.textBoxCollectionEfficiency.Name = "textBoxCollectionEfficiency"; this.textBoxCollectionEfficiency.Size = new System.Drawing.Size(80, 20); this.textBoxCollectionEfficiency.TabIndex = 2; this.textBoxCollectionEfficiency.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxCollectionEfficiency.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxLiquidToGasRatio // this.textBoxLiquidToGasRatio.Location = new System.Drawing.Point(0, 140); this.textBoxLiquidToGasRatio.Name = "textBoxLiquidToGasRatio"; this.textBoxLiquidToGasRatio.Size = new System.Drawing.Size(80, 20); this.textBoxLiquidToGasRatio.TabIndex = 8; this.textBoxLiquidToGasRatio.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxLiquidToGasRatio.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxInletParticleLoading // this.textBoxInletParticleLoading.Location = new System.Drawing.Point(0, 40); this.textBoxInletParticleLoading.Name = "textBoxInletParticleLoading"; this.textBoxInletParticleLoading.Size = new System.Drawing.Size(80, 20); this.textBoxInletParticleLoading.TabIndex = 3; this.textBoxInletParticleLoading.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxInletParticleLoading.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxMassFlowRateOfParticleLostToGasOutlet // this.textBoxMassFlowRateOfParticleLostToGasOutlet.Location = new System.Drawing.Point(0, 100); this.textBoxMassFlowRateOfParticleLostToGasOutlet.Name = "textBoxMassFlowRateOfParticleLostToGasOutlet"; this.textBoxMassFlowRateOfParticleLostToGasOutlet.Size = new System.Drawing.Size(80, 20); this.textBoxMassFlowRateOfParticleLostToGasOutlet.TabIndex = 6; this.textBoxMassFlowRateOfParticleLostToGasOutlet.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxMassFlowRateOfParticleLostToGasOutlet.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxParticleCollectionRate // this.textBoxParticleCollectionRate.Location = new System.Drawing.Point(0, 80); this.textBoxParticleCollectionRate.Name = "textBoxParticleCollectionRate"; this.textBoxParticleCollectionRate.Size = new System.Drawing.Size(80, 20); this.textBoxParticleCollectionRate.TabIndex = 5; this.textBoxParticleCollectionRate.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxParticleCollectionRate.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxCoolingDuty // this.textBoxCoolingDuty.Location = new System.Drawing.Point(0, 120); this.textBoxCoolingDuty.Name = "textBoxCoolingDuty"; this.textBoxCoolingDuty.Size = new System.Drawing.Size(80, 20); this.textBoxCoolingDuty.TabIndex = 7; this.textBoxCoolingDuty.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxCoolingDuty.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxLiquidRecirculationMassFlowRate // this.textBoxLiquidRecirculationMassFlowRate.Location = new System.Drawing.Point(0, 160); this.textBoxLiquidRecirculationMassFlowRate.Name = "textBoxLiquidRecirculationMassFlowRate"; this.textBoxLiquidRecirculationMassFlowRate.Size = new System.Drawing.Size(80, 20); this.textBoxLiquidRecirculationMassFlowRate.TabIndex = 9; this.textBoxLiquidRecirculationMassFlowRate.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxLiquidRecirculationMassFlowRate.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // textBoxLiquidRecirculationVolumeFlowRate // this.textBoxLiquidRecirculationVolumeFlowRate.Location = new System.Drawing.Point(0, 180); this.textBoxLiquidRecirculationVolumeFlowRate.Name = "textBoxLiquidRecirculationVolumeFlowRate"; this.textBoxLiquidRecirculationVolumeFlowRate.Size = new System.Drawing.Size(80, 20); this.textBoxLiquidRecirculationVolumeFlowRate.TabIndex = 10; this.textBoxLiquidRecirculationVolumeFlowRate.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxLiquidRecirculationVolumeFlowRate.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // ScrubberCondenserValuesControl // this.Controls.Add(this.textBoxLiquidRecirculationVolumeFlowRate); this.Controls.Add(this.textBoxLiquidRecirculationMassFlowRate); this.Controls.Add(this.textBoxCoolingDuty); this.Controls.Add(this.textBoxParticleCollectionRate); this.Controls.Add(this.textBoxMassFlowRateOfParticleLostToGasOutlet); this.Controls.Add(this.textBoxInletParticleLoading); this.Controls.Add(this.textBoxGasPressureDrop); this.Controls.Add(this.textBoxOutletParticleLoading); this.Controls.Add(this.textBoxCollectionEfficiency); this.Controls.Add(this.textBoxLiquidToGasRatio); this.Name = "ScrubberCondenserValuesControl"; this.Size = new System.Drawing.Size(80, 200); this.ResumeLayout(false); this.PerformLayout(); }
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); }