Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OpenFileDialog openFileDialog1 = new OpenFileDialog();
- OpenFileDialog1.InitialDirectory = "c:\" ;
- openFileDialog1.Filter = "txt files (*.txt)|*.txt|All files (*.*)|*.*" ;
- openFileDialog1.FilterIndex = 2 ;
- openFileDialog1.RestoreDirectory = true ;
Add Comment
Please, Sign In to add comment