Call ShowDialog method to show the dialog
using System;
using System.Windows.Forms;
class MainClass {
static void Main(string[] args) {
SaveFileDialog dlg = new SaveFileDialog();
if (dlg.ShowDialog() == DialogResult.OK) {
Console.WriteLine(dlg.FileName);
}
}
}
|
HTML code for linking to this page:
Related in same category :
-
-
-
|