/// <summary> /// Constructor /// </summary> /// <param name="shape"></param> public NTextBox(Shape shape) : base(shape) { mListItems = new NListItemCollection(); timer = new Timer(); timer.Interval = 600; timer.Tick += new EventHandler(timer_Tick); }
/// <summary> /// Constructor /// </summary> /// <param name="shape"></param> /// <param name="width"></param> /// <param name="height"></param> public NComboBox(Shape shape, int width, int height) : base(shape) { this.mWidth = width; this.mHeight = height; mListItems = new NListItemCollection(); mListItems.OnItemAdded += new Netron.GraphLib.Utils.NListItemCollection.NListChange(mListItems_OnItemAdded); mListItems.OnItemRemoved += new Netron.GraphLib.Utils.NListItemCollection.NListChange(mListItems_OnItemRemoved); }
/// <summary> /// Constructor /// </summary> /// <param name="shape"></param> /// <param name="width"></param> /// <param name="height"></param> public NTextBox(Shape shape, int width, int height) : base(shape) { this.mWidth = width; this.mHeight = height; mListItems = new NListItemCollection(); timer = new Timer(); timer.Interval = 600; timer.Tick += new EventHandler(timer_Tick); }
/// <summary> /// Constructor /// </summary> /// <param name="shape"></param> public NComboBox(Shape shape) : base(shape) { mListItems = new NListItemCollection(); mListItems.OnItemAdded += new Netron.GraphLib.Utils.NListItemCollection.NListChange(mListItems_OnItemAdded); mListItems.OnItemRemoved += new Netron.GraphLib.Utils.NListItemCollection.NListChange(mListItems_OnItemRemoved); }