Esempio n. 1
0
 public void Upload()
 {
     if (textBox1.Text != string.Empty)
     {
         string fileName   = textBox1.Text + ".jpg";
         string sourceFile = txtPath.Text;
         BwUpload.RunWorkerAsync();
         pnlProgress.Visible = true;
     }
 }
Esempio n. 2
0
 public void Upload()
 {
     if (textBox1.Text != string.Empty)
     {
         string fileName   = textBox1.Text + ".jpg";
         string sourceFile = txtPath.Text;
         BwUpload.RunWorkerAsync();
         pnlProgress.Visible = true;
     }
     //if (ConnectionDirectory.ConnectNetwork248())
     //{
     //    ConnectionDirectory.SaveACopyfileToServer248(sourceFile, fileName);
     //}
     //MessageBox.Show("succes");
 }