I just started with WPF. Moved from Window Form.
Where do those openDialog, saveDialog gone? And a bunch of stuff.
Arsen Mkrtchyan
Look in Microsoft.Win32
namespace
OpenFileDialog openDialog = new OpenFileDialog();
if (openDialog.ShowDialog().Value)
{
..........
}
And the same for SaveFileDialog
SaveFileDialog saveDialog = new SaveFileDialog();
if (saveDialog.ShowDialog().Value)
{
..........
}
来源:https://stackoverflow.com/questions/1339783/opendialog-for-wpf