wpf应用SaveFileDialog问题

wpf要用SaveFileDialog对话框,需要引用using Microsoft.Win32;

若引用using System.Windows.Forms;当pSaveDialog.ShowDialog() == DialogResult.OK会出现错误,因为这是winform应用的,

若是wpf,则可用pSaveDialog.ShowDialog() == true

你可能感兴趣的:(AE开发,wpf)