code_junkie

./ changes target when i use OpenFileDialog

Nov 13th, 2011
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. OpenFileDialog openFileDialog1 = new OpenFileDialog();
  2.  
  3. OpenFileDialog1.InitialDirectory = "c:\" ;
  4. openFileDialog1.Filter = "txt files (*.txt)|*.txt|All files (*.*)|*.*" ;
  5. openFileDialog1.FilterIndex = 2 ;
  6. openFileDialog1.RestoreDirectory = true ;
Add Comment
Please, Sign In to add comment