internal void Draw() { lockMode = ComponentList.LockModes.Error; foreach (Component component in components) { if (component.Visible == true) { component.Draw(); } } lockMode = ComponentList.LockModes.Open; }
internal void Update() { lockMode = ComponentList.LockModes.Locked; foreach (Component component in components) { if (component.Active == true) { component.Update(); } } lockMode = ComponentList.LockModes.Open; }
public LockModeAttribute(LockModes lockModeToUse) { RequestedLockMode = lockModeToUse; }