Ejemplo n.º 1
0
 public void UseCommandLineArgs(string[] args)
 {
     if (args != null && args.Length > 1)
     {
         for (int i = 1; i < args.Length; i++)
         {
             if (args[i].Equals("-clipboardupload", StringComparison.InvariantCultureIgnoreCase))
             {
                 UploadManager.ClipboardUpload();
             }
             else if (args[i][0] != '-')
             {
                 UploadManager.UploadFile(args[i]);
             }
         }
     }
 }
Ejemplo n.º 2
0
 private void uploadFileToolStripMenuItem_Click(object sender, EventArgs e)
 {
     UploadManager.UploadFile();
 }
Ejemplo n.º 3
0
 private void tsbFileUpload_Click(object sender, EventArgs e)
 {
     UploadManager.UploadFile();
 }