private void PopulateStreamList(EvaporationAndDryingSystem evapAndDryingSystem) { IEnumerator e = evapAndDryingSystem.GetStreamList().GetEnumerator(); while (e.MoveNext()) { ProcessStreamBase psb = (ProcessStreamBase)e.Current; this.solvableVariablesControlStream.ListBoxSolvable.Items.Add(psb); } }
private void PopulateParameterStreamList(EvaporationAndDryingSystem system) { this.solvableVariablesControlParameter.ProcessVarListType = ProcessVariableListType.Specified; IEnumerator e = system.GetStreamList().GetEnumerator(); while (e.MoveNext()) { ProcessStreamBase psb = (ProcessStreamBase)e.Current; this.solvableVariablesControlParameter.ListBoxSolvable.Items.Add(psb); } }