Beispiel #1
0
 private void SetState(Cs state, bool value)
 {
     if (value == true)
         _States |= state;
     else
         _States &= ~state;
 }
Beispiel #2
0
 private bool TestState(Cs state)
 {
     return ((_States & state) == state);
 }