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)
3,348 times
Add to favorites
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

using System;
using System.ComponentModel.Design;

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

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

			if(itemType.FullName == "LumiSoft.UI.Controls.WOutlookBar.Item"){
				obj = ((Bar)Context.Instance).Items.Add("bar Item",-1);
			return obj;