|
using System;
using System.Windows;
using System.Windows.Forms;
using System.Collections;
using System.Text;
namespace CustoAxImport
{
/// <summary>
/// MyDailyNotes represents notes that will be displayed when a day cell is clicked.
/// The text notes are stored in a hash table. The key is mm/day/year created by caller.
/// </summary>
public class MyDailyNotes : TextBox
{
static Hashtable m_noteCollection = new Hashtable();
public MyDailyNotes()
{
}
public void SetNotes(object key, string notes)
{
if(m_noteCollection.Contains(key))
m_noteCollection[key] = notes;
else
m_noteCollection.Add(key, notes);
}
public string GetNotes(object key)
{
if(m_noteCollection.Contains(key))
return (string)m_noteCollection[key];
return "";
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.