How do I show a Save As dialog in WPF?

后端 未结 6 2121
鱼传尺愫
鱼传尺愫 2020-12-13 08:46

I have a requirement in WPF/C# to click on a button, gather some data and then put it in a text file that the user can download to their machine. I can get the first half of

6条回答
  •  醉话见心
    2020-12-13 09:19

    SaveFileDialog is in the Microsoft.Win32 namespace - might save you the 10 minutes it took me to figure this out.

提交回复
热议问题