示例#1
0
 private static void scp_OnEnd(int transferredBytes, int totalBytes, string message)
 {
     progressBar.Update(transferredBytes, totalBytes, message);
     progressBar = null;
 }
示例#2
0
 private static void scp_OnConnecting(int transferredBytes, int totalBytes, string message)
 {
     Console.WriteLine();
     progressBar = new ConsoleProgressBar();
     progressBar.Update(transferredBytes, totalBytes, message);
 }