public BcfControl(int pPosition, bcfControlType pType) { mPosition = pPosition; mType = pType; Name = string.Format("{0} {1}", pType, pPosition); BcfAction = new Action.BcfAction(); }
private List <BcfControl> InitList(bcfControlType pType, int pCount) { List <BcfControl> list = new List <BcfControl>(); for (int i = 0; i < pCount; i++) { list.Add(new BcfControl(i, pType)); } mAllControls.AddRange(list); return(list); }