title: How to get Checkbox value from a public class which is not in the form
body: <p>I have a checkbox located in a form and I want to get its value from a public class not in the form. It should something like follows.</p>
  
  <pre><code>public class Employee
  {
      // ...
  
      public string LookUpName(string doc)
      {
          if (checkbox1.checked == true)
          {
              return something;
          }
          else 
              return something;
      }
  }  
  </code></pre>
  
  <p>The problem in this way that the checkbox is not recognized in the class <code>LookUpName</code>. Any help please ? Many thanks.</p>