title: winforms - point form to clone
body: <p>My program class has:</p>
  
  <pre><code>Application.Run(new Form1());
  </code></pre>
  
  <p>in form1 class I have:</p>
  
  <pre><code>model = new Model(this);
  
      private void userEnteredText()
   {
         Model clonedModel = (Model)model.Clone();
         this.myButton.Size = new System.Drawing.Size(10,5);
         MessageBox.Show("buttons made small");
         this = clonedModel;
        MessageBox.Show("clone complete and buttons restored to orig size");
  }
  </code></pre>
  
  <p>in model class I have:</p>
  
  <pre><code>    public Model(Form1 form1)
      {
          myform = form1;
      }
  
  public object Clone()
  {
     return new Model(myform);
  }
  </code></pre>
  
  <p>My initial form1 object has the size of buttons really large. After the user enters a value in a textbox: I clone the model object and call a method that makes the buttons really small. How can I then set the model object to point back to the original model object with large buttons?</p>
  
  <p>I'm getting this error:
  "Cannot assign to this because it is read-only"</p>
  
  <p>I know I can just change the button size but I need to clone the entire object because there are other original variables that I want reset.</p>