From 6b6ff54afdb41cc5b453aaf0eb8f2d0ea4dedaa2 Mon Sep 17 00:00:00 2001 From: Kathy Date: Mon, 8 Nov 2010 14:43:49 +0000 Subject: [PATCH] --- PROMS/Volian.Base.Library/VlnSettings.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/PROMS/Volian.Base.Library/VlnSettings.cs b/PROMS/Volian.Base.Library/VlnSettings.cs index f1a5a2ee..01d88cba 100644 --- a/PROMS/Volian.Base.Library/VlnSettings.cs +++ b/PROMS/Volian.Base.Library/VlnSettings.cs @@ -13,9 +13,8 @@ namespace Volian.Base.Library // or for Debug mode (shaded background, and color text on PDF output // For PROMS 2010, this is set via the App.config setting: // - // + // // For DataLoader, this is set via the Debug checkbox on the form. - private static bool WasLoaded = false; private static bool _DebugMode = false; public static bool DebugMode @@ -86,5 +85,12 @@ namespace Volian.Base.Library set { VlnSettings._OldPDFFolder = value; } } + private static string _UserID=Environment.UserName.ToUpper(); + public static string UserID + { + get { return VlnSettings._UserID; } + set { VlnSettings._UserID = value; } + } + } }