Open File Dialog Window (Прозорец за избор на файл)

PHOTO EMBED

Mon Aug 22 2022 11:12:56 GMT+0000 (UTC)

Saved by @HristoT #c#

 using (var dlg = new OpenFileDialog())
 {
     dlg.Title = "Choose file";
     dlg.InitialDirectory = "d:\\";
     dlg.RestoreDirectory = true;
     
     // Google the needed filter for the file extension
     dlg.Filter = "Firebird|*.GDB";
     dlg.Multiselect = false;

     if (dlg.ShowDialog() == DialogResult.OK)
     {
         // Do the logic here
     }
}
content_copyCOPY