title: Using pre-defined string for "Path" attribute in FileSystemWatcher
body: <p>I'm making a simple winforms application in <code>C#</code>, with <code>VS2010</code>. My winforms design contains a <code>FileSystemWatcher</code>, which fires a pile of code when a file is created.</p>
  
  <p>My problem is that the path for <code>FileSystemWatcher</code> needs to be defined prior to the program running, as it won't always be the same.</p>
  
  <p>I have a string called startPath which I'd like to use, but it would appear that I can't just add this to the "path" field in the <code>FileSystemWatcher</code> properties in my design.</p>
  
  <p>I was able to get it to work if I edited my <code>form1.designer.cs</code>, but as I swiftly learned this code is regenerated even if a different component of the form is edited!</p>
  
  <p>As you might have guessed, I'm still very much <em>learning</em> <code>C#.net</code> (about a week in), and am by no means experienced! If I'm missing something stupid, please point it out!</p>