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