Answers for "public openfiledialog c#"

C#
0

OpenFileDialog c#

OpenFileDialog fileDialog= new OpenFileDialog(); 
fileDialog.DefaultExt = ".txt"; // Required file extension 
fileDialog.Filter = "Text documents (.txt)|*.txt"; // Optional file extensions

fileDialog.ShowDialog();
Posted by: Guest on September-24-2021

C# Answers by Framework

Browse Popular Code Answers by Language