/SWAT Office App/trunk/SWAT Office App/AboutBox.cs |
---|
15,7 → 15,7 |
InitializeComponent(); |
this.Text = "Program Info"; |
this.labelProductName.Text = "SWAT Office App"; |
this.labelVersion.Text = "Version 2.6.1"; |
this.labelVersion.Text = "Version 2.6.2"; |
this.labelCopyright.Text = "Copyright to Kevin Lee @ Virginia Tech"; |
this.labelCompanyName.Text = "Author: Kevin Lee"; |
this.textBoxDescription.Text = "This program has been written by Kevin Lee for use " + |
/SWAT Office App/trunk/SWAT Office App/Reimage_USB_Drives.cs |
---|
75,7 → 75,8 |
bwThread.RunWorkerCompleted += new RunWorkerCompletedEventHandler(bwThread_RunWorkerCompleted); |
bwThread.RunWorkerAsync(); |
progressForm = new Reimage_USB_Drive_Progress_Form(); |
progressForm.Show(); |
progressForm.Show(); |
DebugText.appendText("Beginning the reimaging of USB Drives"); |
} |
} |
else |
273,6 → 274,7 |
{ |
threadsRunning = false; |
endTime = DateTime.Now; |
DebugText.appendText("Reimaging of USB Drives started at " + startTime.ToShortTimeString() + " and ended at " + endTime.ToShortTimeString()); |
MessageBox.Show("Operation was started at " + startTime.ToShortTimeString() + " and ended successfully at " + endTime.ToShortTimeString()); |
progressForm.closeForm(); |
} |
282,6 → 284,7 |
if (e.Cancelled) |
{ |
threadsRunning = false; |
DebugText.appendText("USB reimaging operation has been cancelled"); |
MessageBox.Show("Operation was canceled"); |
progressForm.Close(); |
} |
/SWAT Office App/trunk/SWAT Office App/Settings_Form.cs |
---|
107,6 → 107,7 |
sharedFolderLocation = Settings.Element("ProgramSettings").Element("SharedFolderLocation").Value; |
usbMasterx32CopyLocation = Settings.Element("ProgramSettings").Element("USBMasterCopyx32Location").Value; |
usbMasterx64CopyLocation = Settings.Element("ProgramSettings").Element("USBMasterCopyx64Location").Value; |
DebugText.appendText("Settings from " + settingsLogLocation + " has been imported"); |
} |
else |
{ |
164,6 → 165,7 |
Settings.Element("ProgramSettings").SetElementValue("USBMasterCopyx64Location", usbMasterx64CopyLocation); |
Settings.Save("Settings.xml"); |
DebugText.appendText("Settings has been exported to " + settingsLogLocation); |
} |
catch (Exception e) |
{ |
191,6 → 193,7 |
) |
); |
Settings.Save(settingsLogLocation); |
DebugText.appendText("A default settings file has been created"); |
} |
catch (Exception e) |
{ |
/SWAT Office App/trunk/SWAT Office App/StatLogging.cs |
---|
23,6 → 23,7 |
XElement Log = XElement.Load(logFileLocation); |
AccountsCreated = int.Parse(Log.Element("AccountsCreated").Value); |
SharesCreated = int.Parse(Log.Element("SharesCreated").Value); |
DebugText.appendText("Stats from " + logFileLocation + " has been imported"); |
} |
else |
{ |
45,6 → 46,7 |
Log.SetElementValue("AccountsCreated", AccountsCreated); |
Log.SetElementValue("SharesCreated", SharesCreated); |
Log.Save(logFileLocation); |
DebugText.appendText("Stats has been exported to " + logFileLocation); |
} |
catch (Exception e) |
{ |
62,6 → 64,7 |
new XElement("SharesCreated", 0) |
); |
Log.Save(logFileLocation); |
DebugText.appendText("A blank stat logging file has been created"); |
} |
catch (Exception e) |
{ |
/SWAT Office App/trunk/SWAT Office App/bin/Debug/SWAT Office App.exe |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/SWAT Office App/trunk/SWAT Office App/bin/Debug/SWAT Office App.pdb |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/SWAT Office App/trunk/SWAT Office App/bin/Debug/StatusLog.txt |
---|
138,3 → 138,4 |
[Saturday, June 18, 2011 | 12:24:04 PM] -- Account D has been deleted |
[Saturday, June 18, 2011 | 12:24:04 PM] -- Account E has been deleted |
-- New Session -- |
-- New Session -- |
/SWAT Office App/trunk/SWAT Office App/bin/Release/SWAT Office App.exe |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/SWAT Office App/trunk/SWAT Office App/bin/Release/SWAT Office App.pdb |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/SWAT Office App/trunk/SWAT Office App/obj/x86/Debug/SWAT Office App.exe |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/SWAT Office App/trunk/SWAT Office App/obj/x86/Debug/SWAT Office App.pdb |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/SWAT Office App/trunk/SWAT Office App/obj/x86/Release/GenerateResource.read.1.tlog |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/SWAT Office App/trunk/SWAT Office App/obj/x86/Release/SWAT Office App.exe |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/SWAT Office App/trunk/SWAT Office App/obj/x86/Release/SWAT Office App.pdb |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/SWAT Office App/trunk/SWAT Office App.sln.docstates |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/SWAT Office App/trunk/SWAT Office App.suo |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |