title: How to check if "Radiobutton" is checked?
body: <p>I would like to make a structure with the condition (if-else) <code>RadioButton</code></p>
  
  <p>I want that when the Radiobutton <em>RB1</em> is selected, this function is active:</p>
  
  <pre><code>regAuxiliar = ultimoRegistro;
  </code></pre>
  
  <p>And when the radiobutton <em>RB2</em> is selected, this function is active:</p>
  
  <pre><code>regAuxiliar = objRegistro;
  </code></pre>
  
  <p>And sorry for my English, I'm Brazilian.</p>