OpenFileDialog : OpenFileDialog : GUI Windows Forms C# Examples


C# Examples » GUI Windows Forms » OpenFileDialog »

 

OpenFileDialog








    
using  System;
using  System.Windows.Forms;

public  class  OpenFileDialogDisplay  {

    public  static  void  Main()  {
    OpenFileDialog  dlgOpen  =  new  OpenFileDialog();
    if  (dlgOpen.ShowDialog()  ==  DialogResult.OK){
        Console.Write(dlgOpen.FileName);
        }
    }
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo GUI Windows Forms
» OpenFileDialog