Example #1
0
 public BcfControl(int pPosition, bcfControlType pType)
 {
     mPosition = pPosition;
     mType     = pType;
     Name      = string.Format("{0} {1}", pType, pPosition);
     BcfAction = new Action.BcfAction();
 }
Example #2
0
        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);
        }