InvalidOperationException In c# how to go about it
<p>I have made a quiz form .</p>

<p>This first form is welcome form that contains 2 buttons: register and start test.  When you click on start test the click event of the button runs this code</p>

<pre><code>Quiz_interface obj1 = new Quiz_interface();
obj1.Visible = true;
</code></pre>

<p>to opening a new form for displaying questions . </p>

<p>Now the problem part :</p>

<p>If I add another button or image in this quiz_interface part and add click event with this code</p>

<pre><code>result obj2 = new result();
obj2.Visible = true;
</code></pre>

<p>I get this error <code>InvalidOperationException handled.  Failed to initialize because catogory name was missing.</code></p>

<p>What is the possible way around for this?</p>
