I'm using Microsoft.Win32.SaveFileDialog
class to save my files. When I saved file, and minimize my app, I can't restore it back. It happens only after when used Microsoft.Win32.SaveFileDialog
. Here is code:
Microsoft.Win32.SaveFileDialog dlg = new Microsoft.Win32.SaveFileDialog();
dlg.FileName = String.Format("{0} {1} {2}", ev["b"], ev["a"], ev["c"]);
dlg.DefaultExt = ".csv";
dlg.Filter = "Supported format (.csv)|*.csv";
Nullable<bool> result = dlg.ShowDialog();
if (result == true)
{
string s = dlg.FileName;
//other code
}
File saves successfully, but I don't know how to solve problem with minimizing. Does anybody knows what it could be?
//other code
? – Innervate