FolderBrowserDialog dialog = new FolderBrowserDialog();
dialog.Description = "请选择文件路径";
if (dialog.ShowDialog() == DialogResult.OK)
{
String savePath = dialog.SelectedPath;
}
SaveFileDialog dialog = new SaveFileDialog();
dialog.InitialDirectory = "D:\\TEST";
dialog.Title = "保存图像文件";
dialog.Filter = "图像文件(*.png)|*.png";
dialog.FilterIndex = 1;
dialog.FileName = "123";
if(dialog.ShowDialog() == DialogResult.OK)
{
}