protected void AttachCommands() { // have our update object add its commands to the child controls. for (int indexCard = 0; indexCard < listControls.Count; indexCard++) { IControl control = listControls[indexCard] as IControl; updateObj.AddCommandsToControl(control); } }