title: How to check If method is executed?
body: <p>I need to prevent some methods execution when an other method is executed  that's why i think to check if that last did. The problem i didn't find a helpful solution, any ideas please.</p>
  
  <pre><code>private void LoadScenarioNumber()
  {
          //some code
  }
  
  private void NumberOfScenariosChanged(Object sender, EventArgs e)
  {
  
     //if LoadScenarioNumber() is excuted
         return;
     else
         UpdateScenarioDataGrid();
  
  }
  </code></pre>