how to change and write static void
<p>I have problem in writing the code in windows form application my problem is 
I need to write </p>

<pre><code>private static void DownloadFiles(IEnumerable&lt;string&gt; filenames, 
    string uri, string localPath, string user, string password)
</code></pre>

<p>However, when I write it, I get the following error:</p>

<pre><code>'WindowsFormsApplication10.Form1' does not contain a definition for 'Form1_Load' and no extension method 'Form1_Load' accepting a first argument of type 'WindowsFormsApplication10.Form1' could be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\WindowsFormsApplication10\WindowsFormsApplication10\Form1.Designer.cs  
</code></pre>

<p>Please help me 
Thanks in advance</p>
