From 0941db7c5c1deaeadca537047d25aad685e0b2d8 Mon Sep 17 00:00:00 2001 From: Kathy Date: Mon, 8 Nov 2010 14:46:54 +0000 Subject: [PATCH] --- PROMS/Volian.Controls.Library/DisplayText.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PROMS/Volian.Controls.Library/DisplayText.cs b/PROMS/Volian.Controls.Library/DisplayText.cs index 8d710634..471c4e19 100644 --- a/PROMS/Volian.Controls.Library/DisplayText.cs +++ b/PROMS/Volian.Controls.Library/DisplayText.cs @@ -59,12 +59,12 @@ namespace Volian.Controls.Library case E_FieldToEdit.StepText: case E_FieldToEdit.Text: _MyItem.MyContent.Text = value; - _MyItem.MyContent.UserID = Environment.UserName; + _MyItem.MyContent.UserID = Volian.Base.Library.VlnSettings.UserID; _MyItem.MyContent.DTS = DateTime.Now; break; case E_FieldToEdit.Number: _MyItem.MyContent.Number = value; - _MyItem.MyContent.UserID = Environment.UserName; + _MyItem.MyContent.UserID = Volian.Base.Library.VlnSettings.UserID; _MyItem.MyContent.DTS = DateTime.Now; break; default: @@ -360,7 +360,7 @@ namespace Volian.Controls.Library Dictionary ctReplacements = BuildCtReplacements(_MyItem.MyContent.ContentTransitions); Dictionary roUsgReplacements = BuildRoUsgReplacements(_MyItem.MyContent.ContentRoUsages); _MyItem.DTS = DateTime.Now; - _MyItem.UserID = Environment.UserName; + _MyItem.UserID = Volian.Base.Library.VlnSettings.UserID; // Do the Save once rather than multiple times _MyItem.Save(); if (ctReplacements.Count > 0) @@ -387,7 +387,7 @@ namespace Volian.Controls.Library Console.WriteLine("{0} - {1}", br.Property, br.Description); } _MyItem.DTS = DateTime.Now; - _MyItem.UserID = Environment.UserName; + _MyItem.UserID = Volian.Base.Library.VlnSettings.UserID; _MyItem.Save(); } _MyItem = null;