HectiqueExploits

Open File Dialog Winforms C#

Jun 5th, 2020
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.24 KB | None | 0 0
  1. //Code made by Hectique on WeAreDevs
  2. //Make sure to add a OpenFileDialog before using the script
  3. openFileDialog1.ShowDialog;
  4. string filename = openFileDialog1.FileName;
  5. string readfile = File.ReadAllText(filename);
  6. textBoxName.Text = readfile;
Advertisement
Add Comment
Please, Sign In to add comment