public void SaveAs()
 {
     Application.Invoke(delegate
     {
         parent.NewView(view);
     });
 }
 public void SaveAs()
 {
     Application.Invoke((o, args) => {
         parent.NewView(view);
     });
 }