Esempio n. 1
0
		public Int32 Start(String pName, String useNote = null)
		{
			pTimeSpan pts = new pTimeSpan(DateTime.Now, useNote);

			openIDs.Add(currentID, pName);

			if (profileList.ContainsKey(pName) == false)
				profileList[pName] = new Dictionary<Int32, pTimeSpan>();

			profileList[pName].Add(currentID, pts);

			return ++currentID;
		}
Esempio n. 2
0
        public Int32 Start(String pName, String useNote = null)
        {
            pTimeSpan pts = new pTimeSpan(DateTime.Now, useNote);

            openIDs.Add(currentID, pName);

            if (profileList.ContainsKey(pName) == false)
            {
                profileList[pName] = new Dictionary <Int32, pTimeSpan>();
            }

            profileList[pName].Add(currentID, pts);

            return(++currentID);
        }