public WaterStreamControl(Flowsheet flowsheet, Point location, WaterStream waterStream, StreamOrientation orientation) : base(flowsheet, location, waterStream, orientation) { InitializeComponent(); this.Size = new System.Drawing.Size(UI.STREAM_CTRL_W, UI.STREAM_CTRL_H); UI.SetStatusColor(this, this.WaterStream.SolveState); //this.Orientation = StreamOrientation.Right; this.UpdateBackImage(); this.flowsheet.ConnectionManager.UpdateConnections(this); this.Name = "Water Stream: " + waterStream.Name; }
public MaterialStreamControl(Flowsheet flowsheet, Point location, DryingMaterialStream materialStream, StreamOrientation orientation) : base(flowsheet, location, materialStream, orientation) { if (materialStream.MaterialStateType == MaterialStateType.Liquid) { this.Name = "Material Stream (Liquid): " + materialStream.Name; } else if (materialStream.MaterialStateType == MaterialStateType.Solid) { this.Name = "Material Stream (Solid): " + materialStream.Name; } }
public GasStreamControl(Flowsheet flowsheet, Point location, DryingGasStream gasStream, StreamOrientation orientation) : base(flowsheet, location, gasStream, orientation) { InitializeComponent(); this.Name = "Gas Stream: " + gasStream.Name; }
public ProcessStreamBaseControl(Flowsheet flowsheet, Point location, ProcessStreamBase processStreamBase, StreamOrientation orientation) : base(flowsheet, location, processStreamBase) { // This call is required by the Windows.Forms Form Designer. InitializeComponent(); this.Orientation = orientation; this.flowsheet.ConnectionManager.UpdateConnections(this); }
public DryingStreamControl(Flowsheet flowsheet, Point location, DryingStream dryingStream, StreamOrientation orientatin) : base(flowsheet, location, dryingStream, orientatin) { // This call is required by the Windows.Forms Form Designer. InitializeComponent(); }