예제 #1
0
 private void DownloadFile1_Click(object sender, EventArgs e)
 {
     if (OpenFileDialog1.ShowDialog() == DialogResult.OK)
     {
         WorkWithFiles file = new WorkWithFiles(OpenFileDialog1.FileName);
         TextBox1.Lines = file.Text;
         OpenFileDialog1.Dispose();
     }
 }