Exemplo 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;
     }
 }
Exemplo 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");
 }