views:

1121

answers:

2
+1  Q: 

OpenDialog for WPF

I just started with WPF. Moved from Window Form.

Where do those openDialog, saveDialog gone? And a bunch of stuff.

+3  A: 

check the following link:Dialog Boxes Overview in WPF

Wael Dalloul
Thanks a lot for the article..very helpful
priyanka.sarkar_2
+5  A: 

Look in Microsoft.Win32 namespace

OpenFileDialog openDialog = new OpenFileDialog();
if (openDialog.ShowDialog().Value)
{
      ..........
}

And the same for sevedialog

SaveFileDialog saveDialog = new SaveFileDialog();
if (saveDialog.ShowDialog().Value)
{
      ..........
}
ArsenMkrt
These are hard to set up, in the old Window Form there is easy options, anyway thanks.
Jonathan Shepherd