1
Fork 0

added global form and removed pointless variable

This commit is contained in:
Jake Howard 2014-12-08 15:21:13 +00:00
parent 8ebf8d5e9e
commit b9394ce5e7
1 changed files with 1 additions and 1 deletions

View File

@ -19,6 +19,7 @@ namespace Saviour_Backup_System
public static addBackupWizard ABW;
public static splashScreen SS;
public static currentTransfers CT = new currentTransfers();
public static backupViewer BV;
public static string username = Environment.UserName; //snapshots the username
public static void initProgram(string[] args) {
@ -56,7 +57,6 @@ namespace Saviour_Backup_System
{
string directory = databaseTools.getBackupDirectory(id);
string name = databaseTools.getDriveName(id);
DriveInfo backupDrive;
foreach (DriveInfo drive in USBTools.getConnectedDrives())
{
if (drive.VolumeLabel == name)