title: There is no argument given that corresponds to the required parmeter
body: <p>I have no idea what is wrong..</p>
  
  <pre><code>    public static void OnSpam(Client client)
      {
          PlayerTextPacket pkt = (PlayerTextPacket)Packet.Create(PacketType.PLAYERTEXT);
          pkt.Text = "Test";
          client.SendToServer(pkt);
      }
  
      private void button1_Click(object sender, EventArgs e)
      {
          Form1.OnSpam();
      }
  </code></pre>
  
  <p>under Form1.OnSpam(); it says "There is no argument given that corresponds to the required formal parameter 'client' of 'Form1.OnSpam(Client)'" any idea of what to do?</p>