>The partial class is probably there because whoever wrote the code used the IDE Form Designer to set the basic properties. But this code doesn't bear much resemblance to the example in the link I posted (which is simpler) ?
This is the code which comes from the URL your indicated in the post.