ParamValues() retval IList->ICollection, GetControl() arg. is a list of components, ver. 3.1.1598
This commit is contained in:
@@ -230,7 +230,7 @@ namespace TBF.UI.Bench.EditSchDrawing
|
||||
IComponentFactory factory = selectComponentTypeDlg.SlctdCmpntFactory;
|
||||
IComponentCfg cfg = factory.DefaultConfig();
|
||||
|
||||
IComponentCfgCtrl cfgControl = cfg.GetControl();
|
||||
IComponentCfgCtrl cfgControl = cfg.GetControl(cmpntEntities);
|
||||
cfgControl.Config = cfg;
|
||||
cfgControl.Config.ItemNr = (cmpntEntities.Count > 0) ? (cmpntEntities[cmpntEntities.Count - 1].ItemNr + 1) : 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user