Пример #1
0
 internal void Draw()
 {
     lockMode = ComponentList.LockModes.Error;
     foreach (Component component in components)
     {
         if (component.Visible == true)
         {
             component.Draw();
         }
     }
     lockMode = ComponentList.LockModes.Open;
 }
Пример #2
0
 internal void Update()
 {
     lockMode = ComponentList.LockModes.Locked;
     foreach (Component component in components)
     {
         if (component.Active == true)
         {
             component.Update();
         }
     }
     lockMode = ComponentList.LockModes.Open;
 }
Пример #3
0
 public LockModeAttribute(LockModes lockModeToUse)
 {
     RequestedLockMode = lockModeToUse;
 }
Пример #4
0
 public LockModeAttribute(LockModes lockModeToUse)
 {
     RequestedLockMode = lockModeToUse;
 }