title: Make Button Enabled after bools are true
body: <p>I need make Button active if theese three bools are true</p>
  
  <pre><code>public bool isFileOpened = false;
  public bool isDrive = false;
  public bool  isPrice = false;
  </code></pre>
  
  <p>They are becoming true after two textboxes are filled and 
  filePath string is not empty</p>
  
  <pre><code>private void textBox1_TextChanged(object sender, EventArgs e) {
      drive = CheckIntInput(sender, "not valid");
      if (drive != 0) {
          isDrive = true;
      }
  }
  private void textBox2_TextChanged(object sender, EventArgs e) {
      price = CheckIntInput(sender, "not valid");
      if (price != 0) {
          isPrice = true;
      }
  }
  private void openFileDialog1_FileOk(object sender, System.ComponentModel.CancelEventArgs e) {
      filePath = openFileDialog1.FileName;
      label1.Text = filePath;
      isFileOpened = true;  
  }
  </code></pre>
  
  <p><code>CheckIntInput</code> method returning number from  textBox or 0 if can`t convert string to number</p>
  
  <p>And how i can make something like this:</p>
  
  <pre><code>if (isFileOpened &amp;&amp; isDrive &amp;&amp; isPrice) {
      showButton.Enabled = true;
  }
  </code></pre>
  
  <p>I want to make button enabled immediately after all three bools becomes true, and theese three fields can be inputted in different ways, like</p>
  
  <ol>
  <li>textbox1</li>
  <li>textbox2</li>
  <li>openfiledialog1</li>
  </ol>
  
  <p>or</p>
  
  <ol>
  <li>textbox1</li>
  <li>openfiledialog1</li>
  <li>textbox2</li>
  </ol>