public void TearDown()
 {
     if (form != null)
     {
         form.Dispose();
         form = null;
     }
 }
 public void SetUp()
 {
     form = new GestureTestForm();
     form.Show();
     factory = new GestureFactory(this.form);
 }