title: VS 2017 c# forms objects from toolbox no longer creates it's piece of code
body: <p>Story:</p>
  
  <p>So I had to format my pc and re installed visual studios, this time the latest 2017 version. I am making a  windows form in c# and in the visual layout, whenever I dropped an item (let's say a richtextbox) from the toolbox, it automatically created it's "code" inside the forms. But this time it didn't. I even tried creating the method void richtextbox1 but it seems that method and the object in the visual UI are not the same thing. </p>
  
  <p>So I ask:</p>
  
  <p>1) how do I "link" a method in the code to it's object in the visual ui.</p>
  
  <p>2) how can enable the setting that everytime i create an object (button, textbox, etc) it automatically gives it a method in the forms code.</p>
  
  <p>Thanks for any help.  </p>