title: Form object not displaying properly
body: <p>I never created form objects in .net before so please bear with me. 
  I have a form that is full of textboxes, comboboxes, grids, etc... In some instances we need to look at previous data as readonly and the former programmer created a separate winform which means when one form changes they both have to change. I proposed using an object of the form and make everything on it as readonly or disabled. ReadOnly for text boxes so the users can copy text.</p>
  
  <p>In my class I define the object: <strong>Private objfrmFMReadOnly As frmFM</strong></p>
  
  <p>When the user double-clicks a record in a grid I have the following: </p>
  
  <pre><code>    objfrmFMReadOnly = New frmFM
      CreateReadOnlyForm()
  </code></pre>
  
  <p><strong>CreateReadOnlyForm</strong> is where I make all textboxes as readonly and other certain controls disabled. I also make the main mdiparent as the parent of the object form.</p>
  
  <p>I then use <strong>objfrmFMReadOnly.Show()</strong> to show the object form. In the load event I read the name of <strong>Me.Name</strong> to determine which code to run:</p>
  
  <pre><code>Select Case Me.Name
      Case "FM"
          PerformPreloadWork()
      Case "ReadOnlyFM"
  
  End Select
  </code></pre>
  
  <p>As you can see nothing happens for the readonly object (yet), however, after <strong>End Sub</strong> the <strong>Deactivate</strong> event fires for the original form which I do not want. When I skip over the Deactivate event code the object appears to display the way I want. But now the original form has been shrunk to only the title bar and when I try to expand it the Deactivate event wants to run again. 
  I feel I'm close yet so far away.
  Can someone please help with what I need to do to create the form object?</p>