Beispiel #1
0
        private Boolean ShareFile(String fullPath)
        {
            if (!VelostiScsi.IsPlugin_PubDrive)
            {
                this.Notify_Eject();
                return(false);
            }
            ShareForm sf = new ShareForm();

            sf.ShowDialog();
            if (sf.EmailAddrStr == String.Empty || sf.DialogResult == DialogResult.Cancel)
            {
                return(false);
            }
            return(this.DropBoxUser.ShareFile(sf.EmailAddrStr, fullPath));
        }
Beispiel #2
0
        private void ShareFile(String[] fullPaths)
        {
            if (!VelostiScsi.IsPlugin_PubDrive)
            {
                this.Notify_Eject();
                return;
            }
            ShareForm sf = new ShareForm();

            sf.ShowDialog();
            if (sf.EmailAddrStr == String.Empty || sf.DialogResult == DialogResult.Cancel)
            {
                return;
            }
            foreach (String fullPath in fullPaths)
            {
                this.DropBoxUser.ShareFile(sf.EmailAddrStr, fullPath);
            }
        }
Beispiel #3
0
 private void ShareFile( String[] fullPaths )
 {
     if ( !VelostiScsi.IsPlugin_PubDrive )
     {
         this.Notify_Eject();
         return;
     }
     ShareForm sf = new ShareForm();
     sf.ShowDialog();
     if ( sf.EmailAddrStr == String.Empty || sf.DialogResult == DialogResult.Cancel )
         return;
     foreach ( String fullPath in fullPaths )
     {
         this.DropBoxUser.ShareFile( sf.EmailAddrStr , fullPath );
     }
 }
Beispiel #4
0
 private Boolean ShareFile( String fullPath )
 {
     if ( !VelostiScsi.IsPlugin_PubDrive )
     {
         this.Notify_Eject();
         return false;
     }
     ShareForm sf = new ShareForm();
     sf.ShowDialog();
     if ( sf.EmailAddrStr == String.Empty || sf.DialogResult == DialogResult.Cancel )
         return false;
     return this.DropBoxUser.ShareFile( sf.EmailAddrStr , fullPath );
 }