Created
December 11, 2017 14:21
-
-
Save nhoxbypass/4c3b7eaf96556e0e21d815e96d68eb29 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private void button1_Click(object sender, EventArgs e) | |
| { | |
| // Show hộp thoại open file ra | |
| // Nhận kết quả trả về qua biến kiểu DialogResult | |
| DialogResult result = openFileDialog1.ShowDialog(); | |
| //Kiểm tra xem người dùng đã chọn file chưa | |
| if(result == DialogResult.OK) | |
| { | |
| // Gán .... | |
| // Xử lý... | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment