Mercurial > repos > IBBoard.Windows.Forms
diff Windows/Forms/IBBMenuItem.cs @ 0:d860e2c49f43
Initial commit of IBBoard libraries
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 19 Dec 2008 11:13:48 +0000 |
parents | |
children | 1acdb0aff4a7 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Windows/Forms/IBBMenuItem.cs Fri Dec 19 11:13:48 2008 +0000 @@ -0,0 +1,38 @@ +using System; +using System.Collections; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Windows.Forms; +using IBBoard.Lang; + +namespace IBBoard.Windows.Forms +{ + /// <summary> + /// Summary description for IBBMenuItem. + /// </summary> + public class IBBMenuItem : System.Windows.Forms.MenuItem, ITranslatable + { + private string name = "emptyName"; + + public IBBMenuItem() : base(){} + + public IBBMenuItem(string text) : base(text) {} + + #region ITranslatable Members + + public new string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + #endregion + } +}