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.ComponentModel.Design;

namespace LumiSoft.UI.Controls.WOutlookBar
{
	public class BarCollectionEditor : System.ComponentModel.Design.CollectionEditor
	{
		public BarCollectionEditor(Type type) : base(type) 
		{ 
		}

		protected override object CreateInstance(Type itemType) {
			object obj = null;

			if(itemType.FullName == "LumiSoft.UI.Controls.WOutlookBar.Bar"){
				obj = ((WOutlookBar)Context.Instance).Bars.Add("obj");
			}
			return obj;
		}
	}
}