Flat Controls

This library contains flat versions of many common controls including a DateTimePicker, an EditBox with masking (Numeric, text,date), a SpinEdit, a Combobox, a ToolBar, and a CheckBox.

C# (408.2 KB)
 
 
 
 
 
(0)
3,352 times
Add to favorites
3/1/2011
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

C#
using System;
using System.Collections;

namespace LumiSoft.UI.Controls.WOutlookBar
{
	/// <summary>
	/// Summary description for Item.
	/// </summary>
	public class Items : ArrayList
	{		
		private Bar m_pBar = null;

		public Items(Bar ownerBar) : base()
		{
			m_pBar = ownerBar;
		}


		#region function Add

		public Item Add(string caption,int imageIndex)
		{
			Item item = new Item(this);
			item.Caption = caption;
			item.ImageIndex = imageIndex;

			base.Add(item);
			this.Bar.Bars.WOutlookBar.UpdateAll();

			return item;
		}

		#endregion

		public new Item this[int nIndex]
		{
			get{ return (Item)base[nIndex]; }
		}
	

		#region Properties Implementation

		#region Internal Properties

		internal Bar Bar
		{
			get{ return m_pBar; }
		}

		#endregion

		#endregion

	}
}