Guest User

Untitled

a guest
Oct 18th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. private void button1_Click(object sender, EventArgs e)
  2. {
  3. OpenFileDialog dialog = new OpenFileDialog();
  4. if (dialog.ShowDialog() == DialogResult.OK)
  5. {
  6. string str = dialog.FileName;
  7. textBox1.Text = str;
  8. }
  9. }
Add Comment
Please, Sign In to add comment