Preview

image

  • Automatic browsing
  • File filtering

Usage

// create FileDialog and assign a callback method
FileDialog myFileDialog = new FileDialog(Point.Zero, guiManager,
    new FileDialog.SelectClickEventHandler((filePath) => { /* OK clicked and filePath file selected */ }));

// set some properties
// default file
myFileDialog.Filename = "c:\\test.txt";
// file filter
myFileDialog.FileFilter = "*.txt";

// show FileDialog
myFileDialog.Show();

Last edited Apr 4, 2012 at 2:37 AM by qisur, version 2

Comments

No comments yet.