public void Delete()
 {
     Application.Invoke(delegate
     {
         parent.DeleteView(originalView);
     });
 }
 public void Delete()
 {
     Application.Invoke((o, args) => {
         parent.DeleteView(originalView);
     });
 }