You could have a base class for all your classes with a static member variable. Having it "Protected" also prevents other classes from touching it, only the ones that inherit from Base can use it. Depending on the situation this may or may not be the best/finest solution.
Code:
class Base
{
  protected static bool Flag = false;
}

class Child1 : Base
{
  public void DoStuff()
  {
    if(Flag) return;
  }
}

class Child2 : Base
{
  public void DoMoreStuff()
  {
    if(Flag) return;
  }
}