Beispiel #1
0
 private void downloadFileHereToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (formDownloadFile dl = new formDownloadFile())
     {
         if (dl.ShowDialog() != DialogResult.OK)
         {
             return;
         }
         Client.Send((byte)NetworkCommand.DownloadFile, dl.URL, Path.Combine(CurrentDirectory, dl.FileName));
     }
 }
Beispiel #2
0
 private void downloadFileHereToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (formDownloadFile dl = new formDownloadFile())
     {
         if (dl.ShowDialog() != DialogResult.OK)
             return;
         Client.Send((byte)NetworkCommand.DownloadFile, dl.URL, Path.Combine(CurrentDirectory, dl.FileName));
     }
 }