public WinDirectoryDialog(string title)
 {
     _openFileName            = new OpenFileName();
     _openFileName.structSize = Marshal.SizeOf(_openFileName);
     _openFileName.file       = new string(new char[256]);
     _openFileName.maxFile    = _openFileName.file.Length;
     _openFileName.title      = title;
 }
Esempio n. 2
0
 public static extern bool GetSaveFileName([In, Out] OpenFileName ofn);