title: I get some errors if I type: Form1 form =(Form1) sender; in Program.cs is there a way to type it there?
body: <p>I am totally new to programming
  I want to write:</p>
  <pre><code>    Form1 form =(Form1) sender;
      form.ShowInTaskbar = true;
      form.Location = new Point(0, 0);
  </code></pre>
  <p>in Program.cs  but it shows some errors any help
  I have tried:</p>
  <pre><code>    Form1 form =new Form1;
      form.ShowInTaskbar = true;
      form.Location = new Point(0, 0);
  </code></pre>
  <p>but that didn't help me though</p>