title: Accessing private functions on another form
body: <p>I have a function named <code>private void QuizReset()</code> on a form called <code>FormMain</code> and I was wondering if there was a way to access it on a form named <code>Form2</code> without getting build errors? Might seem like a really simple question or something I'm missing, but I've tried changing it from private to public and I mustn't be doing it right as I get build errors and such. I'm all up for modifying it if it can be done without errors. If anyone could help me out that'd be great.</p>
  
  <p>Thank you.</p>
  
  <p>The current code for the function is:</p>
  
  <pre><code>private void QuizReset()
      {
          //resets the difficulty selection control and shows it again upon resetting the quiz
          difficultySelectionControl.Reset();
          difficultySelectionControl.BringToFront();
  
          btnNext.Enabled = false;
          lblStatus.Text = "Please select a difficulty";
  
          iCorrectACount = 0;
          iCurrentQIndex = 0;
      }
  </code></pre>