private void SaveImage()
 {
     SaveDialog(GraphicsCore.SaveImage(GenerateFilename(".png")));
 }