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,348 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 Bars.
	/// </summary>
	public class Bars : ArrayList
	{
		private WOutlookBar m_pOutlookBar = null;

		public Bars(WOutlookBar parent)
		{
			m_pOutlookBar = parent;
		}


		#region function Add

		public Bar Add(string caption)
		{
			Bar bar = new Bar(this);
			bar.Caption = caption;

			base.Add(bar);
			this.WOutlookBar.UpdateAll();

			return bar;
		}

		#endregion

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


		#region Properties Implementation

		public WOutlookBar WOutlookBar
		{
			get{ return m_pOutlookBar; }
		}

		#endregion

	}
}