Subversion Repositories Code-Repo

Compare Revisions

No changes between revisions

Ignore whitespace Rev 101 → Rev 102

/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/About_Box.Designer.cs
0,0 → 1,186
namespace SWAT_Office_App
{
partial class About_Box_Form
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
 
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
 
#region Windows Form Designer generated code
 
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(About_Box_Form));
this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
this.logoPictureBox = new System.Windows.Forms.PictureBox();
this.labelProductName = new System.Windows.Forms.Label();
this.labelVersion = new System.Windows.Forms.Label();
this.labelCopyright = new System.Windows.Forms.Label();
this.labelCompanyName = new System.Windows.Forms.Label();
this.textBoxDescription = new System.Windows.Forms.TextBox();
this.okButton = new System.Windows.Forms.Button();
this.tableLayoutPanel.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).BeginInit();
this.SuspendLayout();
//
// tableLayoutPanel
//
this.tableLayoutPanel.ColumnCount = 2;
this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33F));
this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 67F));
this.tableLayoutPanel.Controls.Add(this.logoPictureBox, 0, 0);
this.tableLayoutPanel.Controls.Add(this.labelProductName, 1, 0);
this.tableLayoutPanel.Controls.Add(this.labelVersion, 1, 1);
this.tableLayoutPanel.Controls.Add(this.labelCopyright, 1, 2);
this.tableLayoutPanel.Controls.Add(this.labelCompanyName, 1, 3);
this.tableLayoutPanel.Controls.Add(this.textBoxDescription, 1, 4);
this.tableLayoutPanel.Controls.Add(this.okButton, 1, 5);
this.tableLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel.Location = new System.Drawing.Point(9, 9);
this.tableLayoutPanel.Name = "tableLayoutPanel";
this.tableLayoutPanel.RowCount = 6;
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
this.tableLayoutPanel.Size = new System.Drawing.Size(417, 265);
this.tableLayoutPanel.TabIndex = 0;
//
// logoPictureBox
//
this.logoPictureBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.logoPictureBox.Image = ((System.Drawing.Image)(resources.GetObject("logoPictureBox.Image")));
this.logoPictureBox.Location = new System.Drawing.Point(3, 3);
this.logoPictureBox.Name = "logoPictureBox";
this.tableLayoutPanel.SetRowSpan(this.logoPictureBox, 6);
this.logoPictureBox.Size = new System.Drawing.Size(131, 259);
this.logoPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.logoPictureBox.TabIndex = 12;
this.logoPictureBox.TabStop = false;
//
// labelProductName
//
this.labelProductName.Dock = System.Windows.Forms.DockStyle.Fill;
this.labelProductName.Location = new System.Drawing.Point(143, 0);
this.labelProductName.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
this.labelProductName.MaximumSize = new System.Drawing.Size(0, 17);
this.labelProductName.Name = "labelProductName";
this.labelProductName.Size = new System.Drawing.Size(271, 17);
this.labelProductName.TabIndex = 19;
this.labelProductName.Text = "Product Name";
this.labelProductName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// labelVersion
//
this.labelVersion.Dock = System.Windows.Forms.DockStyle.Fill;
this.labelVersion.Location = new System.Drawing.Point(143, 26);
this.labelVersion.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
this.labelVersion.MaximumSize = new System.Drawing.Size(0, 17);
this.labelVersion.Name = "labelVersion";
this.labelVersion.Size = new System.Drawing.Size(271, 17);
this.labelVersion.TabIndex = 0;
this.labelVersion.Text = "Version";
this.labelVersion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// labelCopyright
//
this.labelCopyright.Dock = System.Windows.Forms.DockStyle.Fill;
this.labelCopyright.Location = new System.Drawing.Point(143, 52);
this.labelCopyright.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
this.labelCopyright.MaximumSize = new System.Drawing.Size(0, 17);
this.labelCopyright.Name = "labelCopyright";
this.labelCopyright.Size = new System.Drawing.Size(271, 17);
this.labelCopyright.TabIndex = 21;
this.labelCopyright.Text = "Copyright";
this.labelCopyright.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// labelCompanyName
//
this.labelCompanyName.Dock = System.Windows.Forms.DockStyle.Fill;
this.labelCompanyName.Location = new System.Drawing.Point(143, 78);
this.labelCompanyName.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
this.labelCompanyName.MaximumSize = new System.Drawing.Size(0, 17);
this.labelCompanyName.Name = "labelCompanyName";
this.labelCompanyName.Size = new System.Drawing.Size(271, 17);
this.labelCompanyName.TabIndex = 22;
this.labelCompanyName.Text = "Company Name";
this.labelCompanyName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// textBoxDescription
//
this.textBoxDescription.Dock = System.Windows.Forms.DockStyle.Fill;
this.textBoxDescription.Location = new System.Drawing.Point(143, 107);
this.textBoxDescription.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
this.textBoxDescription.Multiline = true;
this.textBoxDescription.Name = "textBoxDescription";
this.textBoxDescription.ReadOnly = true;
this.textBoxDescription.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.textBoxDescription.Size = new System.Drawing.Size(271, 126);
this.textBoxDescription.TabIndex = 23;
this.textBoxDescription.TabStop = false;
this.textBoxDescription.Text = "Description";
//
// okButton
//
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.okButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.okButton.Location = new System.Drawing.Point(339, 239);
this.okButton.Name = "okButton";
this.okButton.Size = new System.Drawing.Size(75, 23);
this.okButton.TabIndex = 24;
this.okButton.Text = "&OK";
//
// About_Box_Form
//
this.AcceptButton = this.okButton;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(435, 283);
this.Controls.Add(this.tableLayoutPanel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "About_Box_Form";
this.Padding = new System.Windows.Forms.Padding(9);
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "AboutBox";
this.tableLayoutPanel.ResumeLayout(false);
this.tableLayoutPanel.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).EndInit();
this.ResumeLayout(false);
 
}
 
#endregion
 
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel;
private System.Windows.Forms.PictureBox logoPictureBox;
private System.Windows.Forms.Label labelProductName;
private System.Windows.Forms.Label labelVersion;
private System.Windows.Forms.Label labelCopyright;
private System.Windows.Forms.Label labelCompanyName;
private System.Windows.Forms.TextBox textBoxDescription;
private System.Windows.Forms.Button okButton;
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/About_Box.cs
0,0 → 1,30
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;
 
namespace SWAT_Office_App
{
partial class About_Box_Form : Form
{
public About_Box_Form()
{
InitializeComponent();
this.Text = "Program Info";
this.labelProductName.Text = "SWAT Office App";
this.labelVersion.Text = "Version 2.7";
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 " +
"in Virginia Tech's SWAT (Software Assistance and " +
"Triage) office at Torgeson 2080. Distribution without " +
"notification to the author is strongly discouraged. " +
"Claiming credit for this program without being the " +
"author is prohibited. Questions and comments can be " +
"sent to klee482@vt.edu.";
}
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/DriveLogger_Form.cs
0,0 → 1,335
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Threading;
 
namespace SWAT_Office_App
{
public struct DriveEntry
{
public DateTime time; // Time of insertion
public string drive; // Drive letter of the drive
public string label; // Label of the drive
public string size; // Size of the drive in bytes (I think)
public string owner; // Owner to be specified (optional)
public string dock; // Dock number as choosen
}
public partial class DriveLogger_Form : Form
{
private static List<DriveEntry> driveEntryList= new List<DriveEntry>();
private static string logLocation = "DriveLogger Log.txt";
public static bool instanceAlreadyRunning = false;
 
public DriveLogger_Form()
{
// Disable thread safe checking
CheckForIllegalCrossThreadCalls = false;
 
driveEntryList.Clear();
InitializeComponent();
 
this.listView_Drives.AfterLabelEdit += new LabelEditEventHandler(listView_Drives_AfterLabelEdit);
this.KeyPreview = true;
this.KeyDown += new KeyEventHandler(DriveLogger_Form_KeyDown);
this.FormClosed += new FormClosedEventHandler(DriveLogger_Form_FormClosed);
 
using (StreamWriter sw = File.AppendText(logLocation))
{
sw.WriteLine("-- New Session Started --");
sw.WriteLine("Initializing form details");
}
 
// Adds columns to the listview
this.listView_Drives.Columns.Add("Owner", 145, HorizontalAlignment.Left);
this.listView_Drives.Columns.Add("Dock", 60, HorizontalAlignment.Center);
this.listView_Drives.Columns.Add("Time", 130, HorizontalAlignment.Center);
this.listView_Drives.Columns.Add("Drive", 40, HorizontalAlignment.Center);
this.listView_Drives.Columns.Add("Label", 109, HorizontalAlignment.Center);
this.listView_Drives.Columns.Add("Size", 60, HorizontalAlignment.Center);
 
// Initializes and starts a backgroundworker thread for monitoring for new drives
BackgroundWorker bgWorker = new BackgroundWorker();
instanceAlreadyRunning = true;
bgWorker.DoWork += new DoWorkEventHandler(bgWorker_DoWork);
bgWorker.RunWorkerAsync();
}
void bgWorker_DoWork(object sender, DoWorkEventArgs e)
{
BackgroundWorker worker = sender as BackgroundWorker;
// Compares a list of drives detected previously with the a list of current
// drives on the computer. If a change in length is detected, a drive is either
// added or removed so the drive in question is found and operated upon
List<string> drivesPreviouslyDetectedList = new List<string>();
DriveInfo[] newlyDetectedDrives = DriveInfo.GetDrives();
 
// Resets both lists to hold the same drives
drivesPreviouslyDetectedList.Clear();
foreach (DriveInfo drive in newlyDetectedDrives)
drivesPreviouslyDetectedList.Add(drive.Name);
 
while (true)
{
// Cancels thread if DriveLogger form is closed
if (!instanceAlreadyRunning)
{
//MessageBox.Show("Thread Stopped");
e.Cancel = true;
break;
}
// Pulls new list of current drives on computer
newlyDetectedDrives = DriveInfo.GetDrives();
if (newlyDetectedDrives.Length > drivesPreviouslyDetectedList.Count)
{
// Applies if a drive is attached to the computer
// Goes through each list and finds the drive that was recently attached
bool newDrivesDetected = false;
string driveOwner = "";
string driveDock = "";
foreach (DriveInfo drive in newlyDetectedDrives)
{
// Skips the drive if it is in the list of drives to ignore
if (Settings_Form.driveLoggerDrivesToIgnore.Contains(drive.Name))
continue;
 
// Check for non-matching entries
if (!drivesPreviouslyDetectedList.Contains(drive.Name))
{
// Creates and populates a new DriveEntry
DriveEntry newEntry = new DriveEntry();
 
//if (newDrivesDetected == false)
//{
// // First entry detected is prompted for dock label and owner name
// newDrivesDetected = true;
// DriveLogger_LabelPrompt_Form newPrompt = new DriveLogger_LabelPrompt_Form();
// newPrompt.ShowDialog();
// newEntry.owner = newPrompt.driveOwner;
// driveOwner = newPrompt.driveOwner;
// newEntry.dock = newPrompt.driveDock;
// driveDock = newPrompt.driveDock;
//}
//else
//{
// // Subsequent entries use the previously entered dock label and owner
// newDrivesDetected = true;
// newEntry.owner = driveOwner;
// newEntry.dock = driveDock;
//}
// Sets other drive details for the drive
newEntry.time = DateTime.Now;
newEntry.drive = drive.Name;
 
DriveInfo tempDrive = null;
DriveInfo[] allDrives = DriveInfo.GetDrives();
foreach (DriveInfo driveSearch in allDrives)
{
if (driveSearch.IsReady)
{
if (driveSearch.Name == newEntry.drive)
{
tempDrive = driveSearch;
break;
}
}
}
newEntry.label = tempDrive.VolumeLabel;
 
// Determines the size of the attached drive
if ((tempDrive.TotalSize / 1073741824) > 0)
newEntry.size = (tempDrive.TotalSize / 1073741824).ToString() + " GB";
else
newEntry.size = (tempDrive.TotalSize / 1048576).ToString() + " MB";
 
// Adds the new DriveEntry into driveList
driveEntryList.Add(newEntry);
 
using (StreamWriter sw = File.AppendText(logLocation))
{
sw.WriteLine("Drive Attached -- [" + newEntry.time.ToString() + "]\t\"" + newEntry.owner + "\"\t" + newEntry.drive + "\t\"" + newEntry.label + "\"\t" + newEntry.size);
}
 
paintDriveListbox();
}
}
// Clears and refreshes the drivesPreviouslyDetected list
drivesPreviouslyDetectedList.Clear();
foreach (DriveInfo drive in newlyDetectedDrives)
{
drivesPreviouslyDetectedList.Add(drive.Name);
}
}
if (newlyDetectedDrives.Length < drivesPreviouslyDetectedList.Count)
{
// Applies if a drive is removed to the computer
// Goes through each list and finds the drive that was recently removed
bool removedDriveFound = false;
foreach (string str in drivesPreviouslyDetectedList)
{
// Skips the drive if it is in the list of drives to ignore
if (Settings_Form.driveLoggerDrivesToIgnore.Contains(str))
continue;
removedDriveFound = false;
// Loop here checks for non-matching entries in the two lists
foreach (DriveInfo drive in newlyDetectedDrives)
{
// If entries match, drive was not removed
if (str == drive.Name)
{
removedDriveFound = true;
break;
}
}
// If list mismatch is detected, remove from driveEntryList
if (removedDriveFound == false)
{
// Removes drive from driveList
foreach (DriveEntry entry in driveEntryList)
{
if (str == entry.drive)
{
driveEntryList.Remove(entry);
// Log the removal of the drive
using (StreamWriter sw = File.AppendText(logLocation))
{
sw.WriteLine("Drive Removed -- [" + entry.time.ToString() + "]\t" + entry.drive + "\t\"" + entry.label + "\"\t" + entry.size);
}
break;
}
}
paintDriveListbox();
}
}
// Clears and refreshes the drivesPreviouslyDetected list
drivesPreviouslyDetectedList.Clear();
foreach (DriveInfo drive in newlyDetectedDrives)
{
drivesPreviouslyDetectedList.Add(drive.Name);
}
}
 
// Sleeps the thread for a specified amount of time
Thread.Sleep(Settings_Form.driveLoggerRefreshInterval);
}
}
void DriveLogger_Form_KeyDown(object sender, KeyEventArgs e)
{
// Monitors for keypresses for the about box and refresh
switch (e.KeyCode)
{
case Keys.OemQuestion:
About_Box_Form window = new About_Box_Form();
window.ShowDialog();
break;
case Keys.F5:
refreshDrives();
break;
}
}
void listView_Drives_AfterLabelEdit(object sender, LabelEditEventArgs e)
{
// Logs the new label if it is changed
if (e.Label != null)
{
using (StreamWriter sw = File.AppendText(logLocation))
{
ListViewItem entry = listView_Drives.Items[e.Item];
 
sw.WriteLine("Label \"" + e.Label + "\" added to drive " + entry.SubItems[3].Text);
}
}
}
void DriveLogger_Form_FormClosed(object sender, FormClosedEventArgs e)
{
// Resets variable so form can be opened again
instanceAlreadyRunning = false;
}
private void paintDriveListbox()
{
// Updates the listview
this.listView_Drives.BeginUpdate();
 
this.listView_Drives.Items.Clear();
 
// Adds each entry from the driveList into the listView
foreach (DriveEntry entry in driveEntryList)
{
if (entry.owner != "System Reserved")
{
ListViewItem item = new ListViewItem();
item.Text = entry.owner;
ListViewItem.ListViewSubItem subDock = new ListViewItem.ListViewSubItem();
subDock.Text = entry.dock;
item.SubItems.Add(subDock);
ListViewItem.ListViewSubItem subTime = new ListViewItem.ListViewSubItem();
subTime.Text = entry.time.ToString();
item.SubItems.Add(subTime);
ListViewItem.ListViewSubItem subDrive = new ListViewItem.ListViewSubItem();
subDrive.Text = entry.drive;
item.SubItems.Add(subDrive);
ListViewItem.ListViewSubItem subLabel = new ListViewItem.ListViewSubItem();
subLabel.Text = entry.label;
item.SubItems.Add(subLabel);
ListViewItem.ListViewSubItem subSize = new ListViewItem.ListViewSubItem();
subSize.Text = entry.size;
item.SubItems.Add(subSize);
 
this.listView_Drives.Items.Add(item);
}
}
 
this.listView_Drives.EndUpdate();
}
private void refreshDrives()
{
// Checks list of drive entries to see if any drives have been removed
bool removedDriveFound;
List<DriveEntry> drivesToRemove = new List<DriveEntry>();
// Checks each entry in driveList to see if matching drive is found on list
// of current drives. Removes entry from driveList if drive is not found.
DriveInfo[] currentDrives = DriveInfo.GetDrives();
for (int i = 0; i < driveEntryList.Count; i++)
{
DriveEntry storedDrive = driveEntryList[i];
removedDriveFound = false;
// Loop here checks for non-matching entries in the two lists
foreach (DriveInfo currentDrive in currentDrives)
{
// If entries match, drive was not removed
if (storedDrive.drive == currentDrive.Name)
{
removedDriveFound = true;
break;
}
}
// If list mismatch is detected, remove from driveList
if (removedDriveFound == false)
{
drivesToRemove.Add(storedDrive);
}
}
// Removes drive from driveList
foreach (DriveEntry entry in drivesToRemove)
{
// Removes drive from driveList
foreach (DriveEntry entry2 in driveEntryList)
{
if (entry.drive == entry2.drive)
{
driveEntryList.Remove(entry);
break;
}
}
}
 
paintDriveListbox();
}
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/bin/Debug/DriveLogger Log.txt
0,0 → 1,27
-- New Session Started --
Initializing form details
-- New Session Started --
Initializing form details
-- New Session Started --
Initializing form details
-- New Session Started --
Initializing form details
Drive Attached -- [1/15/2012 12:31:48 PM] "asdf" D:\ "" 14 GB
-- New Session Started --
Initializing form details
Drive Attached -- [1/15/2012 12:32:11 PM] "" D:\ "" 14 GB
Drive Removed -- [1/15/2012 12:32:11 PM] D:\ "" 14 GB
Drive Attached -- [1/15/2012 12:32:42 PM] "" D:\ "" 14 GB
Drive Removed -- [1/15/2012 12:32:42 PM] D:\ "" 14 GB
-- New Session Started --
Initializing form details
Drive Attached -- [1/15/2012 12:33:42 PM] "" D:\ "" 14 GB
-- New Session Started --
Initializing form details
Drive Attached -- [1/15/2012 12:34:55 PM] "" D:\ "" 14 GB
Label "Kevin" added to drive D:\
Drive Removed -- [1/15/2012 12:34:55 PM] D:\ "" 14 GB
-- New Session Started --
Initializing form details
Drive Attached -- [1/15/2012 12:38:54 PM] "" D:\ "" 14 GB
Label "Test Drive" added to drive D:\
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/bin/Debug/SWAT Office App.exe
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/bin/Debug/SWAT Office App.exe
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/bin/Debug/StatusLog.txt
0,0 → 1,182
-- New Session --
[Wednesday, June 15, 2011 | 11:49:26 PM] -- No existing setting file detected. Using default settings
[Wednesday, June 15, 2011 | 11:49:39 PM] -- Account A has been created
[Wednesday, June 15, 2011 | 11:49:39 PM] -- Shared folder for A has been created
[Wednesday, June 15, 2011 | 11:49:39 PM] -- Share permissions for A has been set
[Wednesday, June 15, 2011 | 11:49:41 PM] -- Account B has been created
[Wednesday, June 15, 2011 | 11:49:41 PM] -- Shared folder for B has been created
[Wednesday, June 15, 2011 | 11:49:41 PM] -- Share permissions for B has been set
[Wednesday, June 15, 2011 | 11:49:43 PM] -- Account C has been created
[Wednesday, June 15, 2011 | 11:49:46 PM] -- Account D has been created
[Wednesday, June 15, 2011 | 11:49:49 PM] -- Shared folder for C has been created
[Wednesday, June 15, 2011 | 11:49:49 PM] -- Share permissions for C has been set
[Wednesday, June 15, 2011 | 11:50:05 PM] -- Account A has been deleted
[Wednesday, June 15, 2011 | 11:50:05 PM] -- Share permissions for A has been removed
[Wednesday, June 15, 2011 | 11:50:05 PM] -- Shared folder for A has been deleted
[Wednesday, June 15, 2011 | 11:50:06 PM] -- Account B has been deleted
[Wednesday, June 15, 2011 | 11:50:06 PM] -- Share permissions for B has been removed
[Wednesday, June 15, 2011 | 11:50:06 PM] -- Shared folder for B has been deleted
[Wednesday, June 15, 2011 | 11:50:07 PM] -- Account C has been deleted
[Wednesday, June 15, 2011 | 11:50:07 PM] -- Share permissions for C has been removed
[Wednesday, June 15, 2011 | 11:50:07 PM] -- Shared folder for C has been deleted
[Wednesday, June 15, 2011 | 11:50:07 PM] -- Account D has been deleted
[Wednesday, June 15, 2011 | 11:50:09 PM] -- Starting instance of DriveLogger
[Wednesday, June 15, 2011 | 11:50:11 PM] -- Starting reimaging of USB drives
-- New Session --
[Saturday, June 18, 2011 | 12:15:06 PM] -- No existing stat logging file detected.
[Saturday, June 18, 2011 | 12:15:06 PM] -- System.Xml.XmlException: The ' ' character, hexadecimal value 0x20, cannot be included in a name.
at System.Xml.XmlConvert.VerifyNCName(String name, ExceptionType exceptionType)
at System.Xml.XmlConvert.VerifyNCName(String name)
at System.Xml.Linq.XName..ctor(XNamespace ns, String localName)
at System.Xml.Linq.XNamespace.GetName(String localName, Int32 index, Int32 count)
at System.Xml.Linq.XNamespace.GetName(String localName)
at System.Xml.Linq.XName.Get(String expandedName)
at System.Xml.Linq.XName.op_Implicit(String expandedName)
at SWAT_Office_App.StatLogging.WriteDefaultConfigFile() in C:\Users\Administrator\Documents\Visual Studio 2010\Projects\C#\SWAT Office App\SWAT Office App\StatLogging.cs:line 59
[Saturday, June 18, 2011 | 12:15:10 PM] -- System.IO.FileNotFoundException: Could not find file 'C:\Users\Administrator\Documents\Visual Studio 2010\Projects\C#\SWAT Office App\SWAT Office App\bin\Debug\StatLog.xml'.
File name: 'C:\Users\Administrator\Documents\Visual Studio 2010\Projects\C#\SWAT Office App\SWAT Office App\bin\Debug\StatLog.xml'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)
at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings, XmlParserContext inputContext)
at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings)
at System.Xml.Linq.XElement.Load(String uri, LoadOptions options)
at System.Xml.Linq.XElement.Load(String uri)
at SWAT_Office_App.StatLogging.ExportSettings() in C:\Users\Administrator\Documents\Visual Studio 2010\Projects\C#\SWAT Office App\SWAT Office App\StatLogging.cs:line 44
-- New Session --
[Saturday, June 18, 2011 | 12:16:47 PM] -- No existing stat logging file detected.
[Saturday, June 18, 2011 | 12:17:05 PM] -- Account A has been created
[Saturday, June 18, 2011 | 12:17:05 PM] -- Shared folder for A has been created
[Saturday, June 18, 2011 | 12:17:05 PM] -- Share permissions for A has been set
[Saturday, June 18, 2011 | 12:17:08 PM] -- Account B has been created
[Saturday, June 18, 2011 | 12:17:08 PM] -- Shared folder for B has been created
[Saturday, June 18, 2011 | 12:17:08 PM] -- Share permissions for B has been set
[Saturday, June 18, 2011 | 12:17:46 PM] -- Shared folder for B has been created
[Saturday, June 18, 2011 | 12:17:46 PM] -- Share permissions for B has been set
[Saturday, June 18, 2011 | 12:17:53 PM] -- Shared folder for A has been created
[Saturday, June 18, 2011 | 12:17:53 PM] -- Share permissions for A has been set
[Saturday, June 18, 2011 | 12:18:19 PM] -- Account A has been deleted
[Saturday, June 18, 2011 | 12:18:19 PM] -- Share permissions for A has been removed
[Saturday, June 18, 2011 | 12:18:19 PM] -- Shared folder for A has been deleted
[Saturday, June 18, 2011 | 12:18:20 PM] -- Account B has been deleted
[Saturday, June 18, 2011 | 12:18:20 PM] -- Share permissions for B has been removed
[Saturday, June 18, 2011 | 12:18:20 PM] -- Shared folder for B has been deleted
[Saturday, June 18, 2011 | 12:18:23 PM] -- Account C has been created
[Saturday, June 18, 2011 | 12:18:23 PM] -- Shared folder for C has been created
[Saturday, June 18, 2011 | 12:18:23 PM] -- Share permissions for C has been set
[Saturday, June 18, 2011 | 12:18:24 PM] -- Account D has been created
[Saturday, June 18, 2011 | 12:18:24 PM] -- Shared folder for D has been created
[Saturday, June 18, 2011 | 12:18:24 PM] -- Share permissions for D has been set
[Saturday, June 18, 2011 | 12:18:27 PM] -- Account E has been created
[Saturday, June 18, 2011 | 12:18:27 PM] -- Shared folder for E has been created
[Saturday, June 18, 2011 | 12:18:27 PM] -- Share permissions for E has been set
[Saturday, June 18, 2011 | 12:18:31 PM] -- Account C has been deleted
[Saturday, June 18, 2011 | 12:18:31 PM] -- Share permissions for C has been removed
[Saturday, June 18, 2011 | 12:18:31 PM] -- Shared folder for C has been deleted
[Saturday, June 18, 2011 | 12:18:32 PM] -- Account D has been deleted
[Saturday, June 18, 2011 | 12:18:32 PM] -- Share permissions for D has been removed
[Saturday, June 18, 2011 | 12:18:32 PM] -- Shared folder for D has been deleted
[Saturday, June 18, 2011 | 12:18:32 PM] -- Account E has been deleted
[Saturday, June 18, 2011 | 12:18:32 PM] -- Share permissions for E has been removed
[Saturday, June 18, 2011 | 12:18:32 PM] -- Shared folder for E has been deleted
-- New Session --
[Saturday, June 18, 2011 | 12:20:18 PM] -- Account A has been created
[Saturday, June 18, 2011 | 12:20:18 PM] -- Shared folder for A has been created
[Saturday, June 18, 2011 | 12:20:18 PM] -- Share permissions for A has been set
[Saturday, June 18, 2011 | 12:20:20 PM] -- Account B has been created
[Saturday, June 18, 2011 | 12:20:20 PM] -- Shared folder for B has been created
[Saturday, June 18, 2011 | 12:20:20 PM] -- Share permissions for B has been set
[Saturday, June 18, 2011 | 12:20:22 PM] -- Account C has been created
[Saturday, June 18, 2011 | 12:20:22 PM] -- Shared folder for C has been created
[Saturday, June 18, 2011 | 12:20:22 PM] -- Share permissions for C has been set
[Saturday, June 18, 2011 | 12:20:30 PM] -- Account D has been created
[Saturday, June 18, 2011 | 12:20:33 PM] -- Account E has been created
[Saturday, June 18, 2011 | 12:20:47 PM] -- Account A has been deleted
[Saturday, June 18, 2011 | 12:20:47 PM] -- Share permissions for A has been removed
[Saturday, June 18, 2011 | 12:20:47 PM] -- Shared folder for A has been deleted
[Saturday, June 18, 2011 | 12:20:48 PM] -- Account B has been deleted
[Saturday, June 18, 2011 | 12:20:48 PM] -- Share permissions for B has been removed
[Saturday, June 18, 2011 | 12:20:48 PM] -- Shared folder for B has been deleted
[Saturday, June 18, 2011 | 12:20:48 PM] -- Account C has been deleted
[Saturday, June 18, 2011 | 12:20:48 PM] -- Share permissions for C has been removed
[Saturday, June 18, 2011 | 12:20:48 PM] -- Shared folder for C has been deleted
[Saturday, June 18, 2011 | 12:20:48 PM] -- Account D has been deleted
[Saturday, June 18, 2011 | 12:20:48 PM] -- Account E has been deleted
-- New Session --
-- New Session --
[Saturday, June 18, 2011 | 12:21:53 PM] -- Account A has been created
[Saturday, June 18, 2011 | 12:22:03 PM] -- Shared folder for A has been created
[Saturday, June 18, 2011 | 12:22:03 PM] -- Share permissions for A has been set
-- New Session --
[Saturday, June 18, 2011 | 12:23:21 PM] -- Account A has been deleted
[Saturday, June 18, 2011 | 12:23:21 PM] -- Share permissions for A has been removed
[Saturday, June 18, 2011 | 12:23:21 PM] -- Shared folder for A has been deleted
[Saturday, June 18, 2011 | 12:23:23 PM] -- Account A has been created
[Saturday, June 18, 2011 | 12:23:26 PM] -- Shared folder for A has been created
[Saturday, June 18, 2011 | 12:23:26 PM] -- Share permissions for A has been set
[Saturday, June 18, 2011 | 12:23:36 PM] -- Account B has been created
[Saturday, June 18, 2011 | 12:23:36 PM] -- Shared folder for B has been created
[Saturday, June 18, 2011 | 12:23:36 PM] -- Share permissions for B has been set
[Saturday, June 18, 2011 | 12:23:38 PM] -- Account C has been created
[Saturday, June 18, 2011 | 12:23:38 PM] -- Shared folder for C has been created
[Saturday, June 18, 2011 | 12:23:38 PM] -- Share permissions for C has been set
[Saturday, June 18, 2011 | 12:23:42 PM] -- Account D has been created
[Saturday, June 18, 2011 | 12:23:44 PM] -- Account E has been created
[Saturday, June 18, 2011 | 12:24:03 PM] -- Account A has been deleted
[Saturday, June 18, 2011 | 12:24:03 PM] -- Share permissions for A has been removed
[Saturday, June 18, 2011 | 12:24:03 PM] -- Shared folder for A has been deleted
[Saturday, June 18, 2011 | 12:24:03 PM] -- Account B has been deleted
[Saturday, June 18, 2011 | 12:24:04 PM] -- Share permissions for B has been removed
[Saturday, June 18, 2011 | 12:24:04 PM] -- Shared folder for B has been deleted
[Saturday, June 18, 2011 | 12:24:04 PM] -- Account C has been deleted
[Saturday, June 18, 2011 | 12:24:04 PM] -- Share permissions for C has been removed
[Saturday, June 18, 2011 | 12:24:04 PM] -- Shared folder for C has been deleted
[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 --
-- New Session --
[Saturday, August 06, 2011 | 3:20:42 PM] -- Settings from Settings.xml has been imported
[Saturday, August 06, 2011 | 3:20:42 PM] -- Stats from StatLog.xml has been imported
[Saturday, August 06, 2011 | 3:20:46 PM] -- Stats has been exported to StatLog.xml
-- New Session --
[Saturday, August 06, 2011 | 3:29:46 PM] -- Settings from Settings.xml has been imported
[Saturday, August 06, 2011 | 3:29:46 PM] -- Stats from StatLog.xml has been imported
[Saturday, August 06, 2011 | 3:29:53 PM] -- Settings from Settings.xml has been imported
[Saturday, August 06, 2011 | 3:29:55 PM] -- Starting reimaging of USB drives
[Saturday, August 06, 2011 | 3:29:57 PM] -- Starting instance of DriveLogger
[Saturday, August 06, 2011 | 3:29:59 PM] -- Stats has been exported to StatLog.xml
-- New Session --
[Sunday, January 15, 2012 | 12:30:35 PM] -- Settings from Settings.xml has been imported
[Sunday, January 15, 2012 | 12:30:35 PM] -- Stats from StatLog.xml has been imported
[Sunday, January 15, 2012 | 12:30:36 PM] -- Starting instance of DriveLogger
[Sunday, January 15, 2012 | 12:31:23 PM] -- Stats has been exported to StatLog.xml
-- New Session --
[Sunday, January 15, 2012 | 12:31:39 PM] -- Settings from Settings.xml has been imported
[Sunday, January 15, 2012 | 12:31:39 PM] -- Stats from StatLog.xml has been imported
[Sunday, January 15, 2012 | 12:31:41 PM] -- Starting instance of DriveLogger
[Sunday, January 15, 2012 | 12:31:56 PM] -- Stats has been exported to StatLog.xml
-- New Session --
[Sunday, January 15, 2012 | 12:32:06 PM] -- Settings from Settings.xml has been imported
[Sunday, January 15, 2012 | 12:32:06 PM] -- Stats from StatLog.xml has been imported
[Sunday, January 15, 2012 | 12:32:08 PM] -- Starting instance of DriveLogger
[Sunday, January 15, 2012 | 12:33:03 PM] -- Stats has been exported to StatLog.xml
-- New Session --
[Sunday, January 15, 2012 | 12:33:38 PM] -- Settings from Settings.xml has been imported
[Sunday, January 15, 2012 | 12:33:38 PM] -- Stats from StatLog.xml has been imported
[Sunday, January 15, 2012 | 12:33:39 PM] -- Starting instance of DriveLogger
[Sunday, January 15, 2012 | 12:33:52 PM] -- Stats has been exported to StatLog.xml
-- New Session --
[Sunday, January 15, 2012 | 12:34:50 PM] -- Settings from Settings.xml has been imported
[Sunday, January 15, 2012 | 12:34:50 PM] -- Stats from StatLog.xml has been imported
[Sunday, January 15, 2012 | 12:34:51 PM] -- Starting instance of DriveLogger
[Sunday, January 15, 2012 | 12:36:06 PM] -- Stats has been exported to StatLog.xml
-- New Session --
[Sunday, January 15, 2012 | 12:38:50 PM] -- Settings from Settings.xml has been imported
[Sunday, January 15, 2012 | 12:38:50 PM] -- Stats from StatLog.xml has been imported
[Sunday, January 15, 2012 | 12:38:51 PM] -- Starting instance of DriveLogger
[Sunday, January 15, 2012 | 12:39:35 PM] -- Stats has been exported to StatLog.xml
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/bin/Debug/Settings.xml
0,0 → 1,14
<?xml version="1.0" encoding="utf-8"?>
<Settings>
<ProgramSettings>
<ShowFileSizes>true</ShowFileSizes>
<SystemAccounts>Administrators,Administrator</SystemAccounts>
<HiddenAccounts>Administrator,Guest</HiddenAccounts>
<SharedFolderLocation>C:\Users\Administrator\Desktop</SharedFolderLocation>
<USBMasterCopyx32Location>C:\</USBMasterCopyx32Location>
<USBMasterCopyx64Location>C:\</USBMasterCopyx64Location>
<DockLabels>Dock 1,Dock 2,Dock 3,External USB</DockLabels>
<DockRefreshInterval>1000</DockRefreshInterval>
<DockDrivesToIgnore>C:\</DockDrivesToIgnore>
</ProgramSettings>
</Settings>
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/bin/Debug/StatLog.xml
0,0 → 1,5
<?xml version="1.0" encoding="utf-8"?>
<StatLog>
<AccountsCreated>5</AccountsCreated>
<SharesCreated>3</SharesCreated>
</StatLog>
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/bin/Release/SWAT Office App.exe
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/bin/Release/SWAT Office App.exe
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/bin/Release/DriveLogger Log.txt
0,0 → 1,2
-- New Session Started --
Initializing form details
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/bin/Release/Settings.xml
0,0 → 1,14
<?xml version="1.0" encoding="utf-8"?>
<Settings>
<ProgramSettings>
<ShowFileSizes>true</ShowFileSizes>
<SystemAccounts>Administrators,Administrator</SystemAccounts>
<HiddenAccounts>Administrator,Guest</HiddenAccounts>
<SharedFolderLocation>C:\</SharedFolderLocation>
<USBMasterCopyx32Location>C:\</USBMasterCopyx32Location>
<USBMasterCopyx64Location>C:\</USBMasterCopyx64Location>
<DockLabels>Dock 1,Dock 2,Dock 3,External USB</DockLabels>
<DockRefreshInterval>1000</DockRefreshInterval>
<DockDrivesToIgnore>C:\</DockDrivesToIgnore>
</ProgramSettings>
</Settings>
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/bin/Release/StatusLog.txt
0,0 → 1,28
-- New Session --
[Wednesday, June 15, 2011 | 11:52:23 PM] -- No existing setting file detected. Using default settings
-- New Session --
[Wednesday, June 15, 2011 | 11:54:01 PM] -- Account ASDF has been created
[Wednesday, June 15, 2011 | 11:54:01 PM] -- Shared folder for ASDF has been created
[Wednesday, June 15, 2011 | 11:54:01 PM] -- Share permissions for ASDF has been set
[Wednesday, June 15, 2011 | 11:54:21 PM] -- Account ASDF has been deleted
[Wednesday, June 15, 2011 | 11:54:21 PM] -- Share permissions for ASDF has been removed
[Wednesday, June 15, 2011 | 11:54:21 PM] -- Shared folder for ASDF has been deleted
[Wednesday, June 15, 2011 | 11:54:26 PM] -- Account qwert has been created
[Wednesday, June 15, 2011 | 11:54:26 PM] -- Shared folder for qwert has been created
[Wednesday, June 15, 2011 | 11:54:26 PM] -- Share permissions for qwert has been set
[Wednesday, June 15, 2011 | 11:54:31 PM] -- Account qwert has been deleted
[Wednesday, June 15, 2011 | 11:54:31 PM] -- Share permissions for qwert has been removed
[Wednesday, June 15, 2011 | 11:54:31 PM] -- Shared folder for qwert has been deleted
[Wednesday, June 15, 2011 | 11:54:33 PM] -- Account ASDF has been created
[Wednesday, June 15, 2011 | 11:54:33 PM] -- Shared folder for ASDF has been created
[Wednesday, June 15, 2011 | 11:54:33 PM] -- Share permissions for ASDF has been set
[Wednesday, June 15, 2011 | 11:54:38 PM] -- Account ASDF has been deleted
[Wednesday, June 15, 2011 | 11:54:38 PM] -- Share permissions for ASDF has been removed
[Wednesday, June 15, 2011 | 11:54:38 PM] -- Shared folder for ASDF has been deleted
[Wednesday, June 15, 2011 | 11:54:46 PM] -- Account AAA has been created
[Wednesday, June 15, 2011 | 11:54:46 PM] -- Shared folder for AAA has been created
[Wednesday, June 15, 2011 | 11:54:46 PM] -- Share permissions for AAA has been set
[Wednesday, June 15, 2011 | 11:55:19 PM] -- Account AAA has been deleted
[Wednesday, June 15, 2011 | 11:55:19 PM] -- Share permissions for AAA has been removed
[Wednesday, June 15, 2011 | 11:55:19 PM] -- Shared folder for AAA has been deleted
[Wednesday, June 15, 2011 | 11:55:22 PM] -- Starting instance of DriveLogger
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/About_Box.resx
0,0 → 1,366
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
 
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="logoPictureBox.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAIIAAAEECAYAAADkneyMAAAABGdBTUEAAOD8YVAtlgAAAvdpQ0NQUGhv
dG9zaG9wIElDQyBwcm9maWxlAAA4y2NgYJ7g6OLkyiTAwFBQVFLkHuQYGREZpcB+noGNgZkBDBKTiwsc
AwJ8QOy8/LxUBlTAyMDw7RqIZGC4rAsyi4E0wJoMtBhIHwBio5TU4mQg/QWI08tLCoDijDFAtkhSNphd
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Fwn
tdLCWRypc4YIyA/0ogvkzyRa2qqyzJ35KrFihsBBqaUDTYnJzAKEeEGpaGxvOXlQCRjsaT8KPIdEA0dV
VxYNpI+xHkwGh1SubwxN5tD3iJlWIMlGxoqtdiYjbti286vvu06AIzZKAlx97wacdKDSssK8r1mBoHOs
EwvFMlkOHCeSJq3mvmNzTQRZ2eWx9H1pOrvIHjNtiT2LjdFYEJySJzDFz+FZAll0o6kibAiEXd/jBJTO
bRJ8ZweCl0Vwq2bXKdvYK9c0zjK3NzInAoArUSvxUE4lcMl9TPLYHqDk+kV1hLbOOU/oBACxdLzd88ll
XrQh8bPNZOX3Wolc4czbksytOZ+tL+l8QD+0+2zJcxfhCOmDsU46AiVw7LZ2JQOwMoGNcrYXxPCOMq7p
CkC4TT1EyXiD48b2fHPtfr84EGJwfAFsaz4GSmWJ/zudmHTTLOYZNzFLYqhwo3Ryt70OANjuClhYKiUp
fWOeSdzyV9BNAL+kRmRM/zsDQryUCeKCJstxCTLWIBGajKdoUbg4lTiheO2sdr57IKJ9m3ATMfdkj5m4
rmuNg27EcuIEo7hOsQjcwwIwR5xZLCBKae4tnNJ327vvHAjxEuxnvnayXcyCqek3YltRAGBCuYSBY8lU
rjkA0NZHnCwjVoEbGhdwAz+A0J2kkXFTx56N0gEBKIBkDvoAv3og5BM314CWIuo2/UpGsV0O8QgcQtHE
Go8sovsd+zkyvwWy5kjAGfPOe8YRxrzk4bXLz8AhEJaf41U84RAIqyDT8i95CITl53gVTzgEwirItPxL
HgWE5IO0DOrw72OOOShzcGAGelAIOmmc/wfEC4Dio/Z23QAAAABJRU5ErkJggg==
</value>
</data>
</root>
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Debug.cs
0,0 → 1,41
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Windows.Forms;
 
namespace SWAT_Office_App
{
class Debug
{
private static string debugLocation = "StatusLog.txt";
public static void appendText(string text)
{
// Appends passed string into Debug.txt
using (StreamWriter sw = File.AppendText(debugLocation))
{
sw.Write("[" + DateTime.Now.ToLongDateString() + " | " + DateTime.Now.ToLongTimeString() + "] -- ");
sw.Write(text + "\r\n");
sw.Flush();
}
}
public static void createNewDebugTxt()
{
// Deletes old Debug.txt and creates a new one
if (File.Exists(debugLocation))
{
File.Delete(debugLocation);
File.Create(debugLocation);
}
}
public static void startNewSession()
{
using (StreamWriter sw = File.AppendText(debugLocation))
{
sw.Write("-- New Session --\r\n");
sw.Flush();
}
}
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Resources/application_osx_terminal.ico
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Resources/application_osx_terminal.ico
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Resources/About.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Resources/About.png
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Resources/Refresh.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Resources/Refresh.png
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Resources/Terminal.ico
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Resources/Terminal.ico
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Stat_Logging.cs
0,0 → 1,77
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Xml.Linq;
 
namespace SWAT_Office_App
{
class Stat_Logging
{
private static string logFileLocation = "StatLog.xml";
public static int AccountsCreated { get; set; }
public static int SharesCreated { get; set; }
 
public static void ImportSettings()
{
try
{
if (File.Exists(logFileLocation))
{
XElement Log = XElement.Load(logFileLocation);
AccountsCreated = int.Parse(Log.Element("AccountsCreated").Value);
SharesCreated = int.Parse(Log.Element("SharesCreated").Value);
Debug.appendText("Stats from " + logFileLocation + " has been imported");
}
else
{
Debug.appendText("No existing stat logging file detected.");
WriteDefaultConfigFile();
}
}
catch (Exception e)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(e.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
}
}
public static void ExportSettings()
{
try
{
XElement Log = XElement.Load(logFileLocation);
Log.SetElementValue("AccountsCreated", AccountsCreated);
Log.SetElementValue("SharesCreated", SharesCreated);
Log.Save(logFileLocation);
Debug.appendText("Stats has been exported to " + logFileLocation);
}
catch (Exception e)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(e.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
}
}
private static void WriteDefaultConfigFile()
{
try
{
XElement Log = new XElement("StatLog",
new XElement("AccountsCreated", 0),
new XElement("SharesCreated", 0)
);
Log.Save(logFileLocation);
Debug.appendText("A blank stat logging file has been created");
}
catch (Exception e)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(e.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
}
}
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Add_Hidden_Account_Form.Designer.cs
0,0 → 1,105
namespace SWAT_Office_App
{
partial class Add_Hidden_Account_Form
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
 
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
 
#region Windows Form Designer generated code
 
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Add_Hidden_Account_Form));
this.lbl_Add_Hidden_Account = new System.Windows.Forms.Label();
this.txt_AddHiddenAccount = new System.Windows.Forms.TextBox();
this.btn_Cancel = new System.Windows.Forms.Button();
this.btn_Ok = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// lbl_Add_Hidden_Account
//
this.lbl_Add_Hidden_Account.AutoSize = true;
this.lbl_Add_Hidden_Account.Location = new System.Drawing.Point(22, 9);
this.lbl_Add_Hidden_Account.Name = "lbl_Add_Hidden_Account";
this.lbl_Add_Hidden_Account.Size = new System.Drawing.Size(103, 13);
this.lbl_Add_Hidden_Account.TabIndex = 0;
this.lbl_Add_Hidden_Account.Text = "Enter account name";
//
// txt_AddHiddenAccount
//
this.txt_AddHiddenAccount.Location = new System.Drawing.Point(18, 29);
this.txt_AddHiddenAccount.Name = "txt_AddHiddenAccount";
this.txt_AddHiddenAccount.Size = new System.Drawing.Size(110, 20);
this.txt_AddHiddenAccount.TabIndex = 1;
//
// btn_Cancel
//
this.btn_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btn_Cancel.Location = new System.Drawing.Point(76, 57);
this.btn_Cancel.Name = "btn_Cancel";
this.btn_Cancel.Size = new System.Drawing.Size(60, 24);
this.btn_Cancel.TabIndex = 3;
this.btn_Cancel.Text = "Cancel";
this.btn_Cancel.UseVisualStyleBackColor = true;
this.btn_Cancel.Click += new System.EventHandler(this.btn_Cancel_Click);
//
// btn_Ok
//
this.btn_Ok.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btn_Ok.Location = new System.Drawing.Point(10, 57);
this.btn_Ok.Name = "btn_Ok";
this.btn_Ok.Size = new System.Drawing.Size(60, 24);
this.btn_Ok.TabIndex = 4;
this.btn_Ok.Text = "Ok";
this.btn_Ok.UseVisualStyleBackColor = true;
this.btn_Ok.Click += new System.EventHandler(this.btn_Ok_Click);
//
// AddHiddenAccount_Form
//
this.AcceptButton = this.btn_Ok;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.btn_Cancel;
this.ClientSize = new System.Drawing.Size(147, 89);
this.Controls.Add(this.btn_Ok);
this.Controls.Add(this.btn_Cancel);
this.Controls.Add(this.txt_AddHiddenAccount);
this.Controls.Add(this.lbl_Add_Hidden_Account);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "AddHiddenAccount_Form";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Add Hidden Account";
this.ResumeLayout(false);
this.PerformLayout();
 
}
 
#endregion
 
private System.Windows.Forms.Label lbl_Add_Hidden_Account;
private System.Windows.Forms.TextBox txt_AddHiddenAccount;
private System.Windows.Forms.Button btn_Cancel;
private System.Windows.Forms.Button btn_Ok;
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Add_Hidden_Account_Form.cs
0,0 → 1,54
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
 
namespace SWAT_Office_App
{
public partial class Add_Hidden_Account_Form : Form
{
public Add_Hidden_Account_Form()
{
InitializeComponent();
this.btn_Ok.Enabled = false;
 
this.txt_AddHiddenAccount.TextChanged += new EventHandler(this.txt_TextChanged);
}
private void txt_TextChanged(object sender, EventArgs e)
{
TextBox tb = (TextBox)sender;
if (tb.Text.Length == 0)
this.btn_Ok.Enabled = false;
else
this.btn_Ok.Enabled = true;
}
private void btn_Cancel_Click(object sender, EventArgs e)
{
this.Close();
}
private void btn_Ok_Click(object sender, EventArgs e)
{
bool error = false;
// Checks if account already exists in the list of hidden accounts
foreach (string hiddenUser in Settings_Form.hiddenAccounts)
{
if (this.txt_AddHiddenAccount.Text.ToLower() == hiddenUser.ToLower())
{
MessageBox.Show("Account is already in the list of hidden accounts", "Error");
error = true;
this.txt_AddHiddenAccount.Text = "";
this.txt_AddHiddenAccount.Focus();
}
}
if (error == false)
{
Settings_Form.hiddenAccounts.Add(txt_AddHiddenAccount.Text);
this.Close();
}
}
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Add_System_Account_Form.Designer.cs
0,0 → 1,105
namespace SWAT_Office_App
{
partial class Add_System_Account_Form
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
 
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
 
#region Windows Form Designer generated code
 
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Add_System_Account_Form));
this.lbl_Add_System_Account = new System.Windows.Forms.Label();
this.txt_AddSystemAccount = new System.Windows.Forms.TextBox();
this.btn_Cancel = new System.Windows.Forms.Button();
this.btn_Ok = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// lbl_Add_System_Account
//
this.lbl_Add_System_Account.AutoSize = true;
this.lbl_Add_System_Account.Location = new System.Drawing.Point(22, 9);
this.lbl_Add_System_Account.Name = "lbl_Add_System_Account";
this.lbl_Add_System_Account.Size = new System.Drawing.Size(103, 13);
this.lbl_Add_System_Account.TabIndex = 0;
this.lbl_Add_System_Account.Text = "Enter account name";
//
// txt_AddSystemAccount
//
this.txt_AddSystemAccount.Location = new System.Drawing.Point(18, 29);
this.txt_AddSystemAccount.Name = "txt_AddSystemAccount";
this.txt_AddSystemAccount.Size = new System.Drawing.Size(110, 20);
this.txt_AddSystemAccount.TabIndex = 1;
//
// btn_Cancel
//
this.btn_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btn_Cancel.Location = new System.Drawing.Point(76, 57);
this.btn_Cancel.Name = "btn_Cancel";
this.btn_Cancel.Size = new System.Drawing.Size(60, 24);
this.btn_Cancel.TabIndex = 3;
this.btn_Cancel.Text = "Cancel";
this.btn_Cancel.UseVisualStyleBackColor = true;
this.btn_Cancel.Click += new System.EventHandler(this.btn_Cancel_Click);
//
// btn_Ok
//
this.btn_Ok.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btn_Ok.Location = new System.Drawing.Point(10, 57);
this.btn_Ok.Name = "btn_Ok";
this.btn_Ok.Size = new System.Drawing.Size(60, 24);
this.btn_Ok.TabIndex = 4;
this.btn_Ok.Text = "Ok";
this.btn_Ok.UseVisualStyleBackColor = true;
this.btn_Ok.Click += new System.EventHandler(this.btn_Ok_Click);
//
// AddSystemAccount_Form
//
this.AcceptButton = this.btn_Ok;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.btn_Cancel;
this.ClientSize = new System.Drawing.Size(147, 89);
this.Controls.Add(this.btn_Ok);
this.Controls.Add(this.btn_Cancel);
this.Controls.Add(this.txt_AddSystemAccount);
this.Controls.Add(this.lbl_Add_System_Account);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "AddSystemAccount_Form";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Add System Account";
this.ResumeLayout(false);
this.PerformLayout();
 
}
 
#endregion
 
private System.Windows.Forms.Label lbl_Add_System_Account;
private System.Windows.Forms.TextBox txt_AddSystemAccount;
private System.Windows.Forms.Button btn_Cancel;
private System.Windows.Forms.Button btn_Ok;
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Add_System_Account_Form.cs
0,0 → 1,54
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
 
namespace SWAT_Office_App
{
public partial class Add_System_Account_Form : Form
{
public Add_System_Account_Form()
{
InitializeComponent();
this.btn_Ok.Enabled = false;
 
this.txt_AddSystemAccount.TextChanged += new EventHandler(this.txt_TextChanged);
}
private void txt_TextChanged(object sender, EventArgs e)
{
TextBox tb = (TextBox)sender;
if (tb.Text.Length == 0)
this.btn_Ok.Enabled = false;
else
this.btn_Ok.Enabled = true;
}
private void btn_Cancel_Click(object sender, EventArgs e)
{
this.Close();
}
private void btn_Ok_Click(object sender, EventArgs e)
{
bool error = false;
// Checks if account already exists in the list of system accounts
foreach (string systemUser in Settings_Form.systemAccounts)
{
if (this.txt_AddSystemAccount.Text.ToLower() == systemUser.ToLower())
{
MessageBox.Show("Account is already in the list of system accounts", "Error");
error = true;
this.txt_AddSystemAccount.Text = "";
this.txt_AddSystemAccount.Focus();
}
}
if (error == false)
{
Settings_Form.systemAccounts.Add(txt_AddSystemAccount.Text);
this.Close();
}
}
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Add_User_Account_Form.Designer.cs
0,0 → 1,144
namespace SWAT_Office_App
{
partial class Add_User_Account_Form
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
 
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
 
#region Windows Form Designer generated code
 
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Add_User_Account_Form));
this.btn_Add = new System.Windows.Forms.Button();
this.btn_Cancel = new System.Windows.Forms.Button();
this.txt_Password = new System.Windows.Forms.TextBox();
this.txt_Username = new System.Windows.Forms.TextBox();
this.lbl_Username = new System.Windows.Forms.Label();
this.lbl_Password = new System.Windows.Forms.Label();
this.chk_Share = new System.Windows.Forms.CheckBox();
this.SuspendLayout();
//
// btn_Add
//
this.btn_Add.Location = new System.Drawing.Point(98, 56);
this.btn_Add.Name = "btn_Add";
this.btn_Add.Size = new System.Drawing.Size(60, 24);
this.btn_Add.TabIndex = 4;
this.btn_Add.Text = "&Add User";
this.btn_Add.UseVisualStyleBackColor = true;
this.btn_Add.Click += new System.EventHandler(this.btn_Add_Click);
//
// btn_Cancel
//
this.btn_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btn_Cancel.Location = new System.Drawing.Point(166, 56);
this.btn_Cancel.Name = "btn_Cancel";
this.btn_Cancel.Size = new System.Drawing.Size(60, 24);
this.btn_Cancel.TabIndex = 5;
this.btn_Cancel.Text = "Cancel";
this.btn_Cancel.UseVisualStyleBackColor = true;
this.btn_Cancel.Click += new System.EventHandler(this.btn_Cancel_Click);
//
// txt_Password
//
this.txt_Password.Location = new System.Drawing.Point(124, 27);
this.txt_Password.MaxLength = 13;
this.txt_Password.Name = "txt_Password";
this.txt_Password.Size = new System.Drawing.Size(100, 20);
this.txt_Password.TabIndex = 2;
this.txt_Password.UseSystemPasswordChar = true;
//
// txt_Username
//
this.txt_Username.Location = new System.Drawing.Point(12, 27);
this.txt_Username.MaxLength = 16;
this.txt_Username.Name = "txt_Username";
this.txt_Username.Size = new System.Drawing.Size(100, 20);
this.txt_Username.TabIndex = 1;
//
// lbl_Username
//
this.lbl_Username.AutoSize = true;
this.lbl_Username.Location = new System.Drawing.Point(12, 9);
this.lbl_Username.Name = "lbl_Username";
this.lbl_Username.Size = new System.Drawing.Size(99, 13);
this.lbl_Username.TabIndex = 4;
this.lbl_Username.Text = "Username (Max 16)";
//
// lbl_Password
//
this.lbl_Password.AutoSize = true;
this.lbl_Password.Location = new System.Drawing.Point(121, 9);
this.lbl_Password.Name = "lbl_Password";
this.lbl_Password.Size = new System.Drawing.Size(97, 13);
this.lbl_Password.TabIndex = 5;
this.lbl_Password.Text = "Password (Max 13)";
//
// chk_Share
//
this.chk_Share.AutoSize = true;
this.chk_Share.Checked = true;
this.chk_Share.CheckState = System.Windows.Forms.CheckState.Checked;
this.chk_Share.Location = new System.Drawing.Point(10, 60);
this.chk_Share.Name = "chk_Share";
this.chk_Share.Size = new System.Drawing.Size(88, 17);
this.chk_Share.TabIndex = 3;
this.chk_Share.Text = "Create &Share";
this.chk_Share.UseVisualStyleBackColor = true;
//
// AddUserAccount_Form
//
this.AcceptButton = this.btn_Add;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.btn_Cancel;
this.ClientSize = new System.Drawing.Size(236, 89);
this.Controls.Add(this.btn_Add);
this.Controls.Add(this.chk_Share);
this.Controls.Add(this.lbl_Password);
this.Controls.Add(this.lbl_Username);
this.Controls.Add(this.txt_Username);
this.Controls.Add(this.txt_Password);
this.Controls.Add(this.btn_Cancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "AddUserAccount_Form";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Add User Account";
this.ResumeLayout(false);
this.PerformLayout();
 
}
 
#endregion
 
private System.Windows.Forms.Button btn_Add;
private System.Windows.Forms.Button btn_Cancel;
private System.Windows.Forms.TextBox txt_Password;
private System.Windows.Forms.TextBox txt_Username;
private System.Windows.Forms.Label lbl_Username;
private System.Windows.Forms.Label lbl_Password;
private System.Windows.Forms.CheckBox chk_Share;
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Add_User_Account_Form.cs
0,0 → 1,87
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
 
namespace SWAT_Office_App
{
public partial class Add_User_Account_Form : Form
{
private static Add_User_Account_Form _Add_User_Account_Instance = null;
// Modified singleton instance
public static Add_User_Account_Form Add_User_Account_Instance
{
get
{
_Add_User_Account_Instance = new Add_User_Account_Form();
return _Add_User_Account_Instance;
}
}
public Add_User_Account_Form()
{
InitializeComponent();
 
resetForm();
 
this.txt_Username.TextChanged += new EventHandler(txt_EmptyTxtBox);
this.txt_Password.TextChanged += new EventHandler(txt_EmptyTxtBox);
this.txt_Username.KeyPress += new KeyPressEventHandler(txt_Username_KeyPress);
}
private void resetForm()
{
this.btn_Add.Enabled = false;
this.txt_Username.Text = "";
this.txt_Password.Text = "";
this.txt_Username.Tag = false;
this.txt_Password.Tag = false;
this.txt_Username.Focus();
}
private void txt_EmptyTxtBox(object sender, EventArgs e)
{
TextBox tb = (TextBox)sender;
if (tb.Text.Length == 0)
tb.Tag = false;
else
tb.Tag = true;
ValidateBox();
}
private void ValidateBox()
{
this.btn_Add.Enabled = ((bool)(this.txt_Username.Tag) && (bool)(this.txt_Password.Tag));
}
private void txt_Username_KeyPress(object sender, KeyPressEventArgs e)
{
// Blocks symbols that cannot be used in the username field
if ((e.KeyChar < 32 || e.KeyChar == 34 || (e.KeyChar > 41 && e.KeyChar < 45) || e.KeyChar == 47 ||
(e.KeyChar > 57 && e.KeyChar < 65) || (e.KeyChar > 90 && e.KeyChar < 94) || e.KeyChar > 122) && e.KeyChar != 8)
e.Handled = true;
}
private void btn_Cancel_Click(object sender, EventArgs e)
{
this.Close();
}
private void btn_Add_Click(object sender, EventArgs e)
{
if (Manage_User_Accounts.AddUser(txt_Username.Text, txt_Password.Text))
{
if (this.chk_Share.Checked == true)
if (!Manage_User_Accounts.CreateShareFolder(txt_Username.Text))
{
Debug.appendText("Error occured while creating shared folder");
MessageBox.Show("Error occured when creating shared folder", "Error");
}
this.Close();
}
else
{
Debug.appendText("Error occured while creating new user account");
MessageBox.Show("Error occured when creating new user account","Error");
resetForm();
}
}
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Delete_User_Verify_Form.Designer.cs
0,0 → 1,91
namespace SWAT_Office_App
{
partial class Delete_User_Verify_Form
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
 
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
 
#region Windows Form Designer generated code
 
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Delete_User_Verify_Form));
this.lbl_Prompt1 = new System.Windows.Forms.Label();
this.txt_Password = new System.Windows.Forms.TextBox();
this.btn_Cancel = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// lbl_Prompt1
//
this.lbl_Prompt1.AutoSize = true;
this.lbl_Prompt1.Location = new System.Drawing.Point(1, 9);
this.lbl_Prompt1.Name = "lbl_Prompt1";
this.lbl_Prompt1.Size = new System.Drawing.Size(144, 13);
this.lbl_Prompt1.TabIndex = 0;
this.lbl_Prompt1.Text = "Enter in the SWAT password";
//
// txt_Password
//
this.txt_Password.Location = new System.Drawing.Point(18, 29);
this.txt_Password.Name = "txt_Password";
this.txt_Password.Size = new System.Drawing.Size(110, 20);
this.txt_Password.TabIndex = 1;
this.txt_Password.UseSystemPasswordChar = true;
//
// btn_Cancel
//
this.btn_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btn_Cancel.Location = new System.Drawing.Point(33, 55);
this.btn_Cancel.Name = "btn_Cancel";
this.btn_Cancel.Size = new System.Drawing.Size(80, 24);
this.btn_Cancel.TabIndex = 3;
this.btn_Cancel.Text = "Cancel";
this.btn_Cancel.UseVisualStyleBackColor = true;
this.btn_Cancel.Click += new System.EventHandler(this.btn_Cancel_Click);
//
// DeleteUserVerify_Form
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.btn_Cancel;
this.ClientSize = new System.Drawing.Size(147, 89);
this.Controls.Add(this.btn_Cancel);
this.Controls.Add(this.txt_Password);
this.Controls.Add(this.lbl_Prompt1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "DeleteUserVerify_Form";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Delete user(s)";
this.ResumeLayout(false);
this.PerformLayout();
 
}
 
#endregion
 
private System.Windows.Forms.Label lbl_Prompt1;
private System.Windows.Forms.TextBox txt_Password;
private System.Windows.Forms.Button btn_Cancel;
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Delete_User_Verify_Form.cs
0,0 → 1,56
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
 
namespace SWAT_Office_App
{
public partial class Delete_User_Verify_Form : Form
{
private List<string> selectedUsers = new List<string>();
public Delete_User_Verify_Form(List<string> users)
{
selectedUsers = users;
InitializeComponent();
this.txt_Password.Focus();
 
// Monitors the text in each textbox, triggering changes when certain criteria is met
this.txt_Password.TextChanged += new EventHandler(this.txt_Password_TextChanged);
}
private void txt_Password_TextChanged(object sender, EventArgs e)
{
TextBox tb = (TextBox)sender;
if (tb.Text == Settings_Form.globalAdminPassword)
{
bool error = false;
// Checks if any of the selected items are system accounts
foreach (string user in selectedUsers)
{
foreach (string systemUser in Settings_Form.systemAccounts)
{
if (user.ToLower() == systemUser.ToLower())
{
MessageBox.Show("Cannot delete the " + systemUser + " (system) account", "Error");
error = true;
}
}
}
if (error == false)
if (!Manage_User_Accounts.DeleteUser(selectedUsers))
{
Debug.appendText("Error occured when trying to delete user");
MessageBox.Show("Error occured when trying to delete user", "Error");
}
this.Close();
}
}
private void btn_Cancel_Click(object sender, EventArgs e)
{
this.Close();
}
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Main_Menu_Form.Designer.cs
0,0 → 1,121
namespace SWAT_Office_App
{
partial class Menu_Main_Form
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
 
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
 
#region Windows Form Designer generated code
 
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Menu_Main_Form));
this.groupBox_Menu1 = new System.Windows.Forms.GroupBox();
this.btn_DriveLogger = new System.Windows.Forms.Button();
this.btn_Settings = new System.Windows.Forms.Button();
this.btn_UserMgmt = new System.Windows.Forms.Button();
this.btn_Reimage_USB_Drives = new System.Windows.Forms.Button();
this.groupBox_Menu1.SuspendLayout();
this.SuspendLayout();
//
// groupBox_Menu1
//
this.groupBox_Menu1.Controls.Add(this.btn_DriveLogger);
this.groupBox_Menu1.Controls.Add(this.btn_Settings);
this.groupBox_Menu1.Controls.Add(this.btn_UserMgmt);
this.groupBox_Menu1.Controls.Add(this.btn_Reimage_USB_Drives);
this.groupBox_Menu1.Location = new System.Drawing.Point(12, 12);
this.groupBox_Menu1.Name = "groupBox_Menu1";
this.groupBox_Menu1.Size = new System.Drawing.Size(142, 209);
this.groupBox_Menu1.TabIndex = 0;
this.groupBox_Menu1.TabStop = false;
this.groupBox_Menu1.Text = "Main Menu";
//
// btn_DriveLogger
//
this.btn_DriveLogger.Location = new System.Drawing.Point(12, 65);
this.btn_DriveLogger.Name = "btn_DriveLogger";
this.btn_DriveLogger.Size = new System.Drawing.Size(118, 40);
this.btn_DriveLogger.TabIndex = 1;
this.btn_DriveLogger.Text = "&DriveLogger";
this.btn_DriveLogger.UseVisualStyleBackColor = true;
this.btn_DriveLogger.Click += new System.EventHandler(this.btn_DriveLogger_Click);
//
// btn_Settings
//
this.btn_Settings.Location = new System.Drawing.Point(12, 157);
this.btn_Settings.Name = "btn_Settings";
this.btn_Settings.Size = new System.Drawing.Size(118, 40);
this.btn_Settings.TabIndex = 3;
this.btn_Settings.Text = "Program &Settings";
this.btn_Settings.UseVisualStyleBackColor = true;
this.btn_Settings.Click += new System.EventHandler(this.btn_Main_Settings_Click);
//
// btn_UserMgmt
//
this.btn_UserMgmt.Location = new System.Drawing.Point(12, 19);
this.btn_UserMgmt.Name = "btn_UserMgmt";
this.btn_UserMgmt.Size = new System.Drawing.Size(118, 40);
this.btn_UserMgmt.TabIndex = 0;
this.btn_UserMgmt.Text = "Manage User &Accounts and Shares";
this.btn_UserMgmt.UseVisualStyleBackColor = true;
this.btn_UserMgmt.Click += new System.EventHandler(this.btn_Main_UserMgmt_Click);
//
// btn_Reimage_USB_Drives
//
this.btn_Reimage_USB_Drives.Location = new System.Drawing.Point(12, 111);
this.btn_Reimage_USB_Drives.Name = "btn_Reimage_USB_Drives";
this.btn_Reimage_USB_Drives.Size = new System.Drawing.Size(118, 40);
this.btn_Reimage_USB_Drives.TabIndex = 2;
this.btn_Reimage_USB_Drives.Text = "&Reimage USB Drives";
this.btn_Reimage_USB_Drives.UseVisualStyleBackColor = true;
this.btn_Reimage_USB_Drives.Click += new System.EventHandler(this.btn_Reimage_USB_Drives_Click);
//
// Menu_Main
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.Control;
this.ClientSize = new System.Drawing.Size(167, 233);
this.Controls.Add(this.groupBox_Menu1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.KeyPreview = true;
this.MaximizeBox = false;
this.Name = "Menu_Main";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "SWAT";
this.groupBox_Menu1.ResumeLayout(false);
this.ResumeLayout(false);
 
}
 
#endregion
 
private System.Windows.Forms.GroupBox groupBox_Menu1;
private System.Windows.Forms.Button btn_Settings;
private System.Windows.Forms.Button btn_UserMgmt;
private System.Windows.Forms.Button btn_Reimage_USB_Drives;
private System.Windows.Forms.Button btn_DriveLogger;
}
}
 
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Main_Menu_Form.cs
0,0 → 1,108
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
 
namespace SWAT_Office_App
{
public partial class Menu_Main_Form : Form
{
public Menu_Main_Form()
{
Debug.startNewSession();
Settings_Form.ImportSettings();
Stat_Logging.ImportSettings();
InitializeComponent();
this.KeyPress += new KeyPressEventHandler(Menu_Main_KeyPress);
this.FormClosing += new FormClosingEventHandler(Menu_Main_FormClosing);
}
 
void Menu_Main_FormClosing(object sender, FormClosingEventArgs e)
{
Stat_Logging.ExportSettings();
}
void Menu_Main_KeyPress(object sender, KeyPressEventArgs e)
{
// Monitors for keypresses
switch (e.KeyChar)
{
case '1': // Manage User Accounts and Shares
Manage_User_Accounts_Form user_Mgmt = new Manage_User_Accounts_Form();
user_Mgmt.ShowDialog();
break;
case '2': // DriveLogger
// Check to make sure that an instance of DriveLogger isnt already running
if (!DriveLogger_Form.instanceAlreadyRunning)
{
Debug.appendText("Starting instance of DriveLogger");
DriveLogger_Form driveForm = new DriveLogger_Form();
driveForm.Show();
}
else
{
MessageBox.Show("An instance of DriveLogger is already running");
}
break;
case '3': // Reimage USB Drives
// Check to make sure that another imaging thread isnt running
if (!Reimage_USB_Drives.threadsRunning)
{
Debug.appendText("Starting reimaging of USB drives");
Reimage_USB_Drives.reimageUSBDrives();
}
else
MessageBox.Show("Another file copy operation is currently in progress.\n" +
"Please wait for transfer to finish before starting another");
break;
case '4': // Program Settings
Settings_Verify_Form settingsForm = new Settings_Verify_Form();
settingsForm.ShowDialog();
break;
case '?': // About
About_Box_Form aboutForm = new About_Box_Form();
aboutForm.ShowDialog();
break;
}
}
private void btn_Main_UserMgmt_Click(object sender, EventArgs e)
{
// Manage User Accounts and Shares
Manage_User_Accounts_Form userMgmtForm = new Manage_User_Accounts_Form();
userMgmtForm.ShowDialog();
}
private void btn_DriveLogger_Click(object sender, EventArgs e)
{
// DriveLogger
if (!DriveLogger_Form.instanceAlreadyRunning)
{
Debug.appendText("Starting instance of DriveLogger");
DriveLogger_Form driveForm = new DriveLogger_Form();
driveForm.Show();
}
else
MessageBox.Show("An instance of DriveLogger is already running");
}
private void btn_Reimage_USB_Drives_Click(object sender, EventArgs e)
{
// Reimage USB Drives
if (!Reimage_USB_Drives.threadsRunning)
{
Debug.appendText("Starting reimaging of USB drives");
Reimage_USB_Drives.reimageUSBDrives();
}
else
MessageBox.Show("Another file copy operation is currently in progress.\n" +
"Please wait for transfer to finish before starting another");
}
private void btn_Main_Settings_Click(object sender, EventArgs e)
{
// Program Settings
Settings_Verify_Form settingsForm = new Settings_Verify_Form();
settingsForm.ShowDialog();
}
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Manage_User_Accounts.cs
0,0 → 1,372
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;
using System.Security.AccessControl;
using System.DirectoryServices.AccountManagement;
 
namespace SWAT_Office_App
{
class Manage_User_Accounts
{
private static string studentGroupName = "StudentAccounts";
public static List<UserPrincipal> UserAccountsList = new List<UserPrincipal>();
public static bool AddUser(string username, string password)
{
try
{
PrincipalContext localSystem = new PrincipalContext(ContextType.Machine);
// Creates a new user after checking if it already exists or not
UserPrincipal newUser = new UserPrincipal(localSystem);
newUser.Name = username;
PrincipalSearcher searcher = new PrincipalSearcher(newUser);
Principal result = searcher.FindOne();
if (result == null)
{
newUser = new UserPrincipal(localSystem);
newUser.Name = username;
newUser.SetPassword(password);
newUser.PasswordNeverExpires = true;
newUser.PasswordNotRequired = false;
newUser.UserCannotChangePassword = true;
newUser.Description = DateTime.Now.ToShortDateString();
newUser.Save();
 
// Creates a new group after checking if it already exists or not
GroupPrincipal studentGroup = new GroupPrincipal(localSystem);
studentGroup.Name = studentGroupName;
searcher = new PrincipalSearcher(studentGroup);
result = searcher.FindOne();
// Creates group if it doesnt already exist
if (result == null)
{
studentGroup = new GroupPrincipal(localSystem, studentGroupName);
studentGroup.Name = studentGroupName;
studentGroup.IsSecurityGroup = true;
studentGroup.Members.Add(newUser);
studentGroup.Save();
}
// Otherwise add to existing group
else
{
studentGroup = (GroupPrincipal)result;
studentGroup.Members.Add(newUser);
studentGroup.Save();
}
Debug.appendText("Account " + username + " has been created");
Stat_Logging.AccountsCreated += 1;
return true;
}
else
{
// local account already exists, return with error
return false;
}
}
catch (Exception e)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(e.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
return false;
}
}
public static bool DeleteUser(List<string> usernames)
{
try
{
bool Success = true;
PrincipalContext localSystem = new PrincipalContext(ContextType.Machine);
// Iterates through and deletes selected users
foreach (string user in usernames)
{
bool deleteShare = false;
if (Directory.Exists(Settings_Form.sharedFolderLocation + @"\" + user))
{
// Prompts for deletion of folder as well as the user account
DialogResult result = MessageBox.Show("A shared folder exists for the user " + user + "!" +
"\nDelete the folder and all data within the folder?",
"Warning!", MessageBoxButtons.YesNo);
if (result == DialogResult.Yes)
deleteShare = true;
}
// Finds and deletes user and share
UserPrincipal toDelete = new UserPrincipal(localSystem);
toDelete.Name = user;
PrincipalSearcher searcher = new PrincipalSearcher(toDelete);
Principal found = searcher.FindOne();
toDelete = (UserPrincipal)found;
toDelete.Delete();
Debug.appendText("Account " + user + " has been deleted");
// Deletes share if selected
if (deleteShare)
if (!DeleteShareFolder(user))
Success = false;
}
return Success;
}
catch (Exception e)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(e.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
return false;
}
}
public static bool QueryUserAccounts()
{
// Function that reads the user accounts on the local computer to UserAccountsList
UserAccountsList.Clear();
try
{
PrincipalContext localSystem = new PrincipalContext(ContextType.Machine);
UserPrincipal user = new UserPrincipal(localSystem);
user.Name = "*";
PrincipalSearcher searcher = new PrincipalSearcher(user);
PrincipalSearchResult<Principal> result = searcher.FindAll();
foreach (Principal p in result)
UserAccountsList.Add((UserPrincipal)p);
return true;
}
catch (Exception e)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(e.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
return false;
}
}
public static bool QueryUserSharedFolderExist(string username)
{
return Directory.Exists(Settings_Form.sharedFolderLocation + @"\" + username);
}
public static bool CreateShareFolder(string username)
{
try
{
// Creates the directory with only the specific NTFS and share permissions for the user.
DirectorySecurity dSecurity = new DirectorySecurity();
// Adds NTFS permissions for system accounts
foreach (string systemUser in Settings_Form.systemAccounts)
{
dSecurity.AddAccessRule(new FileSystemAccessRule("\\" + systemUser, FileSystemRights.FullControl, InheritanceFlags.ContainerInherit, PropagationFlags.None, AccessControlType.Allow));
dSecurity.AddAccessRule(new FileSystemAccessRule("\\" + systemUser, FileSystemRights.FullControl, InheritanceFlags.ObjectInherit, PropagationFlags.None, AccessControlType.Allow));
}
// Adds NTFS permissions for the user
dSecurity.AddAccessRule(new FileSystemAccessRule("\\" + username, FileSystemRights.FullControl, InheritanceFlags.ContainerInherit, PropagationFlags.None, AccessControlType.Allow));
dSecurity.AddAccessRule(new FileSystemAccessRule("\\" + username, FileSystemRights.FullControl, InheritanceFlags.ObjectInherit, PropagationFlags.None, AccessControlType.Allow));
Directory.CreateDirectory(Settings_Form.sharedFolderLocation + @"\" + username, dSecurity);
Debug.appendText("Shared folder for " + username + " has been created");
if (SetSharePermissions(username))
{
Stat_Logging.SharesCreated += 1;
return true;
}
else
return false;
}
catch (Exception e)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(e.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
return false;
}
}
public static bool DeleteShareFolder(string username)
{
try
{
bool Success = true;
// Removes the share BEFORE deleting the folder. Otherwise share will error on remove.
if (!RemoveSharePermissions(username))
Success = false;
Directory.Delete(Settings_Form.sharedFolderLocation + @"\" + username, true);
Debug.appendText("Shared folder for " + username + " has been deleted");
return Success;
}
catch (Exception e)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(e.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
return false;
}
}
public static bool ToggleShare(string username)
{
try
{
// Checks if a share already exists for the user
if (Directory.Exists(Settings_Form.sharedFolderLocation + @"\" + username))
{
DialogResult result = MessageBox.Show("A shared folder exists for the user " + username + "!" +
"\nDelete the folder and all data within the folder?",
"Warning!", MessageBoxButtons.YesNo);
if (result == DialogResult.Yes)
return DeleteShareFolder(username);
}
// Otherwise creates the share for the user
else
return CreateShareFolder(username);
return true;
}
catch (Exception e)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(e.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
return false;
}
}
public static long GetShareSize(string username)
{
DirectoryInfo dir = new DirectoryInfo(Settings_Form.sharedFolderLocation + @"\" + username);
long size = GetDirSize(dir);
return size;
}
private static long GetDirSize(DirectoryInfo input)
{
try
{
if (input.Exists)
{
long size = 0;
FileInfo[] files = input.GetFiles();
foreach (FileInfo file in files)
{
size += file.Length;
}
DirectoryInfo[] dirs = input.GetDirectories();
foreach (DirectoryInfo dir in dirs)
{
size += GetDirSize(dir);
}
return size;
}
else
return 0;
}
catch (Exception e)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(e.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
return 0;
}
}
public static bool ChangeUserPassword(string username, string password)
{
try
{
// Queries for the specified user password
PrincipalContext localSystem = new PrincipalContext(ContextType.Machine);
UserPrincipal user = new UserPrincipal(localSystem);
user.Name = username;
PrincipalSearcher searcher = new PrincipalSearcher(user);
Principal result = searcher.FindOne();
user = (UserPrincipal)result;
user.SetPassword(password);
user.Save();
Debug.appendText("Password for " + username + " has been changed");
return true;
}
catch (Exception e)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(e.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
return false;
}
}
public static bool SessionsOpen()
{
try
{
Process netProcess = new Process();
netProcess.StartInfo.WorkingDirectory = System.Environment.SystemDirectory;
netProcess.StartInfo.FileName = "net.exe";
netProcess.StartInfo.UseShellExecute = false;
netProcess.StartInfo.RedirectStandardOutput = true;
netProcess.StartInfo.CreateNoWindow = true;
netProcess.StartInfo.Arguments = "SESSION";
netProcess.Start();
string netOutput = netProcess.StandardOutput.ReadToEnd();
// Splits the output into seperate strings for further processing
string[] tempSplit = netOutput.Split(new string[] { " ", "\r", "\n" }, StringSplitOptions.RemoveEmptyEntries);
netProcess.WaitForExit();
netProcess.Close();
 
if (tempSplit[0] == "There are no entries in the list.")
return false;
else
return true;
}
catch (Exception e)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(e.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
return true;
}
}
private static bool SetSharePermissions(string username)
{
string combinationString = "";
foreach (string systemUser in Settings_Form.systemAccounts)
{
combinationString = combinationString.Insert(combinationString.Length, " /GRANT:\"" + systemUser + "\",FULL");
}
combinationString = combinationString.Insert(combinationString.Length, " /GRANT:\"" + username + "\",FULL");
try
{
Process netProcess = new Process();
netProcess.StartInfo.WorkingDirectory = System.Environment.SystemDirectory;
netProcess.StartInfo.FileName = "net.exe";
netProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
netProcess.StartInfo.CreateNoWindow = true;
netProcess.StartInfo.Arguments = "SHARE \"" + username + "\"=\"" + Settings_Form.sharedFolderLocation + "\\" + username + "\" " + combinationString;
netProcess.Start();
netProcess.WaitForExit();
netProcess.Close();
Debug.appendText("Share permissions for " + username + " has been set");
return true;
}
catch (Exception e)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(e.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
return false;
}
}
private static bool RemoveSharePermissions(string username)
{
try
{
Process netProcess = new Process();
netProcess.StartInfo.WorkingDirectory = System.Environment.SystemDirectory;
netProcess.StartInfo.FileName = "net.exe";
netProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
netProcess.StartInfo.CreateNoWindow = true;
netProcess.StartInfo.Arguments = "SHARE \"" + username + "\" /Delete";
netProcess.Start();
netProcess.WaitForExit();
netProcess.Close();
Debug.appendText("Share permissions for " + username + " has been removed");
return true;
}
catch (Exception e)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(e.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
return false;
}
}
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Manage_User_Accounts_Form.Designer.cs
0,0 → 1,172
namespace SWAT_Office_App
{
partial class Manage_User_Accounts_Form
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
 
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
 
#region Windows Form Designer generated code
 
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Manage_User_Accounts_Form));
this.lst_UserAccounts = new System.Windows.Forms.ListView();
this.btn_Add = new System.Windows.Forms.Button();
this.btn_Delete = new System.Windows.Forms.Button();
this.btn_Exit = new System.Windows.Forms.Button();
this.btn_Pass = new System.Windows.Forms.Button();
this.btn_Share = new System.Windows.Forms.Button();
this.btn_Refresh = new System.Windows.Forms.Button();
this.btn_OpenShare = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// lst_UserAccounts
//
this.lst_UserAccounts.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lst_UserAccounts.FullRowSelect = true;
this.lst_UserAccounts.GridLines = true;
this.lst_UserAccounts.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
this.lst_UserAccounts.HideSelection = false;
this.lst_UserAccounts.Location = new System.Drawing.Point(12, 12);
this.lst_UserAccounts.Name = "lst_UserAccounts";
this.lst_UserAccounts.Size = new System.Drawing.Size(327, 348);
this.lst_UserAccounts.TabIndex = 0;
this.lst_UserAccounts.UseCompatibleStateImageBehavior = false;
this.lst_UserAccounts.View = System.Windows.Forms.View.Details;
//
// btn_Add
//
this.btn_Add.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_Add.Location = new System.Drawing.Point(353, 46);
this.btn_Add.Name = "btn_Add";
this.btn_Add.Size = new System.Drawing.Size(75, 40);
this.btn_Add.TabIndex = 2;
this.btn_Add.Text = "&Add Account";
this.btn_Add.UseVisualStyleBackColor = true;
this.btn_Add.Click += new System.EventHandler(this.btn_Add_Click);
//
// btn_Delete
//
this.btn_Delete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_Delete.Location = new System.Drawing.Point(353, 99);
this.btn_Delete.Name = "btn_Delete";
this.btn_Delete.Size = new System.Drawing.Size(75, 40);
this.btn_Delete.TabIndex = 3;
this.btn_Delete.Text = "&Delete Account";
this.btn_Delete.UseVisualStyleBackColor = true;
this.btn_Delete.Click += new System.EventHandler(this.btn_Delete_Click);
//
// btn_Exit
//
this.btn_Exit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btn_Exit.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btn_Exit.Location = new System.Drawing.Point(378, 338);
this.btn_Exit.Name = "btn_Exit";
this.btn_Exit.Size = new System.Drawing.Size(50, 22);
this.btn_Exit.TabIndex = 7;
this.btn_Exit.Text = "Close";
this.btn_Exit.UseVisualStyleBackColor = true;
this.btn_Exit.Click += new System.EventHandler(this.btn_Exit_Click);
//
// btn_Pass
//
this.btn_Pass.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_Pass.Location = new System.Drawing.Point(353, 152);
this.btn_Pass.Name = "btn_Pass";
this.btn_Pass.Size = new System.Drawing.Size(75, 40);
this.btn_Pass.TabIndex = 4;
this.btn_Pass.Text = "&Reset Password";
this.btn_Pass.UseVisualStyleBackColor = true;
this.btn_Pass.Click += new System.EventHandler(this.btn_Pass_Click);
//
// btn_Share
//
this.btn_Share.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_Share.Location = new System.Drawing.Point(353, 205);
this.btn_Share.Name = "btn_Share";
this.btn_Share.Size = new System.Drawing.Size(75, 40);
this.btn_Share.TabIndex = 5;
this.btn_Share.Text = "&Toggle Share";
this.btn_Share.UseVisualStyleBackColor = true;
this.btn_Share.Click += new System.EventHandler(this.btn_Share_Click);
//
// btn_Refresh
//
this.btn_Refresh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_Refresh.Image = global::SWAT_Office_App.Properties.Resources.Refresh;
this.btn_Refresh.Location = new System.Drawing.Point(353, 12);
this.btn_Refresh.Name = "btn_Refresh";
this.btn_Refresh.Size = new System.Drawing.Size(23, 23);
this.btn_Refresh.TabIndex = 1;
this.btn_Refresh.UseVisualStyleBackColor = true;
this.btn_Refresh.Click += new System.EventHandler(this.btn_Refresh_Click);
//
// btn_OpenShare
//
this.btn_OpenShare.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_OpenShare.Location = new System.Drawing.Point(353, 258);
this.btn_OpenShare.Name = "btn_OpenShare";
this.btn_OpenShare.Size = new System.Drawing.Size(75, 40);
this.btn_OpenShare.TabIndex = 6;
this.btn_OpenShare.Text = "&Open Share";
this.btn_OpenShare.UseVisualStyleBackColor = true;
this.btn_OpenShare.Click += new System.EventHandler(this.btn_OpenShare_Click);
//
// ManageUserAccounts_Form
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.btn_Exit;
this.ClientSize = new System.Drawing.Size(440, 372);
this.Controls.Add(this.btn_OpenShare);
this.Controls.Add(this.btn_Refresh);
this.Controls.Add(this.btn_Share);
this.Controls.Add(this.btn_Pass);
this.Controls.Add(this.btn_Exit);
this.Controls.Add(this.btn_Delete);
this.Controls.Add(this.btn_Add);
this.Controls.Add(this.lst_UserAccounts);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "ManageUserAccounts_Form";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Manage User Accounts";
this.ResumeLayout(false);
 
}
 
#endregion
 
private System.Windows.Forms.ListView lst_UserAccounts;
private System.Windows.Forms.Button btn_Add;
private System.Windows.Forms.Button btn_Delete;
private System.Windows.Forms.Button btn_Exit;
private System.Windows.Forms.Button btn_Pass;
private System.Windows.Forms.Button btn_Share;
private System.Windows.Forms.Button btn_Refresh;
private System.Windows.Forms.Button btn_OpenShare;
 
 
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Manage_User_Accounts_Form.cs
0,0 → 1,235
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.DirectoryServices.AccountManagement;
 
namespace SWAT_Office_App
{
public partial class Manage_User_Accounts_Form : Form
{
public Manage_User_Accounts_Form()
{
InitializeComponent();
// Designate columns to include in listview for the Manage User Accounts Form
ColumnHeader Column_1 = new ColumnHeader();
Column_1.Text = "Username";
Column_1.Width = 121;
this.lst_UserAccounts.Columns.Add(Column_1);
ColumnHeader Column_2 = new ColumnHeader();
Column_2.Text = "Share";
Column_2.Width = 46;
Column_2.TextAlign = HorizontalAlignment.Center;
this.lst_UserAccounts.Columns.Add(Column_2);
ColumnHeader Column_3 = new ColumnHeader();
Column_3.Text = "Size";
Column_3.Width = 75;
Column_3.TextAlign = HorizontalAlignment.Center;
this.lst_UserAccounts.Columns.Add(Column_3);
ColumnHeader Column_4 = new ColumnHeader();
Column_4.Text = "Date Created";
Column_4.Width = 80;
Column_4.TextAlign = HorizontalAlignment.Center;
this.lst_UserAccounts.Columns.Add(Column_4);
 
PaintUserListbox();
this.btn_Delete.Enabled = false;
this.btn_Pass.Enabled = false;
this.btn_Share.Enabled = false;
this.btn_OpenShare.Enabled = false;
this.lst_UserAccounts.ItemSelectionChanged += new ListViewItemSelectionChangedEventHandler(this.lst_ItemSelectionChanged);
this.Activated += new EventHandler(this.form_Activated);
}
private void PaintUserListbox()
{
try
{
// Function for refreshing/painting the listbox
this.lst_UserAccounts.BeginUpdate();
Manage_User_Accounts.QueryUserAccounts();
 
// Temporary entries in listview
//ListViewItem entry;
//ListViewItem.ListViewSubItem s_entry;
//entry = new ListViewItem();
//entry.Text = "TestUser";
//s_entry = new ListViewItem.ListViewSubItem();
//s_entry.Text = "Yes";
//entry.SubItems.Add(s_entry);
//s_entry = new ListViewItem.ListViewSubItem();
//s_entry.Text = "Yes";
//entry.SubItems.Add(s_entry);
//s_entry = new ListViewItem.ListViewSubItem();
//s_entry.Text = "01/05/2010";
//entry.SubItems.Add(s_entry);
//this.lst_User_Accounts.Items.Add(entry);
 
this.lst_UserAccounts.Items.Clear();
// Prevents system accounts from showing, depending on settings
foreach (UserPrincipal user in Manage_User_Accounts.UserAccountsList)
{
ListViewItem entry = new ListViewItem();
bool remove = false;
foreach (string hiddenUser in Settings_Form.hiddenAccounts)
{
if (user.Name.ToLower() == hiddenUser.ToLower())
{
remove = true;
break;
}
}
// Populates the subitem columns for each entry
if (remove == false)
{
ListViewItem.ListViewSubItem s_share = new ListViewItem.ListViewSubItem();
if (Manage_User_Accounts.QueryUserSharedFolderExist(user.Name))
s_share.Text = "Yes";
else
s_share.Text = "No";
entry.SubItems.Add(s_share);
ListViewItem.ListViewSubItem s_size = new ListViewItem.ListViewSubItem();
long size = Manage_User_Accounts.GetShareSize(user.Name);
if ((size / 1073741824) > 0)
s_size.Text = (size / 1073741824).ToString() + " GB";
else
s_size.Text = (size / 1048576).ToString() + " MB";
entry.SubItems.Add(s_size);
ListViewItem.ListViewSubItem s_datecreated = new ListViewItem.ListViewSubItem();
s_datecreated.Text = user.Description;
entry.SubItems.Add(s_datecreated);
}
if (remove == false)
{
entry.Text = user.Name;
this.lst_UserAccounts.Items.Add(entry);
}
}
this.lst_UserAccounts.EndUpdate();
}
catch (Exception e)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(e.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
}
}
private void lst_ItemSelectionChanged(object sender, ListViewItemSelectionChangedEventArgs e)
{
lst_ValidateAll();
}
private void lst_ValidateAll()
{
// Enables/disables certain buttons depending on number of items selected
ListView.SelectedListViewItemCollection collection = this.lst_UserAccounts.SelectedItems;
if (collection.Count == 0)
{
this.btn_Delete.Enabled = false;
this.btn_Pass.Enabled = false;
this.btn_Share.Enabled = false;
this.btn_OpenShare.Enabled = false;
}
else if (collection.Count == 1)
{
// Checks if any of the selected items are system accounts
bool check = false;
foreach (string systemUser in Settings_Form.systemAccounts)
{
if (collection[0].Text.ToLower() == systemUser.ToLower())
check = true;
}
if (check == false)
{
this.btn_Delete.Enabled = true;
this.btn_Pass.Enabled = true;
this.btn_Share.Enabled = true;
ListViewItem.ListViewSubItem subItem = collection[0].SubItems[1];
if (subItem.Text == "Yes")
this.btn_OpenShare.Enabled = true;
else
this.btn_OpenShare.Enabled = false;
}
else
{
this.btn_Delete.Enabled = false;
this.btn_Pass.Enabled = false;
this.btn_Share.Enabled = false;
this.btn_OpenShare.Enabled = false;
}
}
else
{
this.btn_Delete.Enabled = true;
this.btn_Pass.Enabled = false;
this.btn_Share.Enabled = false;
this.btn_OpenShare.Enabled = false;
}
}
private void form_Activated(object sender, EventArgs e)
{
// Refreshes form on form activation
Manage_User_Accounts.QueryUserAccounts();
PaintUserListbox();
}
private void btn_Exit_Click(object sender, EventArgs e)
{
this.Close();
}
private void btn_Refresh_Click(object sender, EventArgs e)
{
PaintUserListbox();
}
private void btn_Add_Click(object sender, EventArgs e)
{
Add_User_Account_Form.Add_User_Account_Instance.ShowDialog();
lst_ValidateAll();
}
private void btn_Delete_Click(object sender, EventArgs e)
{
if (!Manage_User_Accounts.SessionsOpen())
{
ListView.SelectedListViewItemCollection selectedItems = this.lst_UserAccounts.SelectedItems;
List<string> userList = new List<string>();
foreach (ListViewItem user in selectedItems)
userList.Add(user.Text);
Delete_User_Verify_Form newForm = new Delete_User_Verify_Form(userList);
newForm.ShowDialog();
}
else
MessageBox.Show("Sessions are still open. Please close them before deleting accounts", "Error");
PaintUserListbox();
lst_ValidateAll();
}
private void btn_Pass_Click(object sender, EventArgs e)
{
ListView.SelectedListViewItemCollection selectedItems = this.lst_UserAccounts.SelectedItems;
Reset_User_Password_Form newForm = new Reset_User_Password_Form(selectedItems[0].Text);
newForm.ShowDialog();
 
PaintUserListbox();
lst_ValidateAll();
}
private void btn_Share_Click(object sender, EventArgs e)
{
ListView.SelectedListViewItemCollection selectedItems = this.lst_UserAccounts.SelectedItems;
Toggle_User_Verify_Form newForm = new Toggle_User_Verify_Form(selectedItems[0].Text);
newForm.ShowDialog();
 
PaintUserListbox();
lst_ValidateAll();
}
private void btn_OpenShare_Click(object sender, EventArgs e)
{
ListView.SelectedListViewItemCollection selectedItems = this.lst_UserAccounts.SelectedItems;
string openFolderString = Settings_Form.sharedFolderLocation + "\\" + selectedItems[0].Text;
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo.FileName = openFolderString;
proc.Start();
}
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Program.cs
0,0 → 1,21
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
 
namespace SWAT_Office_App
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Menu_Main_Form());
}
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Reimage_USB_Drive_Progress_Form.cs
0,0 → 1,82
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
 
namespace SWAT_Office_App
{
public partial class Reimage_USB_Drive_Progress_Form : Form
{
private static Reimage_USB_Drive_Progress_Form _Reimage_USB_Drive_Progress_Form = null;
// Singleton instance
public static Reimage_USB_Drive_Progress_Form Reimage_USB_Drive_Progress_Form_Instance
{
set
{
_Reimage_USB_Drive_Progress_Form = value;
}
get
{
if (_Reimage_USB_Drive_Progress_Form == null)
_Reimage_USB_Drive_Progress_Form = new Reimage_USB_Drive_Progress_Form();
return _Reimage_USB_Drive_Progress_Form;
}
}
public Reimage_USB_Drive_Progress_Form()
{
InitializeComponent();
btn_Cancel.Text = "Cancel";
this.updateStatus("Beginning the Reimaging of USB Drives");
}
private void btn_Cancel_Click(object sender, EventArgs e)
{
Reimage_USB_Drives.bwThread.CancelAsync();
foreach (BackgroundWorker bw in Reimage_USB_Drives.backgroundWorkerList)
bw.CancelAsync();
btn_Cancel.Text = "Cancellation Pending";
}
delegate void updateStatus_(string parameter);
public void updateStatus(string status)
{
try
{
if (!InvokeRequired)
{
lbl_Status.Text = status;
}
else
Invoke(new updateStatus_(updateStatus), new object[] { status });
}
catch (Exception e)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(e.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
}
}
delegate void closeForm_();
public void closeForm()
{
try
{
if (!InvokeRequired)
{
this.Close();
}
else
Invoke(new closeForm_(closeForm), new object[] { });
}
catch (Exception e)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(e.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
}
}
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Reimage_USB_Drives.cs
0,0 → 1,344
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Windows.Forms;
using System.Diagnostics;
using System.Threading;
using System.ComponentModel;
 
namespace SWAT_Office_App
{
class Reimage_USB_Drives
{
public static List<string> allSwatUSBDrivesx32 = new List<string>();
public static List<string> allSwatUSBDrivesx64 = new List<string>();
public static BackgroundWorker bwThread = null;
public static Reimage_USB_Drive_Progress_Form progressForm = null;
public static List<BackgroundWorker> backgroundWorkerList = new List<BackgroundWorker>();
public static bool threadsRunning = false;
private static bool allThreadsCompleted = false;
private static bool threadsCancelled = false;
private static DateTime startTime;
private static DateTime endTime;
public static void getDriveLetters()
{
allSwatUSBDrivesx32.Clear();
allSwatUSBDrivesx64.Clear();
backgroundWorkerList.Clear();
string pathToSWATDrive;
// Pulls information from all drives on the running computer
DriveInfo[] allDrives = DriveInfo.GetDrives();
// Looks for a drive with the correct label, updates pathToSWATDrive with the drive letter
foreach (DriveInfo drive in allDrives)
{
if (drive.IsReady == true)
{
// Drive label for the USB drives is set here.
if (drive.VolumeLabel.ToUpper() == "SWAT DRIVE X32" && drive.DriveType == DriveType.Removable)
{
pathToSWATDrive = drive.Name;
allSwatUSBDrivesx32.Add(pathToSWATDrive);
}
if (drive.VolumeLabel.ToUpper() == "SWAT DRIVE X64" && drive.DriveType == DriveType.Removable)
{
pathToSWATDrive = drive.Name;
allSwatUSBDrivesx64.Add(pathToSWATDrive);
}
}
}
// Prompts for drive to be inserted
if ((allSwatUSBDrivesx32.Count == 0) && (allSwatUSBDrivesx64.Count == 0))
{
DialogResult result;
result = MessageBox.Show("Unable to locate any SWAT USB drives.", "Error");
}
}
public static void reimageUSBDrives()
{
try
{
if (Settings_Form.defaultSettings == false)
{
if ((File.Exists(Settings_Form.usbMasterx32CopyLocation + "\\boot\\bootsect.exe")) &&
(File.Exists(Settings_Form.usbMasterx64CopyLocation + "\\boot\\bootsect.exe")))
{
startTime = DateTime.Now;
getDriveLetters();
if ((allSwatUSBDrivesx32.Count != 0) || (allSwatUSBDrivesx64.Count != 0))
{
threadsRunning = true;
bwThread = new BackgroundWorker();
bwThread.WorkerSupportsCancellation = true;
bwThread.DoWork += new DoWorkEventHandler(bwThread_DoWork);
bwThread.RunWorkerCompleted += new RunWorkerCompletedEventHandler(bwThread_RunWorkerCompleted);
bwThread.RunWorkerAsync();
progressForm = new Reimage_USB_Drive_Progress_Form();
progressForm.Show();
Debug.appendText("Beginning the reimaging of USB Drives");
}
}
else
{
MessageBox.Show("bootsect.exe is missing from the master image location","Error");
}
}
else
{
MessageBox.Show("Settings have not been changed yet.\nPlease verify settings before continuing.", "Warning!");
}
}
catch (Exception e)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(e.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
}
}
private static void bwThread_DoWork(object sender, DoWorkEventArgs e)
{
try
{
BackgroundWorker worker = sender as BackgroundWorker;
//Reimage_USB_Drives.wipeUSBDrives(worker, e);
Thread.Sleep(1000);
// Reformats all SWAT USB Drives
foreach (string drive in allSwatUSBDrivesx32)
{
if (worker.CancellationPending)
{
e.Cancel = true;
break;
}
progressForm.updateStatus("Reformatting Drive " + drive);
Process proc = new Process();
proc.StartInfo.FileName = "DISKPART";
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.RedirectStandardInput = true;
proc.StartInfo.CreateNoWindow = true;
proc.Start();
 
StreamWriter procInput = proc.StandardInput;
procInput.WriteLine("SELECT VOLUME=" + drive);
procInput.WriteLine("FORMAT FS=NTFS LABEL=\"SWAT Drive x32\" QUICK");
procInput.WriteLine("EXIT");
proc.WaitForExit();
}
foreach (string drive in allSwatUSBDrivesx64)
{
if (worker.CancellationPending)
{
e.Cancel = true;
break;
}
progressForm.updateStatus("Reformatting Drive " + drive);
Process proc = new Process();
proc.StartInfo.FileName = "DISKPART";
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.RedirectStandardInput = true;
proc.StartInfo.CreateNoWindow = true;
proc.Start();
 
StreamWriter procInput = proc.StandardInput;
procInput.WriteLine("SELECT VOLUME=" + drive);
procInput.WriteLine("FORMAT FS=NTFS LABEL=\"SWAT Drive x64\" QUICK");
procInput.WriteLine("EXIT");
proc.WaitForExit();
}
getDriveLetters();
 
//Reimage_USB_Drives.callBootsect();
 
// Runs bootsect.exe on each drive to install the bootloader
foreach (string drive in allSwatUSBDrivesx32)
{
if (worker.CancellationPending)
{
e.Cancel = true;
break;
}
progressForm.updateStatus("Writing Bootsector on Drive " + drive);
Process proc = new Process();
proc.StartInfo.FileName = Settings_Form.usbMasterx32CopyLocation + "\\boot\\bootsect.exe";
proc.StartInfo.Arguments = "/NT60 " + drive.Substring(0, 2) + " /FORCE";
proc.Start();
proc.WaitForExit();
}
foreach (string drive in allSwatUSBDrivesx64)
{
if (worker.CancellationPending)
{
e.Cancel = true;
break;
}
progressForm.updateStatus("Writing Bootsector on Drive " + drive);
Process proc = new Process();
proc.StartInfo.FileName = Settings_Form.usbMasterx32CopyLocation + "\\boot\\bootsect.exe";
proc.StartInfo.Arguments = "/NT60 " + drive.Substring(0, 2) + " /FORCE";
proc.Start();
proc.WaitForExit();
}
 
//Reimage_USB_Drives.copyMasterImage();
 
// Copies the master image to each USB Drive
foreach (string drive in allSwatUSBDrivesx32)
{
if (worker.CancellationPending)
{
e.Cancel = true;
break;
}
BackgroundWorker fileCopyThread = new BackgroundWorker();
backgroundWorkerList.Add(fileCopyThread);
fileCopyThread.WorkerSupportsCancellation = true;
fileCopyThread.DoWork += new DoWorkEventHandler(fileCopyThread32_DoWork);
fileCopyThread.RunWorkerCompleted += new RunWorkerCompletedEventHandler(fileCopyThread_RunWorkerCompleted);
fileCopyThread.RunWorkerAsync(drive);
//DirectoryCopy(Settings_Form.usbMasterx32CopyLocation, drive, true, worker, e);
}
foreach (string drive in allSwatUSBDrivesx64)
{
if (worker.CancellationPending)
{
e.Cancel = true;
break;
}
BackgroundWorker fileCopyThread = new BackgroundWorker();
backgroundWorkerList.Add(fileCopyThread);
fileCopyThread.WorkerSupportsCancellation = true;
fileCopyThread.DoWork += new DoWorkEventHandler(fileCopyThread64_DoWork);
fileCopyThread.RunWorkerCompleted += new RunWorkerCompletedEventHandler(fileCopyThread_RunWorkerCompleted);
fileCopyThread.RunWorkerAsync(drive);
//DirectoryCopy(Settings_Form.usbMasterx64CopyLocation, drive, true, worker, e);
}
}
catch (Exception ex)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(ex.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
}
}
static void fileCopyThread32_DoWork(object sender, DoWorkEventArgs e)
{
BackgroundWorker worker = sender as BackgroundWorker;
string drive = (string)e.Argument;
DirectoryCopy(Settings_Form.usbMasterx32CopyLocation, drive, true, worker, e);
progressForm.updateStatus("Finished Copying Files to " + drive);
}
static void fileCopyThread64_DoWork(object sender, DoWorkEventArgs e)
{
BackgroundWorker worker = sender as BackgroundWorker;
string drive = (string)e.Argument;
DirectoryCopy(Settings_Form.usbMasterx64CopyLocation, drive, true, worker, e);
progressForm.updateStatus("Finished Copying Files to " + drive);
}
static void fileCopyThread_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
{
if (e.Cancelled)
{
threadsCancelled = true;
bool threadsStillRunning = false;
foreach (BackgroundWorker bw in backgroundWorkerList)
{
if (bw.IsBusy)
threadsStillRunning = true;
}
if (threadsStillRunning)
allThreadsCompleted = false;
else
allThreadsCompleted = true;
}
else
{
bool threadsStillRunning = false;
foreach (BackgroundWorker bw in backgroundWorkerList)
{
if (bw.IsBusy)
threadsStillRunning = true;
}
if (threadsStillRunning)
allThreadsCompleted = false;
else
allThreadsCompleted = true;
}
if (threadsCancelled)
{
threadsRunning = false;
MessageBox.Show("File Copy Operation Cancelled");
progressForm.closeForm();
}
else if (allThreadsCompleted)
{
threadsRunning = false;
endTime = DateTime.Now;
Debug.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();
}
}
private static void bwThread_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
{
if (e.Cancelled)
{
threadsRunning = false;
Debug.appendText("USB reimaging operation has been cancelled");
MessageBox.Show("Operation was canceled");
progressForm.Close();
}
}
private static void DirectoryCopy(string sourceDirName, string destDirName, bool copySubDirs, BackgroundWorker worker, DoWorkEventArgs e)
{
try
{
progressForm.updateStatus("Copying Files to " + destDirName);
DirectoryInfo dir = new DirectoryInfo(sourceDirName);
DirectoryInfo[] dirs = dir.GetDirectories();
 
// If the destination directory does not exist, create it.
if (!Directory.Exists(destDirName))
{
Directory.CreateDirectory(destDirName);
}
// Get the file contents of the directory to copy.
FileInfo[] files = dir.GetFiles();
foreach (FileInfo file in files)
{
if (worker.CancellationPending)
{
e.Cancel = true;
break;
}
// Create the path to the new copy of the file.
string tempPath = Path.Combine(destDirName, file.Name);
// Copy the file.
file.CopyTo(tempPath, false);
}
// If copySubDirs is true, copy the subdirectories.
if (copySubDirs)
{
foreach (DirectoryInfo subdir in dirs)
{
if (worker.CancellationPending)
{
e.Cancel = true;
break;
}
// Create the subdirectory.
string tempPath = Path.Combine(destDirName, subdir.Name);
// Copy the subdirectories.
DirectoryCopy(subdir.FullName, tempPath, copySubDirs, worker, e);
}
}
}
catch (Exception ex)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(ex.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
}
}
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Reset_User_Password_Form.Designer.cs
0,0 → 1,130
namespace SWAT_Office_App
{
partial class Reset_User_Password_Form
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
 
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
 
#region Windows Form Designer generated code
 
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Reset_User_Password_Form));
this.lbl_Prompt1 = new System.Windows.Forms.Label();
this.txt_Password1 = new System.Windows.Forms.TextBox();
this.btn_Ok = new System.Windows.Forms.Button();
this.btn_Cancel = new System.Windows.Forms.Button();
this.txt_Password2 = new System.Windows.Forms.TextBox();
this.lbl_Prompt2 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// lbl_Prompt1
//
this.lbl_Prompt1.AutoSize = true;
this.lbl_Prompt1.Location = new System.Drawing.Point(1, 9);
this.lbl_Prompt1.Name = "lbl_Prompt1";
this.lbl_Prompt1.Size = new System.Drawing.Size(144, 13);
this.lbl_Prompt1.TabIndex = 0;
this.lbl_Prompt1.Text = "Enter in the SWAT password";
//
// txt_Password1
//
this.txt_Password1.Location = new System.Drawing.Point(18, 29);
this.txt_Password1.Name = "txt_Password1";
this.txt_Password1.Size = new System.Drawing.Size(110, 20);
this.txt_Password1.TabIndex = 1;
this.txt_Password1.UseSystemPasswordChar = true;
//
// btn_Ok
//
this.btn_Ok.Enabled = false;
this.btn_Ok.Location = new System.Drawing.Point(10, 57);
this.btn_Ok.Name = "btn_Ok";
this.btn_Ok.Size = new System.Drawing.Size(60, 24);
this.btn_Ok.TabIndex = 2;
this.btn_Ok.Text = "Ok";
this.btn_Ok.UseVisualStyleBackColor = true;
this.btn_Ok.Click += new System.EventHandler(this.btn_Ok_Click);
//
// btn_Cancel
//
this.btn_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btn_Cancel.Location = new System.Drawing.Point(76, 57);
this.btn_Cancel.Name = "btn_Cancel";
this.btn_Cancel.Size = new System.Drawing.Size(60, 24);
this.btn_Cancel.TabIndex = 3;
this.btn_Cancel.Text = "Cancel";
this.btn_Cancel.UseVisualStyleBackColor = true;
this.btn_Cancel.Click += new System.EventHandler(this.btn_Cancel_Click);
//
// txt_Password2
//
this.txt_Password2.Location = new System.Drawing.Point(18, 29);
this.txt_Password2.Name = "txt_Password2";
this.txt_Password2.Size = new System.Drawing.Size(110, 20);
this.txt_Password2.TabIndex = 4;
this.txt_Password2.UseSystemPasswordChar = true;
this.txt_Password2.Visible = false;
//
// lbl_Prompt2
//
this.lbl_Prompt2.AutoSize = true;
this.lbl_Prompt2.Location = new System.Drawing.Point(7, 9);
this.lbl_Prompt2.Name = "lbl_Prompt2";
this.lbl_Prompt2.Size = new System.Drawing.Size(132, 13);
this.lbl_Prompt2.TabIndex = 5;
this.lbl_Prompt2.Text = "Enter in the new password";
//
// ResetUserPassword_Form
//
this.AcceptButton = this.btn_Ok;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.btn_Cancel;
this.ClientSize = new System.Drawing.Size(147, 89);
this.Controls.Add(this.lbl_Prompt2);
this.Controls.Add(this.txt_Password2);
this.Controls.Add(this.btn_Cancel);
this.Controls.Add(this.btn_Ok);
this.Controls.Add(this.txt_Password1);
this.Controls.Add(this.lbl_Prompt1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "ResetUserPassword_Form";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Reset Password";
this.ResumeLayout(false);
this.PerformLayout();
 
}
 
#endregion
 
private System.Windows.Forms.Label lbl_Prompt1;
private System.Windows.Forms.TextBox txt_Password1;
private System.Windows.Forms.Button btn_Ok;
private System.Windows.Forms.Button btn_Cancel;
private System.Windows.Forms.TextBox txt_Password2;
private System.Windows.Forms.Label lbl_Prompt2;
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Reset_User_Password_Form.cs
0,0 → 1,59
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
 
namespace SWAT_Office_App
{
public partial class Reset_User_Password_Form : Form
{
private string selectedUsername;
public Reset_User_Password_Form(string selectedUser)
{
selectedUsername = selectedUser;
InitializeComponent();
this.txt_Password1.Focus();
this.lbl_Prompt2.Visible = false;
 
// Monitors the text in each textbox, triggering changes when certain criteria is met
this.txt_Password1.TextChanged += new EventHandler(this.txt_Box1_TextChanged);
this.txt_Password2.TextChanged += new EventHandler(this.txt_Box2_TextChanged);
}
private void txt_Box1_TextChanged(object sender, EventArgs e)
{
if (txt_Password1.Text == Settings_Form.globalAdminPassword)
{
this.txt_Password1.Visible = false;
this.txt_Password2.Visible = true;
this.lbl_Prompt1.Visible = false;
this.lbl_Prompt2.Visible = true;
this.txt_Password2.Focus();
}
}
private void txt_Box2_TextChanged(object sender, EventArgs e)
{
TextBox tb = (TextBox)sender;
if (tb.Text.Length == 0)
this.btn_Ok.Enabled = false;
else
this.btn_Ok.Enabled = true;
}
private void btn_Cancel_Click(object sender, EventArgs e)
{
this.Close();
}
private void btn_Ok_Click(object sender, EventArgs e)
{
if (!Manage_User_Accounts.ChangeUserPassword(selectedUsername, txt_Password2.Text))
{
Debug.appendText("Error occured while changing password");
MessageBox.Show("Error occured while changing password", "Error");
}
this.Close();
}
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/SWAT Office App.csproj
0,0 → 1,255
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{87CC24B0-F2A3-4D61-94D0-B3DF78658562}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SWAT_Office_App</RootNamespace>
<AssemblyName>SWAT Office App</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
<IsWebBootstrapper>false</IsWebBootstrapper>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Resources\application_osx_terminal.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.DirectoryServices.AccountManagement" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="About_Box.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="About_Box.Designer.cs">
<DependentUpon>About_Box.cs</DependentUpon>
</Compile>
<Compile Include="Add_Hidden_Account_Form.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Add_Hidden_Account_Form.designer.cs">
<DependentUpon>Add_Hidden_Account_Form.cs</DependentUpon>
</Compile>
<Compile Include="Add_System_Account_Form.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Add_System_Account_Form.Designer.cs">
<DependentUpon>Add_System_Account_Form.cs</DependentUpon>
</Compile>
<Compile Include="Add_User_Account_Form.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Add_User_Account_Form.Designer.cs">
<DependentUpon>Add_User_Account_Form.cs</DependentUpon>
</Compile>
<Compile Include="Debug.cs" />
<Compile Include="Delete_User_Verify_Form.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Delete_User_Verify_Form.designer.cs">
<DependentUpon>Delete_User_Verify_Form.cs</DependentUpon>
</Compile>
<Compile Include="DriveLogger_Form.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DriveLogger_Form.Designer.cs">
<DependentUpon>DriveLogger_Form.cs</DependentUpon>
</Compile>
<Compile Include="DriveLogger_LabelPrompt_Form.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DriveLogger_LabelPrompt_Form.Designer.cs">
<DependentUpon>DriveLogger_LabelPrompt_Form.cs</DependentUpon>
</Compile>
<Compile Include="Main_Menu_Form.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Main_Menu_Form.Designer.cs">
<DependentUpon>Main_Menu_Form.cs</DependentUpon>
</Compile>
<Compile Include="Manage_User_Accounts.cs" />
<Compile Include="Manage_User_Accounts_Form.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Manage_User_Accounts_Form.Designer.cs">
<DependentUpon>Manage_User_Accounts_Form.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Reimage_USB_Drives.cs" />
<Compile Include="Reimage_USB_Drive_Progress_Form.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Reimage_USB_Drive_Progress_Form.Designer.cs">
<DependentUpon>Reimage_USB_Drive_Progress_Form.cs</DependentUpon>
</Compile>
<Compile Include="Reset_User_Password_Form.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Reset_User_Password_Form.Designer.cs">
<DependentUpon>Reset_User_Password_Form.cs</DependentUpon>
</Compile>
<Compile Include="Settings_Form.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Settings_Form.Designer.cs">
<DependentUpon>Settings_Form.cs</DependentUpon>
</Compile>
<Compile Include="Settings_Verify_Form.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Settings_Verify_Form.designer.cs">
<DependentUpon>Settings_Verify_Form.cs</DependentUpon>
</Compile>
<Compile Include="Stat_Logging.cs" />
<Compile Include="Toggle_User_Verify_Form.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Toggle_User_Verify_Form.designer.cs">
<DependentUpon>Toggle_User_Verify_Form.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="About_Box.resx">
<DependentUpon>About_Box.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Add_Hidden_Account_Form.resx">
<DependentUpon>Add_Hidden_Account_Form.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Add_System_Account_Form.resx">
<DependentUpon>Add_System_Account_Form.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Add_User_Account_Form.resx">
<DependentUpon>Add_User_Account_Form.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Delete_User_Verify_Form.resx">
<DependentUpon>Delete_User_Verify_Form.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="DriveLogger_Form.resx">
<DependentUpon>DriveLogger_Form.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="DriveLogger_LabelPrompt_Form.resx">
<DependentUpon>DriveLogger_LabelPrompt_Form.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Main_Menu_Form.resx">
<DependentUpon>Main_Menu_Form.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Manage_User_Accounts_Form.resx">
<DependentUpon>Manage_User_Accounts_Form.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<EmbeddedResource Include="Reimage_USB_Drive_Progress_Form.resx">
<DependentUpon>Reimage_USB_Drive_Progress_Form.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Reset_User_Password_Form.resx">
<DependentUpon>Reset_User_Password_Form.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Settings_Form.resx">
<DependentUpon>Settings_Form.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Settings_Verify_Form.resx">
<DependentUpon>Settings_Verify_Form.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Toggle_User_Verify_Form.resx">
<DependentUpon>Toggle_User_Verify_Form.cs</DependentUpon>
</EmbeddedResource>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<Content Include="Resources\application_osx_terminal.ico" />
<None Include="Resources\Refresh.png" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.0,Profile=Client">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4 Client Profile %28x86 and x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
<Visible>False</Visible>
<ProductName>Windows Installer 3.1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Settings_Form.cs
0,0 → 1,292
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Xml.Linq;
 
namespace SWAT_Office_App
{
public partial class Settings_Form : Form
{
// Global static variables
private static string settingsLogLocation = "Settings.xml";
public static string globalAdminPassword = "tr33b3@rd";
public static bool defaultSettings { get; set; }
public static bool showFileSizes { get; set; }
public static List<string> systemAccounts = new List<string>();
public static List<string> hiddenAccounts = new List<string>();
public static string sharedFolderLocation { get; set; }
public static string usbMasterx32CopyLocation { get; set; }
public static string usbMasterx64CopyLocation { get; set; }
// Static variables for use by DriveLogger
public static int driveLoggerRefreshInterval { get; set; }
public static List<string> driveLoggerDockLabels = new List<string>();
public static List<string> driveLoggerDrivesToIgnore = new List<string>();
 
private static Settings_Form _Settings_Form = null;
// Singleton instance so the settings file isnt loaded every time
public static Settings_Form settings_Form_Instance
{
set
{
_Settings_Form = value;
}
get
{
if (_Settings_Form == null)
_Settings_Form = new Settings_Form();
return _Settings_Form;
}
}
public Settings_Form()
{
ImportSettings();
InitializeComponent();
this.listBox_SystemAccounts.SelectedIndexChanged += new EventHandler(this.listBox_SystemAccounts_SelectedIndexChanged);
this.listBox_HiddenAccounts.SelectedIndexChanged += new EventHandler(this.listBox_HiddenAccounts_SelectedIndexChanged);
this.Load += new EventHandler(Settings_Form_Load);
}
private void Settings_Form_Load(object sender, EventArgs e)
{
OpenUpdateSettings();
settings_Form_Instance.btn_SystemRemove.Enabled = false;
}
public void listBox_SystemAccounts_SelectedIndexChanged(object sender, EventArgs e)
{
settings_Form_Instance.btn_SystemRemove.Enabled = true;
}
public void listBox_HiddenAccounts_SelectedIndexChanged(object sender, EventArgs e)
{
settings_Form_Instance.btn_HiddenRemove.Enabled = true;
}
public static void ImportSettings()
{
// Imports settings from Settings.xml
try
{
if (File.Exists(settingsLogLocation))
{
// XML Parsing using System.XML.Linq
XElement Settings = XElement.Load(settingsLogLocation);
 
showFileSizes = bool.Parse(Settings.Element("ProgramSettings").Element("ShowFileSizes").Value);
 
systemAccounts.Clear();
string tempSystemAccounts = Settings.Element("ProgramSettings").Element("SystemAccounts").Value;
string[] tempStringArray = tempSystemAccounts.Split(new char[] { ',' });
foreach (string str in tempStringArray)
systemAccounts.Add(str.Trim());
 
hiddenAccounts.Clear();
string tempHiddenAccounts = Settings.Element("ProgramSettings").Element("HiddenAccounts").Value;
tempStringArray = tempHiddenAccounts.Split(new char[] { ',' });
foreach (string str in tempStringArray)
hiddenAccounts.Add(str.Trim());
 
driveLoggerDockLabels.Clear();
string tempDriveLoggerDockLabels = Settings.Element("ProgramSettings").Element("DockLabels").Value;
tempStringArray = tempDriveLoggerDockLabels.Split(new char[] { ',' });
foreach (string str in tempStringArray)
driveLoggerDockLabels.Add(str.Trim());
 
driveLoggerRefreshInterval = int.Parse(Settings.Element("ProgramSettings").Element("DockRefreshInterval").Value);
 
driveLoggerDrivesToIgnore.Clear();
string tempDrivesToIgnore = Settings.Element("ProgramSettings").Element("DockDrivesToIgnore").Value;
tempStringArray = tempDrivesToIgnore.Split(new char[] { ',' });
foreach (string str in tempStringArray)
driveLoggerDrivesToIgnore.Add(str.Trim());
 
sharedFolderLocation = Settings.Element("ProgramSettings").Element("SharedFolderLocation").Value;
usbMasterx32CopyLocation = Settings.Element("ProgramSettings").Element("USBMasterCopyx32Location").Value;
usbMasterx64CopyLocation = Settings.Element("ProgramSettings").Element("USBMasterCopyx64Location").Value;
Debug.appendText("Settings from " + settingsLogLocation + " has been imported");
}
else
{
MessageBox.Show("No existing setting file detected. Using default settings");
Debug.appendText("No existing setting file detected. Using default settings");
WriteDefaultConfigFile();
}
}
catch (Exception e)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(e.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
}
}
private static void OpenUpdateSettings()
{
// Update the buttons on the form with the imported settings
settings_Form_Instance.txt_ShareLocation.Text = sharedFolderLocation;
settings_Form_Instance.txt_USBMasterCopyLocation_x32.Text = usbMasterx32CopyLocation;
settings_Form_Instance.txt_USBMasterCopyLocation_x64.Text = usbMasterx64CopyLocation;
PaintListBox();
}
private static void ExitUpdateSettings()
{
// Update the static variables from the form
sharedFolderLocation = settings_Form_Instance.txt_ShareLocation.Text;
usbMasterx32CopyLocation = settings_Form_Instance.txt_USBMasterCopyLocation_x32.Text;
usbMasterx64CopyLocation = settings_Form_Instance.txt_USBMasterCopyLocation_x64.Text;
}
private static void ExportSettings()
{
// Exports all settings to Settings.xml
try
{
// XML Parsing using System.XML.Linq
XElement Settings = XElement.Load(settingsLogLocation);
 
string tempString = "";
foreach (string str in systemAccounts)
tempString = tempString.Insert(tempString.Length, str + ',');
if (tempString.Length > 0)
tempString = tempString.Remove(tempString.Length - 1, 1);
Settings.Element("ProgramSettings").SetElementValue("SystemAccounts", tempString);
 
tempString = "";
foreach (string str in hiddenAccounts)
tempString = tempString.Insert(tempString.Length, str + ',');
if (tempString.Length > 0)
tempString = tempString.Remove(tempString.Length - 1, 1);
Settings.Element("ProgramSettings").SetElementValue("HiddenAccounts", tempString);
 
Settings.Element("ProgramSettings").SetElementValue("SharedFolderLocation", sharedFolderLocation);
Settings.Element("ProgramSettings").SetElementValue("USBMasterCopyx32Location", usbMasterx32CopyLocation);
Settings.Element("ProgramSettings").SetElementValue("USBMasterCopyx64Location", usbMasterx64CopyLocation);
 
Settings.Save("Settings.xml");
Debug.appendText("Settings has been exported to " + settingsLogLocation);
}
catch (Exception e)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(e.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
}
}
private static void WriteDefaultConfigFile()
{
// Writes the default settings configuration
try
{
XElement Settings = new XElement("Settings",
new XElement("ProgramSettings",
new XElement("ShowFileSizes","true"),
new XElement("SystemAccounts", "Administrators,Administrator"),
new XElement("HiddenAccounts", "Administrator,Guest"),
new XElement("SharedFolderLocation", "C:\\"),
new XElement("USBMasterCopyx32Location", "C:\\"),
new XElement("USBMasterCopyx64Location", "C:\\"),
new XElement("DockLabels", "Dock 1,Dock 2,Dock 3,External USB"),
new XElement("DockRefreshInterval", 1000),
new XElement("DockDrivesToIgnore", "C:\\")
)
);
Settings.Save(settingsLogLocation);
Debug.appendText("A default settings file has been created");
}
catch (Exception e)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(e.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
}
}
private static void PaintListBox()
{
// Paints & Refreshes the listbox of system and hidden accounts
settings_Form_Instance.listBox_SystemAccounts.Items.Clear();
foreach (string user in systemAccounts)
settings_Form_Instance.listBox_SystemAccounts.Items.Add(user);
settings_Form_Instance.listBox_HiddenAccounts.Items.Clear();
foreach (string user in hiddenAccounts)
settings_Form_Instance.listBox_HiddenAccounts.Items.Add(user);
}
private void btn_Ok_Click(object sender, EventArgs e)
{
ExitUpdateSettings();
ExportSettings();
this.Close();
}
private void btn_Cancel_Click(object sender, EventArgs e)
{
this.Close();
}
private void btn_Default_Click(object sender, EventArgs e)
{
// Resets settings to default settings
try
{
if (MessageBox.Show("Reset configurations to the default settings?", "", MessageBoxButtons.YesNo) == DialogResult.Yes)
{
File.Delete(settingsLogLocation);
WriteDefaultConfigFile();
ImportSettings();
OpenUpdateSettings();
}
}
catch (Exception ex)
{
//MessageBox.Show(e.ToString(), "Error");
Debug.appendText(ex.ToString());
MessageBox.Show("An error has occured. Please notify a supervisor to debug.", "Error");
}
}
private void btn_SystemAdd_Click(object sender, EventArgs e)
{
Add_System_Account_Form newForm = new Add_System_Account_Form();
newForm.ShowDialog();
PaintListBox();
}
private void btn_SystemRemove_Click(object sender, EventArgs e)
{
systemAccounts.Remove(this.listBox_SystemAccounts.SelectedItem.ToString());
PaintListBox();
}
private void btn_HiddenAdd_Click(object sender, EventArgs e)
{
Add_Hidden_Account_Form newForm = new Add_Hidden_Account_Form();
newForm.ShowDialog();
PaintListBox();
}
private void btn_HiddenRemove_Click(object sender, EventArgs e)
{
hiddenAccounts.Remove(this.listBox_HiddenAccounts.SelectedItem.ToString());
PaintListBox();
}
private void btn_ShareLocationChange_Click(object sender, EventArgs e)
{
if (folderBrowserDialog.ShowDialog() == DialogResult.OK)
{
this.txt_ShareLocation.Text = folderBrowserDialog.SelectedPath;
sharedFolderLocation = folderBrowserDialog.SelectedPath;
}
}
private void btn_USBLocationx32Change_Click(object sender, EventArgs e)
{
if (folderBrowserDialog.ShowDialog() == DialogResult.OK)
{
this.txt_USBMasterCopyLocation_x32.Text = folderBrowserDialog.SelectedPath;
usbMasterx32CopyLocation = folderBrowserDialog.SelectedPath;
}
}
private void btn_USBLocationx64Change_Click(object sender, EventArgs e)
{
if (folderBrowserDialog.ShowDialog() == DialogResult.OK)
{
this.txt_USBMasterCopyLocation_x64.Text = folderBrowserDialog.SelectedPath;
usbMasterx64CopyLocation = folderBrowserDialog.SelectedPath;
}
}
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Settings_Verify_Form.Designer.cs
0,0 → 1,91
namespace SWAT_Office_App
{
partial class Settings_Verify_Form
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
 
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
 
#region Windows Form Designer generated code
 
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Settings_Verify_Form));
this.lbl_Prompt1 = new System.Windows.Forms.Label();
this.txt_Password = new System.Windows.Forms.TextBox();
this.btn_Cancel = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// lbl_Prompt1
//
this.lbl_Prompt1.AutoSize = true;
this.lbl_Prompt1.Location = new System.Drawing.Point(1, 9);
this.lbl_Prompt1.Name = "lbl_Prompt1";
this.lbl_Prompt1.Size = new System.Drawing.Size(144, 13);
this.lbl_Prompt1.TabIndex = 0;
this.lbl_Prompt1.Text = "Enter in the SWAT password";
//
// txt_Password
//
this.txt_Password.Location = new System.Drawing.Point(18, 29);
this.txt_Password.Name = "txt_Password";
this.txt_Password.Size = new System.Drawing.Size(110, 20);
this.txt_Password.TabIndex = 1;
this.txt_Password.UseSystemPasswordChar = true;
//
// btn_Cancel
//
this.btn_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btn_Cancel.Location = new System.Drawing.Point(33, 57);
this.btn_Cancel.Name = "btn_Cancel";
this.btn_Cancel.Size = new System.Drawing.Size(80, 24);
this.btn_Cancel.TabIndex = 3;
this.btn_Cancel.Text = "Cancel";
this.btn_Cancel.UseVisualStyleBackColor = true;
this.btn_Cancel.Click += new System.EventHandler(this.btn_Cancel_Click);
//
// SettingsVerify_Form
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.btn_Cancel;
this.ClientSize = new System.Drawing.Size(147, 89);
this.Controls.Add(this.btn_Cancel);
this.Controls.Add(this.txt_Password);
this.Controls.Add(this.lbl_Prompt1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "SettingsVerify_Form";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Settings Password";
this.ResumeLayout(false);
this.PerformLayout();
 
}
 
#endregion
 
private System.Windows.Forms.Label lbl_Prompt1;
private System.Windows.Forms.TextBox txt_Password;
private System.Windows.Forms.Button btn_Cancel;
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Settings_Verify_Form.cs
0,0 → 1,36
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
 
namespace SWAT_Office_App
{
public partial class Settings_Verify_Form : Form
{
public Settings_Verify_Form()
{
InitializeComponent();
this.txt_Password.Focus();
 
// Monitors the text in each textbox, triggering changes when certain criteria is met
this.txt_Password.TextChanged += new EventHandler(this.txt_Password_TextChanged);
}
private void txt_Password_TextChanged(object sender, EventArgs e)
{
TextBox tb = (TextBox)sender;
if (tb.Text == Settings_Form.globalAdminPassword)
{
Settings_Form.settings_Form_Instance.ShowDialog();
this.Close();
}
}
private void btn_Cancel_Click(object sender, EventArgs e)
{
this.Close();
}
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Toggle_User_Verify_Form.Designer.cs
0,0 → 1,91
namespace SWAT_Office_App
{
partial class Toggle_User_Verify_Form
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
 
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
 
#region Windows Form Designer generated code
 
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Toggle_User_Verify_Form));
this.lbl_Prompt1 = new System.Windows.Forms.Label();
this.txt_Password = new System.Windows.Forms.TextBox();
this.btn_Cancel = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// lbl_Prompt1
//
this.lbl_Prompt1.AutoSize = true;
this.lbl_Prompt1.Location = new System.Drawing.Point(1, 9);
this.lbl_Prompt1.Name = "lbl_Prompt1";
this.lbl_Prompt1.Size = new System.Drawing.Size(144, 13);
this.lbl_Prompt1.TabIndex = 0;
this.lbl_Prompt1.Text = "Enter in the SWAT password";
//
// txt_Password
//
this.txt_Password.Location = new System.Drawing.Point(18, 29);
this.txt_Password.Name = "txt_Password";
this.txt_Password.Size = new System.Drawing.Size(110, 20);
this.txt_Password.TabIndex = 1;
this.txt_Password.UseSystemPasswordChar = true;
//
// btn_Cancel
//
this.btn_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btn_Cancel.Location = new System.Drawing.Point(33, 57);
this.btn_Cancel.Name = "btn_Cancel";
this.btn_Cancel.Size = new System.Drawing.Size(80, 24);
this.btn_Cancel.TabIndex = 3;
this.btn_Cancel.Text = "Cancel";
this.btn_Cancel.UseVisualStyleBackColor = true;
this.btn_Cancel.Click += new System.EventHandler(this.btn_Cancel_Click);
//
// ToggleUserVerify_Form
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.btn_Cancel;
this.ClientSize = new System.Drawing.Size(147, 89);
this.Controls.Add(this.btn_Cancel);
this.Controls.Add(this.txt_Password);
this.Controls.Add(this.lbl_Prompt1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "ToggleUserVerify_Form";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Toggle Share";
this.ResumeLayout(false);
this.PerformLayout();
 
}
 
#endregion
 
private System.Windows.Forms.Label lbl_Prompt1;
private System.Windows.Forms.TextBox txt_Password;
private System.Windows.Forms.Button btn_Cancel;
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Toggle_User_Verify_Form.cs
0,0 → 1,42
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
 
namespace SWAT_Office_App
{
public partial class Toggle_User_Verify_Form : Form
{
private string selectedUser;
public Toggle_User_Verify_Form(string user)
{
selectedUser = user;
InitializeComponent();
this.txt_Password.Focus();
 
// Monitors the text in each textbox, triggering changes when certain criteria is met
this.txt_Password.TextChanged += new EventHandler(this.txt_Password_TextChanged);
}
private void txt_Password_TextChanged(object sender, EventArgs e)
{
TextBox tb = (TextBox)sender;
if (tb.Text == Settings_Form.globalAdminPassword)
{
if (!Manage_User_Accounts.ToggleShare(selectedUser))
{
Debug.appendText("Error in toggling share");
MessageBox.Show("Error in toggling share", "Error");
}
this.Close();
}
}
private void btn_Cancel_Click(object sender, EventArgs e)
{
this.Close();
}
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Settings_Form.Designer.cs
0,0 → 1,311
namespace SWAT_Office_App
{
partial class Settings_Form
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
 
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
 
#region Windows Form Designer generated code
 
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Settings_Form));
this.btn_Ok = new System.Windows.Forms.Button();
this.btn_Cancel = new System.Windows.Forms.Button();
this.listBox_SystemAccounts = new System.Windows.Forms.ListBox();
this.btn_SystemAdd = new System.Windows.Forms.Button();
this.btn_SystemRemove = new System.Windows.Forms.Button();
this.groupBox_SystemAccounts = new System.Windows.Forms.GroupBox();
this.txt_ShareLocation = new System.Windows.Forms.TextBox();
this.lbl_ShareLocation = new System.Windows.Forms.Label();
this.btn_ShareLocationChange = new System.Windows.Forms.Button();
this.folderBrowserDialog = new System.Windows.Forms.FolderBrowserDialog();
this.btn_USBLocationx32Change = new System.Windows.Forms.Button();
this.txt_USBMasterCopyLocation_x32 = new System.Windows.Forms.TextBox();
this.lbl_USBCopyLocation_x32 = new System.Windows.Forms.Label();
this.btn_USBLocationx64Change = new System.Windows.Forms.Button();
this.txt_USBMasterCopyLocation_x64 = new System.Windows.Forms.TextBox();
this.lbl_USBCopyLocation_x64 = new System.Windows.Forms.Label();
this.groupBox_HiddenAccounts = new System.Windows.Forms.GroupBox();
this.listBox_HiddenAccounts = new System.Windows.Forms.ListBox();
this.btn_HiddenRemove = new System.Windows.Forms.Button();
this.btn_HiddenAdd = new System.Windows.Forms.Button();
this.btn_Default = new System.Windows.Forms.Button();
this.groupBox_SystemAccounts.SuspendLayout();
this.groupBox_HiddenAccounts.SuspendLayout();
this.SuspendLayout();
//
// btn_Ok
//
this.btn_Ok.Location = new System.Drawing.Point(72, 305);
this.btn_Ok.Name = "btn_Ok";
this.btn_Ok.Size = new System.Drawing.Size(52, 23);
this.btn_Ok.TabIndex = 11;
this.btn_Ok.Text = "Save";
this.btn_Ok.UseVisualStyleBackColor = true;
this.btn_Ok.Click += new System.EventHandler(this.btn_Ok_Click);
//
// btn_Cancel
//
this.btn_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btn_Cancel.Location = new System.Drawing.Point(130, 305);
this.btn_Cancel.Name = "btn_Cancel";
this.btn_Cancel.Size = new System.Drawing.Size(52, 23);
this.btn_Cancel.TabIndex = 12;
this.btn_Cancel.Text = "Cancel";
this.btn_Cancel.UseVisualStyleBackColor = true;
this.btn_Cancel.Click += new System.EventHandler(this.btn_Cancel_Click);
//
// listBox_SystemAccounts
//
this.listBox_SystemAccounts.FormattingEnabled = true;
this.listBox_SystemAccounts.Location = new System.Drawing.Point(6, 19);
this.listBox_SystemAccounts.Name = "listBox_SystemAccounts";
this.listBox_SystemAccounts.Size = new System.Drawing.Size(86, 56);
this.listBox_SystemAccounts.TabIndex = 1;
//
// btn_SystemAdd
//
this.btn_SystemAdd.Location = new System.Drawing.Point(100, 23);
this.btn_SystemAdd.Name = "btn_SystemAdd";
this.btn_SystemAdd.Size = new System.Drawing.Size(60, 22);
this.btn_SystemAdd.TabIndex = 2;
this.btn_SystemAdd.Text = "Add";
this.btn_SystemAdd.UseVisualStyleBackColor = true;
this.btn_SystemAdd.Click += new System.EventHandler(this.btn_SystemAdd_Click);
//
// btn_SystemRemove
//
this.btn_SystemRemove.Location = new System.Drawing.Point(100, 49);
this.btn_SystemRemove.Name = "btn_SystemRemove";
this.btn_SystemRemove.Size = new System.Drawing.Size(60, 22);
this.btn_SystemRemove.TabIndex = 3;
this.btn_SystemRemove.Text = "Remove";
this.btn_SystemRemove.UseVisualStyleBackColor = true;
this.btn_SystemRemove.Click += new System.EventHandler(this.btn_SystemRemove_Click);
//
// groupBox_SystemAccounts
//
this.groupBox_SystemAccounts.Controls.Add(this.listBox_SystemAccounts);
this.groupBox_SystemAccounts.Controls.Add(this.btn_SystemRemove);
this.groupBox_SystemAccounts.Controls.Add(this.btn_SystemAdd);
this.groupBox_SystemAccounts.Location = new System.Drawing.Point(12, 12);
this.groupBox_SystemAccounts.Name = "groupBox_SystemAccounts";
this.groupBox_SystemAccounts.Size = new System.Drawing.Size(170, 82);
this.groupBox_SystemAccounts.TabIndex = 4;
this.groupBox_SystemAccounts.TabStop = false;
this.groupBox_SystemAccounts.Text = "System Accounts";
//
// txt_ShareLocation
//
this.txt_ShareLocation.Location = new System.Drawing.Point(12, 201);
this.txt_ShareLocation.Name = "txt_ShareLocation";
this.txt_ShareLocation.Size = new System.Drawing.Size(112, 20);
this.txt_ShareLocation.TabIndex = 5;
//
// lbl_ShareLocation
//
this.lbl_ShareLocation.AutoSize = true;
this.lbl_ShareLocation.Location = new System.Drawing.Point(12, 185);
this.lbl_ShareLocation.Name = "lbl_ShareLocation";
this.lbl_ShareLocation.Size = new System.Drawing.Size(117, 13);
this.lbl_ShareLocation.TabIndex = 10;
this.lbl_ShareLocation.Text = "Shared Folder Location";
//
// btn_ShareLocationChange
//
this.btn_ShareLocationChange.Location = new System.Drawing.Point(130, 200);
this.btn_ShareLocationChange.Name = "btn_ShareLocationChange";
this.btn_ShareLocationChange.Size = new System.Drawing.Size(52, 22);
this.btn_ShareLocationChange.TabIndex = 6;
this.btn_ShareLocationChange.Text = "Change";
this.btn_ShareLocationChange.UseVisualStyleBackColor = true;
this.btn_ShareLocationChange.Click += new System.EventHandler(this.btn_ShareLocationChange_Click);
//
// folderBrowserDialog
//
this.folderBrowserDialog.Description = "Choose a new location for storing networked folders";
//
// btn_USBLocationx32Change
//
this.btn_USBLocationx32Change.Location = new System.Drawing.Point(130, 239);
this.btn_USBLocationx32Change.Name = "btn_USBLocationx32Change";
this.btn_USBLocationx32Change.Size = new System.Drawing.Size(52, 22);
this.btn_USBLocationx32Change.TabIndex = 8;
this.btn_USBLocationx32Change.Text = "Change";
this.btn_USBLocationx32Change.UseVisualStyleBackColor = true;
this.btn_USBLocationx32Change.Click += new System.EventHandler(this.btn_USBLocationx32Change_Click);
//
// txt_USBMasterCopyLocation_x32
//
this.txt_USBMasterCopyLocation_x32.Location = new System.Drawing.Point(12, 240);
this.txt_USBMasterCopyLocation_x32.Name = "txt_USBMasterCopyLocation_x32";
this.txt_USBMasterCopyLocation_x32.Size = new System.Drawing.Size(112, 20);
this.txt_USBMasterCopyLocation_x32.TabIndex = 7;
//
// lbl_USBCopyLocation_x32
//
this.lbl_USBCopyLocation_x32.AutoSize = true;
this.lbl_USBCopyLocation_x32.Location = new System.Drawing.Point(12, 224);
this.lbl_USBCopyLocation_x32.Name = "lbl_USBCopyLocation_x32";
this.lbl_USBCopyLocation_x32.Size = new System.Drawing.Size(155, 13);
this.lbl_USBCopyLocation_x32.TabIndex = 15;
this.lbl_USBCopyLocation_x32.Text = "USB Master Copy x32 Location";
//
// btn_USBLocationx64Change
//
this.btn_USBLocationx64Change.Location = new System.Drawing.Point(130, 277);
this.btn_USBLocationx64Change.Name = "btn_USBLocationx64Change";
this.btn_USBLocationx64Change.Size = new System.Drawing.Size(52, 22);
this.btn_USBLocationx64Change.TabIndex = 10;
this.btn_USBLocationx64Change.Text = "Change";
this.btn_USBLocationx64Change.UseVisualStyleBackColor = true;
this.btn_USBLocationx64Change.Click += new System.EventHandler(this.btn_USBLocationx64Change_Click);
//
// txt_USBMasterCopyLocation_x64
//
this.txt_USBMasterCopyLocation_x64.Location = new System.Drawing.Point(12, 279);
this.txt_USBMasterCopyLocation_x64.Name = "txt_USBMasterCopyLocation_x64";
this.txt_USBMasterCopyLocation_x64.Size = new System.Drawing.Size(112, 20);
this.txt_USBMasterCopyLocation_x64.TabIndex = 9;
//
// lbl_USBCopyLocation_x64
//
this.lbl_USBCopyLocation_x64.AutoSize = true;
this.lbl_USBCopyLocation_x64.Location = new System.Drawing.Point(12, 263);
this.lbl_USBCopyLocation_x64.Name = "lbl_USBCopyLocation_x64";
this.lbl_USBCopyLocation_x64.Size = new System.Drawing.Size(155, 13);
this.lbl_USBCopyLocation_x64.TabIndex = 18;
this.lbl_USBCopyLocation_x64.Text = "USB Master Copy x64 Location";
//
// groupBox_HiddenAccounts
//
this.groupBox_HiddenAccounts.Controls.Add(this.listBox_HiddenAccounts);
this.groupBox_HiddenAccounts.Controls.Add(this.btn_HiddenRemove);
this.groupBox_HiddenAccounts.Controls.Add(this.btn_HiddenAdd);
this.groupBox_HiddenAccounts.Location = new System.Drawing.Point(12, 100);
this.groupBox_HiddenAccounts.Name = "groupBox_HiddenAccounts";
this.groupBox_HiddenAccounts.Size = new System.Drawing.Size(170, 82);
this.groupBox_HiddenAccounts.TabIndex = 19;
this.groupBox_HiddenAccounts.TabStop = false;
this.groupBox_HiddenAccounts.Text = "Hidden Accounts";
//
// listBox_HiddenAccounts
//
this.listBox_HiddenAccounts.FormattingEnabled = true;
this.listBox_HiddenAccounts.Location = new System.Drawing.Point(6, 19);
this.listBox_HiddenAccounts.Name = "listBox_HiddenAccounts";
this.listBox_HiddenAccounts.Size = new System.Drawing.Size(86, 56);
this.listBox_HiddenAccounts.TabIndex = 1;
//
// btn_HiddenRemove
//
this.btn_HiddenRemove.Location = new System.Drawing.Point(100, 49);
this.btn_HiddenRemove.Name = "btn_HiddenRemove";
this.btn_HiddenRemove.Size = new System.Drawing.Size(60, 22);
this.btn_HiddenRemove.TabIndex = 3;
this.btn_HiddenRemove.Text = "Remove";
this.btn_HiddenRemove.UseVisualStyleBackColor = true;
this.btn_HiddenRemove.Click += new System.EventHandler(this.btn_HiddenRemove_Click);
//
// btn_HiddenAdd
//
this.btn_HiddenAdd.Location = new System.Drawing.Point(100, 23);
this.btn_HiddenAdd.Name = "btn_HiddenAdd";
this.btn_HiddenAdd.Size = new System.Drawing.Size(60, 22);
this.btn_HiddenAdd.TabIndex = 2;
this.btn_HiddenAdd.Text = "Add";
this.btn_HiddenAdd.UseVisualStyleBackColor = true;
this.btn_HiddenAdd.Click += new System.EventHandler(this.btn_HiddenAdd_Click);
//
// btn_Default
//
this.btn_Default.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btn_Default.Location = new System.Drawing.Point(12, 308);
this.btn_Default.Name = "btn_Default";
this.btn_Default.Size = new System.Drawing.Size(45, 20);
this.btn_Default.TabIndex = 20;
this.btn_Default.Text = "Defaults";
this.btn_Default.UseVisualStyleBackColor = true;
this.btn_Default.Click += new System.EventHandler(this.btn_Default_Click);
//
// Settings_Form
//
this.AcceptButton = this.btn_Ok;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.Control;
this.CancelButton = this.btn_Cancel;
this.ClientSize = new System.Drawing.Size(194, 339);
this.Controls.Add(this.btn_Default);
this.Controls.Add(this.groupBox_HiddenAccounts);
this.Controls.Add(this.lbl_USBCopyLocation_x64);
this.Controls.Add(this.btn_USBLocationx64Change);
this.Controls.Add(this.txt_USBMasterCopyLocation_x64);
this.Controls.Add(this.lbl_USBCopyLocation_x32);
this.Controls.Add(this.btn_USBLocationx32Change);
this.Controls.Add(this.txt_USBMasterCopyLocation_x32);
this.Controls.Add(this.btn_ShareLocationChange);
this.Controls.Add(this.lbl_ShareLocation);
this.Controls.Add(this.txt_ShareLocation);
this.Controls.Add(this.btn_Cancel);
this.Controls.Add(this.btn_Ok);
this.Controls.Add(this.groupBox_SystemAccounts);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "Settings_Form";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Settings";
this.groupBox_SystemAccounts.ResumeLayout(false);
this.groupBox_HiddenAccounts.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
 
}
 
#endregion
 
private System.Windows.Forms.Button btn_Ok;
private System.Windows.Forms.Button btn_Cancel;
private System.Windows.Forms.ListBox listBox_SystemAccounts;
private System.Windows.Forms.Button btn_SystemAdd;
private System.Windows.Forms.Button btn_SystemRemove;
private System.Windows.Forms.GroupBox groupBox_SystemAccounts;
private System.Windows.Forms.TextBox txt_ShareLocation;
private System.Windows.Forms.Label lbl_ShareLocation;
private System.Windows.Forms.Button btn_ShareLocationChange;
private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog;
private System.Windows.Forms.Button btn_USBLocationx32Change;
private System.Windows.Forms.TextBox txt_USBMasterCopyLocation_x32;
private System.Windows.Forms.Button btn_USBLocationx64Change;
private System.Windows.Forms.TextBox txt_USBMasterCopyLocation_x64;
private System.Windows.Forms.Label lbl_USBCopyLocation_x32;
private System.Windows.Forms.Label lbl_USBCopyLocation_x64;
private System.Windows.Forms.GroupBox groupBox_HiddenAccounts;
private System.Windows.Forms.ListBox listBox_HiddenAccounts;
private System.Windows.Forms.Button btn_HiddenRemove;
private System.Windows.Forms.Button btn_HiddenAdd;
private System.Windows.Forms.Button btn_Default;
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Settings.xml
0,0 → 1,14
<?xml version="1.0" encoding="utf-8"?>
<Settings>
<ProgramSettings>
<ShowFileSizes>false</ShowFileSizes>
<SystemAccounts>Administrators,Administrator</SystemAccounts>
<HiddenAccounts>Administrator,Guest</HiddenAccounts>
<SharedFolderLocation>C:\</SharedFolderLocation>
<USBMasterCopyx32Location>C:\</USBMasterCopyx32Location>
<USBMasterCopyx64Location>C:\</USBMasterCopyx64Location>
<DockLabels>Dock 1,Dock 2,Dock 3,External USB</DockLabels>
<DockRefreshInterval>1000</DockRefreshInterval>
<DockDrivesToIgnore>C:\</DockDrivesToIgnore>
</ProgramSettings>
</Settings>
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/DriveLogger_Form.Designer.cs
0,0 → 1,69
namespace SWAT_Office_App
{
partial class DriveLogger_Form
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
 
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
 
#region Windows Form Designer generated code
 
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.listView_Drives = new System.Windows.Forms.ListView();
this.SuspendLayout();
//
// listView_Drives
//
this.listView_Drives.AutoArrange = false;
this.listView_Drives.Dock = System.Windows.Forms.DockStyle.Fill;
this.listView_Drives.FullRowSelect = true;
this.listView_Drives.GridLines = true;
this.listView_Drives.LabelEdit = true;
this.listView_Drives.Location = new System.Drawing.Point(0, 0);
this.listView_Drives.MultiSelect = false;
this.listView_Drives.Name = "listView_Drives";
this.listView_Drives.Size = new System.Drawing.Size(548, 111);
this.listView_Drives.TabIndex = 0;
this.listView_Drives.UseCompatibleStateImageBehavior = false;
this.listView_Drives.View = System.Windows.Forms.View.Details;
//
// DriveLogger_Form
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(548, 111);
this.Controls.Add(this.listView_Drives);
this.MaximizeBox = false;
this.Name = "DriveLogger_Form";
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "SWAT DriveLogger";
this.ResumeLayout(false);
 
}
 
#endregion
 
private System.Windows.Forms.ListView listView_Drives;
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/DriveLogger_Form.resx
0,0 → 1,120
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
 
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/DriveLogger_LabelPrompt_Form.Designer.cs
0,0 → 1,92
namespace SWAT_Office_App
{
partial class DriveLogger_LabelPrompt_Form
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
 
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
 
#region Windows Form Designer generated code
 
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.btn_Ok = new System.Windows.Forms.Button();
this.txt_Owner = new System.Windows.Forms.TextBox();
this.groupBox_Dock = new System.Windows.Forms.GroupBox();
this.SuspendLayout();
//
// btn_Ok
//
this.btn_Ok.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
this.btn_Ok.Location = new System.Drawing.Point(34, 63);
this.btn_Ok.Name = "btn_Ok";
this.btn_Ok.Size = new System.Drawing.Size(75, 23);
this.btn_Ok.TabIndex = 3;
this.btn_Ok.Text = "Ok";
this.btn_Ok.UseVisualStyleBackColor = true;
this.btn_Ok.Click += new System.EventHandler(this.btn_Ok_Click);
//
// txt_Owner
//
this.txt_Owner.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
this.txt_Owner.Location = new System.Drawing.Point(12, 37);
this.txt_Owner.Name = "txt_Owner";
this.txt_Owner.Size = new System.Drawing.Size(118, 20);
this.txt_Owner.TabIndex = 2;
//
// groupBox_Dock
//
this.groupBox_Dock.Location = new System.Drawing.Point(12, 12);
this.groupBox_Dock.Name = "groupBox_Dock";
this.groupBox_Dock.Size = new System.Drawing.Size(118, 19);
this.groupBox_Dock.TabIndex = 1;
this.groupBox_Dock.TabStop = false;
this.groupBox_Dock.Text = "Select Dock";
//
// DriveLogger_LabelPrompt_Form
//
this.AcceptButton = this.btn_Ok;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(142, 98);
this.ControlBox = false;
this.Controls.Add(this.groupBox_Dock);
this.Controls.Add(this.txt_Owner);
this.Controls.Add(this.btn_Ok);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
this.Name = "DriveLogger_LabelPrompt_Form";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Enter Owner\'s Name";
this.TopMost = true;
this.ResumeLayout(false);
this.PerformLayout();
 
}
 
#endregion
 
private System.Windows.Forms.Button btn_Ok;
private System.Windows.Forms.TextBox txt_Owner;
private System.Windows.Forms.GroupBox groupBox_Dock;
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/DriveLogger_LabelPrompt_Form.cs
0,0 → 1,66
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
 
namespace SWAT_Office_App
{
public partial class DriveLogger_LabelPrompt_Form : Form
{
// Default values to return on query
public string driveOwner = "Unknown";
public string driveDock = "Unspecified";
// RadioButton list for holding list of docks as specified in settings.xml
private List<RadioButton> rdoBtnList= new List<RadioButton>();
 
public DriveLogger_LabelPrompt_Form()
{
InitializeComponent();
this.KeyPreview = true;
this.btn_Ok.Enabled = false;
// Location markers for the next radiobutton plcaement
int nextXLocation = 6, nextYLocation = 19;
// Sets groupbox and window size depending on number of radiobuttons
this.groupBox_Dock.Size = new Size(118, 19 + (Settings_Form.driveLoggerDockLabels.Count) * 23);
this.Size = new Size(148, 126 + (Settings_Form.driveLoggerDockLabels.Count) * 23);
// Adds a radiobutton for each dock
foreach (string str in Settings_Form.driveLoggerDockLabels)
{
RadioButton newRdoBtn = new RadioButton();
newRdoBtn.Name = "rdo_" + str;
newRdoBtn.TabStop = true;
newRdoBtn.AutoSize = true;
newRdoBtn.Text = str;
newRdoBtn.Location = new Point(nextXLocation, nextYLocation);
nextYLocation += 23;
// Adds the radiobutton to the groupbox and rdoBtnList
groupBox_Dock.Controls.Add(newRdoBtn);
rdoBtnList.Add(newRdoBtn);
}
this.txt_Owner.TextChanged += new EventHandler(txt_Owner_TextChanged);
}
void txt_Owner_TextChanged(object sender, EventArgs e)
{
// Enables the Ok button if text is entered
if (txt_Owner.TextLength > 0)
this.btn_Ok.Enabled = true;
else
this.btn_Ok.Enabled = false;
}
private void btn_Ok_Click(object sender, EventArgs e)
{
// Updates variables and closes form
driveOwner = txt_Owner.Text;
foreach (RadioButton btn in rdoBtnList)
{
if (btn.Checked)
driveDock = btn.Text;
}
this.Close();
}
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/DriveLogger_LabelPrompt_Form.resx
0,0 → 1,120
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
 
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Add_Hidden_Account_Form.resx
0,0 → 1,142
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
 
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAICAAAAEAIACxAwAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAAgAAAAIAgGAAAAc3p69AAAAAlw
SFlzAAALEwAACxMBAJqcGAAAA2NJREFUWIXFl81vlFUUxn/nY8pMhwmJED+JG4KyZWX8IKLr6sTGrX+B
iU0TXKghUROMUUdrS9zq0oUbYGEFTIhAukcBbQhpNX6EVCLRdgqd9x4X7ztDO1OMdDrlJDezuHfuee7z
nPPc+0pEcC9Dil//dOqzr1CtRwRE96L2stQ9tYFkApGOjb326stAC8AbE1Mnfpi9Eq2IuFWMmxFxK0Vk
WUSkfKRWRJalvkakiIuXfozGJ5MnAHegYu4ju/fswfbvYuHZF0jvf84DXz7Fwn3PMHTwA94+Jezd/iSv
PHGG2auXEbnzKf9PPP7YXsx8BKg4UE4puH79L9LlPyld+oJrbx5l2x8zlH6f4cb+d5mfhfmYob7vb+au
ziF6m9C7iyCl4P6dO4lIAGUHhEjsKA9xYeYCiCDzV7j23PcA2K8/8cbzFxGCX36b4+FHHtowAxFBRFDb
UaMofvH2xM1/brBv94OY2Zo/SYAUGQvUG46IIMsymkuLnWL2fAa2DQ1x4MBBKpUKOb35EulX8C4AzWaT
s2fPdDrN8yRg5tRqNarVKiklVlZWEFFKJcfMCtr7A5NlGe6OmXdk1DYyEXAvYeZECOfOfUe9PkKrlSFi
mA3hXuprlEr5HiK0a4BODRBgprgrEcaHHzV4/dAhsoBvvp7GvdxTH3cbOdMK0QUgRRDQoQeE48eOs9xc
5vDht6hWhpment4EAIK7E0XODoA2GlVD1ciyxOjoKOPjYzQaE5w8eYpyuYyq9gUABNX8EGslSAEEZoqq
oCqMj48xOTnFt6dPUx0u6O+zIzoSEEXObgbMMHfUjBfrLyEiDG+voqarLqT+EKitx0BhMK6OmyMilLyE
iGyqDwiCa2E97ZwdNAHmWsjQr9Z3ACB5jp4ugNyY1HL6BwUgl8DXvCnW1ICbYTo4AILg69dA3gVqtgUM
GBC9RgR5iwy8BizfO/X6AKh6YUYDYgBB213Q4wMB7oYNUILciq23C/KejC2UIHp9INg6CYJ1bkMCVPPT
b6b7rY72/kRXEQKklEgpK15CgwEQEaSUkdLtt2X+JANEhfeOvIOK9vvy+g8EkCLld8wqALG4uHj+44mj
T6e0Nd+JqsLS0tJ5IASoAY8Cu1glyYCjBSwAP0uRtAKUGRz53RHAMtCUe/15/i9A38Suzxe8DwAAAABJ
RU5ErkJggg==
</value>
</data>
</root>
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Add_System_Account_Form.resx
0,0 → 1,142
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
 
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAICAAAAEAIACxAwAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAAgAAAAIAgGAAAAc3p69AAAAAlw
SFlzAAALEwAACxMBAJqcGAAAA2NJREFUWIXFl81vlFUUxn/nY8pMhwmJED+JG4KyZWX8IKLr6sTGrX+B
iU0TXKghUROMUUdrS9zq0oUbYGEFTIhAukcBbQhpNX6EVCLRdgqd9x4X7ztDO1OMdDrlJDezuHfuee7z
nPPc+0pEcC9Dil//dOqzr1CtRwRE96L2stQ9tYFkApGOjb326stAC8AbE1Mnfpi9Eq2IuFWMmxFxK0Vk
WUSkfKRWRJalvkakiIuXfozGJ5MnAHegYu4ju/fswfbvYuHZF0jvf84DXz7Fwn3PMHTwA94+Jezd/iSv
PHGG2auXEbnzKf9PPP7YXsx8BKg4UE4puH79L9LlPyld+oJrbx5l2x8zlH6f4cb+d5mfhfmYob7vb+au
ziF6m9C7iyCl4P6dO4lIAGUHhEjsKA9xYeYCiCDzV7j23PcA2K8/8cbzFxGCX36b4+FHHtowAxFBRFDb
UaMofvH2xM1/brBv94OY2Zo/SYAUGQvUG46IIMsymkuLnWL2fAa2DQ1x4MBBKpUKOb35EulX8C4AzWaT
s2fPdDrN8yRg5tRqNarVKiklVlZWEFFKJcfMCtr7A5NlGe6OmXdk1DYyEXAvYeZECOfOfUe9PkKrlSFi
mA3hXuprlEr5HiK0a4BODRBgprgrEcaHHzV4/dAhsoBvvp7GvdxTH3cbOdMK0QUgRRDQoQeE48eOs9xc
5vDht6hWhpment4EAIK7E0XODoA2GlVD1ciyxOjoKOPjYzQaE5w8eYpyuYyq9gUABNX8EGslSAEEZoqq
oCqMj48xOTnFt6dPUx0u6O+zIzoSEEXObgbMMHfUjBfrLyEiDG+voqarLqT+EKitx0BhMK6OmyMilLyE
iGyqDwiCa2E97ZwdNAHmWsjQr9Z3ACB5jp4ugNyY1HL6BwUgl8DXvCnW1ICbYTo4AILg69dA3gVqtgUM
GBC9RgR5iwy8BizfO/X6AKh6YUYDYgBB213Q4wMB7oYNUILciq23C/KejC2UIHp9INg6CYJ1bkMCVPPT
b6b7rY72/kRXEQKklEgpK15CgwEQEaSUkdLtt2X+JANEhfeOvIOK9vvy+g8EkCLld8wqALG4uHj+44mj
T6e0Nd+JqsLS0tJ5IASoAY8Cu1glyYCjBSwAP0uRtAKUGRz53RHAMtCUe/15/i9A38Suzxe8DwAAAABJ
RU5ErkJggg==
</value>
</data>
</root>
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Add_User_Account_Form.resx
0,0 → 1,142
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
 
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAICAAAAEAIACxAwAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAAgAAAAIAgGAAAAc3p69AAAAAlw
SFlzAAALEwAACxMBAJqcGAAAA2NJREFUWIXFl81vlFUUxn/nY8pMhwmJED+JG4KyZWX8IKLr6sTGrX+B
iU0TXKghUROMUUdrS9zq0oUbYGEFTIhAukcBbQhpNX6EVCLRdgqd9x4X7ztDO1OMdDrlJDezuHfuee7z
nPPc+0pEcC9Dil//dOqzr1CtRwRE96L2stQ9tYFkApGOjb326stAC8AbE1Mnfpi9Eq2IuFWMmxFxK0Vk
WUSkfKRWRJalvkakiIuXfozGJ5MnAHegYu4ju/fswfbvYuHZF0jvf84DXz7Fwn3PMHTwA94+Jezd/iSv
PHGG2auXEbnzKf9PPP7YXsx8BKg4UE4puH79L9LlPyld+oJrbx5l2x8zlH6f4cb+d5mfhfmYob7vb+au
ziF6m9C7iyCl4P6dO4lIAGUHhEjsKA9xYeYCiCDzV7j23PcA2K8/8cbzFxGCX36b4+FHHtowAxFBRFDb
UaMofvH2xM1/brBv94OY2Zo/SYAUGQvUG46IIMsymkuLnWL2fAa2DQ1x4MBBKpUKOb35EulX8C4AzWaT
s2fPdDrN8yRg5tRqNarVKiklVlZWEFFKJcfMCtr7A5NlGe6OmXdk1DYyEXAvYeZECOfOfUe9PkKrlSFi
mA3hXuprlEr5HiK0a4BODRBgprgrEcaHHzV4/dAhsoBvvp7GvdxTH3cbOdMK0QUgRRDQoQeE48eOs9xc
5vDht6hWhpment4EAIK7E0XODoA2GlVD1ciyxOjoKOPjYzQaE5w8eYpyuYyq9gUABNX8EGslSAEEZoqq
oCqMj48xOTnFt6dPUx0u6O+zIzoSEEXObgbMMHfUjBfrLyEiDG+voqarLqT+EKitx0BhMK6OmyMilLyE
iGyqDwiCa2E97ZwdNAHmWsjQr9Z3ACB5jp4ugNyY1HL6BwUgl8DXvCnW1ICbYTo4AILg69dA3gVqtgUM
GBC9RgR5iwy8BizfO/X6AKh6YUYDYgBB213Q4wMB7oYNUILciq23C/KejC2UIHp9INg6CYJ1bkMCVPPT
b6b7rY72/kRXEQKklEgpK15CgwEQEaSUkdLtt2X+JANEhfeOvIOK9vvy+g8EkCLld8wqALG4uHj+44mj
T6e0Nd+JqsLS0tJ5IASoAY8Cu1glyYCjBSwAP0uRtAKUGRz53RHAMtCUe/15/i9A38Suzxe8DwAAAABJ
RU5ErkJggg==
</value>
</data>
</root>
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Delete_User_Verify_Form.resx
0,0 → 1,142
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
 
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAICAAAAEAIACxAwAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAAgAAAAIAgGAAAAc3p69AAAAAlw
SFlzAAALEwAACxMBAJqcGAAAA2NJREFUWIXFl81vlFUUxn/nY8pMhwmJED+JG4KyZWX8IKLr6sTGrX+B
iU0TXKghUROMUUdrS9zq0oUbYGEFTIhAukcBbQhpNX6EVCLRdgqd9x4X7ztDO1OMdDrlJDezuHfuee7z
nPPc+0pEcC9Dil//dOqzr1CtRwRE96L2stQ9tYFkApGOjb326stAC8AbE1Mnfpi9Eq2IuFWMmxFxK0Vk
WUSkfKRWRJalvkakiIuXfozGJ5MnAHegYu4ju/fswfbvYuHZF0jvf84DXz7Fwn3PMHTwA94+Jezd/iSv
PHGG2auXEbnzKf9PPP7YXsx8BKg4UE4puH79L9LlPyld+oJrbx5l2x8zlH6f4cb+d5mfhfmYob7vb+au
ziF6m9C7iyCl4P6dO4lIAGUHhEjsKA9xYeYCiCDzV7j23PcA2K8/8cbzFxGCX36b4+FHHtowAxFBRFDb
UaMofvH2xM1/brBv94OY2Zo/SYAUGQvUG46IIMsymkuLnWL2fAa2DQ1x4MBBKpUKOb35EulX8C4AzWaT
s2fPdDrN8yRg5tRqNarVKiklVlZWEFFKJcfMCtr7A5NlGe6OmXdk1DYyEXAvYeZECOfOfUe9PkKrlSFi
mA3hXuprlEr5HiK0a4BODRBgprgrEcaHHzV4/dAhsoBvvp7GvdxTH3cbOdMK0QUgRRDQoQeE48eOs9xc
5vDht6hWhpment4EAIK7E0XODoA2GlVD1ciyxOjoKOPjYzQaE5w8eYpyuYyq9gUABNX8EGslSAEEZoqq
oCqMj48xOTnFt6dPUx0u6O+zIzoSEEXObgbMMHfUjBfrLyEiDG+voqarLqT+EKitx0BhMK6OmyMilLyE
iGyqDwiCa2E97ZwdNAHmWsjQr9Z3ACB5jp4ugNyY1HL6BwUgl8DXvCnW1ICbYTo4AILg69dA3gVqtgUM
GBC9RgR5iwy8BizfO/X6AKh6YUYDYgBB213Q4wMB7oYNUILciq23C/KejC2UIHp9INg6CYJ1bkMCVPPT
b6b7rY72/kRXEQKklEgpK15CgwEQEaSUkdLtt2X+JANEhfeOvIOK9vvy+g8EkCLld8wqALG4uHj+44mj
T6e0Nd+JqsLS0tJ5IASoAY8Cu1glyYCjBSwAP0uRtAKUGRz53RHAMtCUe/15/i9A38Suzxe8DwAAAABJ
RU5ErkJggg==
</value>
</data>
</root>
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Main_Menu_Form.resx
0,0 → 1,142
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
 
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAICAAAAEAIACxAwAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAAgAAAAIAgGAAAAc3p69AAAAAlw
SFlzAAALEwAAC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feOvIOK9vvy+g8EkCLld8wqALG4uHj+44mj
T6e0Nd+JqsLS0tJ5IASoAY8Cu1glyYCjBSwAP0uRtAKUGRz53RHAMtCUe/15/i9A38Suzxe8DwAAAABJ
RU5ErkJggg==
</value>
</data>
</root>
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Manage_User_Accounts_Form.resx
0,0 → 1,142
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
 
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAICAAAAEAIACxAwAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAAgAAAAIAgGAAAAc3p69AAAAAlw
SFlzAAALEwAACxMBAJqcGAAAA2NJREFUWIXFl81vlFUUxn/nY8pMhwmJED+JG4KyZWX8IKLr6sTGrX+B
iU0TXKghUROMUUdrS9zq0oUbYGEFTIhAukcBbQhpNX6EVCLRdgqd9x4X7ztDO1OMdDrlJDezuHfuee7z
nPPc+0pEcC9Dil//dOqzr1CtRwRE96L2stQ9tYFkApGOjb326stAC8AbE1Mnfpi9Eq2IuFWMmxFxK0Vk
WUSkfKRWRJalvkakiIuXfozGJ5MnAHegYu4ju/fswfbvYuHZF0jvf84DXz7Fwn3PMHTwA94+Jezd/iSv
PHGG2auXEbnzKf9PPP7YXsx8BKg4UE4puH79L9LlPyld+oJrbx5l2x8zlH6f4cb+d5mfhfmYob7vb+au
ziF6m9C7iyCl4P6dO4lIAGUHhEjsKA9xYeYCiCDzV7j23PcA2K8/8cbzFxGCX36b4+FHHtowAxFBRFDb
UaMofvH2xM1/brBv94OY2Zo/SYAUGQvUG46IIMsymkuLnWL2fAa2DQ1x4MBBKpUKOb35EulX8C4AzWaT
s2fPdDrN8yRg5tRqNarVKiklVlZWEFFKJcfMCtr7A5NlGe6OmXdk1DYyEXAvYeZECOfOfUe9PkKrlSFi
mA3hXuprlEr5HiK0a4BODRBgprgrEcaHHzV4/dAhsoBvvp7GvdxTH3cbOdMK0QUgRRDQoQeE48eOs9xc
5vDht6hWhpment4EAIK7E0XODoA2GlVD1ciyxOjoKOPjYzQaE5w8eYpyuYyq9gUABNX8EGslSAEEZoqq
oCqMj48xOTnFt6dPUx0u6O+zIzoSEEXObgbMMHfUjBfrLyEiDG+voqarLqT+EKitx0BhMK6OmyMilLyE
iGyqDwiCa2E97ZwdNAHmWsjQr9Z3ACB5jp4ugNyY1HL6BwUgl8DXvCnW1ICbYTo4AILg69dA3gVqtgUM
GBC9RgR5iwy8BizfO/X6AKh6YUYDYgBB213Q4wMB7oYNUILciq23C/KejC2UIHp9INg6CYJ1bkMCVPPT
b6b7rY72/kRXEQKklEgpK15CgwEQEaSUkdLtt2X+JANEhfeOvIOK9vvy+g8EkCLld8wqALG4uHj+44mj
T6e0Nd+JqsLS0tJ5IASoAY8Cu1glyYCjBSwAP0uRtAKUGRz53RHAMtCUe/15/i9A38Suzxe8DwAAAABJ
RU5ErkJggg==
</value>
</data>
</root>
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Properties/AssemblyInfo.cs
0,0 → 1,36
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
 
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SWAT Office App")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("SWAT Office App")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
 
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
 
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("dc89a6fe-eecc-4132-a579-91afd55e2e0b")]
 
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Properties/Resources.Designer.cs
0,0 → 1,70
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
 
namespace SWAT_Office_App.Properties {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SWAT_Office_App.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
internal static System.Drawing.Bitmap Refresh {
get {
object obj = ResourceManager.GetObject("Refresh", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Properties/Resources.resx
0,0 → 1,124
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
 
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="Refresh" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Refresh.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Properties/Settings.Designer.cs
0,0 → 1,30
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
 
namespace SWAT_Office_App.Properties
{
 
 
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
 
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
 
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Properties/Settings.settings
0,0 → 1,7
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Reimage_USB_Drive_Progress_Form.Designer.cs
0,0 → 1,93
namespace SWAT_Office_App
{
partial class Reimage_USB_Drive_Progress_Form
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
 
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
 
#region Windows Form Designer generated code
 
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.btn_Cancel = new System.Windows.Forms.Button();
this.lbl_Status = new System.Windows.Forms.Label();
this.lbl_Warning = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// btn_Cancel
//
this.btn_Cancel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.btn_Cancel.Location = new System.Drawing.Point(43, 80);
this.btn_Cancel.Name = "btn_Cancel";
this.btn_Cancel.Size = new System.Drawing.Size(120, 23);
this.btn_Cancel.TabIndex = 1;
this.btn_Cancel.Text = "Cancel";
this.btn_Cancel.UseVisualStyleBackColor = true;
this.btn_Cancel.Click += new System.EventHandler(this.btn_Cancel_Click);
//
// lbl_Status
//
this.lbl_Status.Location = new System.Drawing.Point(3, 26);
this.lbl_Status.Name = "lbl_Status";
this.lbl_Status.Size = new System.Drawing.Size(200, 51);
this.lbl_Status.TabIndex = 3;
this.lbl_Status.Text = "Current Status: Reformatting USB Drives";
this.lbl_Status.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lbl_Warning
//
this.lbl_Warning.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbl_Warning.AutoSize = true;
this.lbl_Warning.Location = new System.Drawing.Point(2, 9);
this.lbl_Warning.Name = "lbl_Warning";
this.lbl_Warning.Size = new System.Drawing.Size(202, 13);
this.lbl_Warning.TabIndex = 4;
this.lbl_Warning.Text = "Warning! Do NOT unplug the USB drives";
//
// Reimage_USB_Drive_Progress_Form
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSize = true;
this.ClientSize = new System.Drawing.Size(207, 115);
this.Controls.Add(this.lbl_Warning);
this.Controls.Add(this.btn_Cancel);
this.Controls.Add(this.lbl_Status);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "Reimage_USB_Drive_Progress_Form";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Reimge Progress";
this.ResumeLayout(false);
this.PerformLayout();
 
}
 
#endregion
 
private System.Windows.Forms.Button btn_Cancel;
private System.Windows.Forms.Label lbl_Status;
private System.Windows.Forms.Label lbl_Warning;
}
}
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Reimage_USB_Drive_Progress_Form.resx
0,0 → 1,120
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
 
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Reset_User_Password_Form.resx
0,0 → 1,142
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
 
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAICAAAAEAIACxAwAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAAgAAAAIAgGAAAAc3p69AAAAAlw
SFlzAAALEwAACxM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OvIOK9vvy+g8EkCLld8wqALG4uHj+44mj
T6e0Nd+JqsLS0tJ5IASoAY8Cu1glyYCjBSwAP0uRtAKUGRz53RHAMtCUe/15/i9A38Suzxe8DwAAAABJ
RU5ErkJggg==
</value>
</data>
</root>
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Settings_Form.resx
0,0 → 1,148
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
 
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="folderBrowserDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>56</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAICAAAAEAIACxAwAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAAgAAAAIAgGAAAAc3p69AAAAAlw
SFlzAAALEwAACxMBAJqcGAAAA2NJREFUWIXFl81vlFUUxn/nY8pMhwmJED+JG4KyZWX8IKLr6sTGrX+B
iU0TXKghUROMUUdrS9zq0oUbYGEFTIhAukcBbQhpNX6EVCLRdgqd9x4X7ztDO1OMdDrlJDezuHfuee7z
nPPc+0pEcC9Dil//dOqzr1CtRwRE96L2stQ9tYFkApGOjb326stAC8AbE1Mnfpi9Eq2IuFWMmxFxK0Vk
WUSkfKRWRJalvkakiIuXfozGJ5MnAHegYu4ju/fswfbvYuHZF0jvf84DXz7Fwn3PMHTwA94+Jezd/iSv
PHGG2auXEbnzKf9PPP7YXsx8BKg4UE4puH79L9LlPyld+oJrbx5l2x8zlH6f4cb+d5mfhfmYob7vb+au
ziF6m9C7iyCl4P6dO4lIAGUHhEjsKA9xYeYCiCDzV7j23PcA2K8/8cbzFxGCX36b4+FHHtowAxFBRFDb
UaMofvH2xM1/brBv94OY2Zo/SYAUGQvUG46IIMsymkuLnWL2fAa2DQ1x4MBBKpUKOb35EulX8C4AzWaT
s2fPdDrN8yRg5tRqNarVKiklVlZWEFFKJcfMCtr7A5NlGe6OmXdk1DYyEXAvYeZECOfOfUe9PkKrlSFi
mA3hXuprlEr5HiK0a4BODRBgprgrEcaHHzV4/dAhsoBvvp7GvdxTH3cbOdMK0QUgRRDQoQeE48eOs9xc
5vDht6hWhpment4EAIK7E0XODoA2GlVD1ciyxOjoKOPjYzQaE5w8eYpyuYyq9gUABNX8EGslSAEEZoqq
oCqMj48xOTnFt6dPUx0u6O+zIzoSEEXObgbMMHfUjBfrLyEiDG+voqarLqT+EKitx0BhMK6OmyMilLyE
iGyqDwiCa2E97ZwdNAHmWsjQr9Z3ACB5jp4ugNyY1HL6BwUgl8DXvCnW1ICbYTo4AILg69dA3gVqtgUM
GBC9RgR5iwy8BizfO/X6AKh6YUYDYgBB213Q4wMB7oYNUILciq23C/KejC2UIHp9INg6CYJ1bkMCVPPT
b6b7rY72/kRXEQKklEgpK15CgwEQEaSUkdLtt2X+JANEhfeOvIOK9vvy+g8EkCLld8wqALG4uHj+44mj
T6e0Nd+JqsLS0tJ5IASoAY8Cu1glyYCjBSwAP0uRtAKUGRz53RHAMtCUe/15/i9A38Suzxe8DwAAAABJ
RU5ErkJggg==
</value>
</data>
</root>
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Settings_Verify_Form.resx
0,0 → 1,142
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
 
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAICAAAAEAIACxAwAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAAgAAAAIAgGAAAAc3p69AAAAAlw
SFlzAA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+JANEhfeOvIOK9vvy+g8EkCLld8wqALG4uHj+44mj
T6e0Nd+JqsLS0tJ5IASoAY8Cu1glyYCjBSwAP0uRtAKUGRz53RHAMtCUe/15/i9A38Suzxe8DwAAAABJ
RU5ErkJggg==
</value>
</data>
</root>
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App/Toggle_User_Verify_Form.resx
0,0 → 1,142
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
 
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAICAAAAEAIACxAwAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAAgAAAAIAgGAAAAc3p69AAAAAlw
SFlzAAALEwAACxMBAJqcGAAAA2NJREFUWIXFl81vlFUUxn/nY8pMhwmJED+JG4KyZWX8IKLr6sTGrX+B
iU0TXKghUROMUUdrS9zq0oUbYGEFTIhAukcBbQhpNX6EVCLRdgqd9x4X7ztDO1OMdDrlJDezuHfuee7z
nPPc+0pEcC9Dil//dOqzr1CtRwRE96L2stQ9tYFkApGOjb326stAC8AbE1Mnfpi9Eq2IuFWMmxFxK0Vk
WUSkfKRWRJalvkakiIuXfozGJ5MnAHegYu4ju/fswfbvYuHZF0jvf84DXz7Fwn3PMHTwA94+Jezd/iSv
PHGG2auXEbnzKf9PPP7YXsx8BKg4UE4puH79L9LlPyld+oJrbx5l2x8zlH6f4cb+d5mfhfmYob7vb+au
ziF6m9C7iyCl4P6dO4lIAGUHhEjsKA9xYeYCiCDzV7j23PcA2K8/8cbzFxGCX36b4+FHHtowAxFBRFDb
UaMofvH2xM1/brBv94OY2Zo/SYAUGQvUG46IIMsymkuLnWL2fAa2DQ1x4MBBKpUKOb35EulX8C4AzWaT
s2fPdDrN8yRg5tRqNarVKiklVlZWEFFKJcfMCtr7A5NlGe6OmXdk1DYyEXAvYeZECOfOfUe9PkKrlSFi
mA3hXuprlEr5HiK0a4BODRBgprgrEcaHHzV4/dAhsoBvvp7GvdxTH3cbOdMK0QUgRRDQoQeE48eOs9xc
5vDht6hWhpment4EAIK7E0XODoA2GlVD1ciyxOjoKOPjYzQaE5w8eYpyuYyq9gUABNX8EGslSAEEZoqq
oCqMj48xOTnFt6dPUx0u6O+zIzoSEEXObgbMMHfUjBfrLyEiDG+voqarLqT+EKitx0BhMK6OmyMilLyE
iGyqDwiCa2E97ZwdNAHmWsjQr9Z3ACB5jp4ugNyY1HL6BwUgl8DXvCnW1ICbYTo4AILg69dA3gVqtgUM
GBC9RgR5iwy8BizfO/X6AKh6YUYDYgBB213Q4wMB7oYNUILciq23C/KejC2UIHp9INg6CYJ1bkMCVPPT
b6b7rY72/kRXEQKklEgpK15CgwEQEaSUkdLtt2X+JANEhfeOvIOK9vvy+g8EkCLld8wqALG4uHj+44mj
T6e0Nd+JqsLS0tJ5IASoAY8Cu1glyYCjBSwAP0uRtAKUGRz53RHAMtCUe/15/i9A38Suzxe8DwAAAABJ
RU5ErkJggg==
</value>
</data>
</root>
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App.suo
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App.suo
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/SWAT Programs/SWAT Office App/tags/Release_2.7/File Diagram.vsd
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/SWAT Programs/SWAT Office App/tags/Release_2.7/File Diagram.vsd
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/SWAT Programs/SWAT Office App/tags/Release_2.7/SWAT Office App.sln
0,0 → 1,20

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SWAT Office App", "SWAT Office App\SWAT Office App.csproj", "{87CC24B0-F2A3-4D61-94D0-B3DF78658562}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{87CC24B0-F2A3-4D61-94D0-B3DF78658562}.Debug|x86.ActiveCfg = Debug|x86
{87CC24B0-F2A3-4D61-94D0-B3DF78658562}.Debug|x86.Build.0 = Debug|x86
{87CC24B0-F2A3-4D61-94D0-B3DF78658562}.Release|x86.ActiveCfg = Release|x86
{87CC24B0-F2A3-4D61-94D0-B3DF78658562}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal