External/Aga.Controls/StringCollectionEditor.cs
author moel.mich
Tue, 24 Jul 2012 16:04:30 +0000
changeset 371 c1a0d321e646
permissions -rw-r--r--
Added a wrapper for the NotifyIconAdv to use the normal NotifyIcon class on Linux systems and the (fixed) custom implementation on Windows systems.
     1 using System;
     2 using System.Collections.Generic;
     3 using System.Text;
     4 using System.ComponentModel.Design;
     5 
     6 namespace Aga.Controls
     7 {
     8 	public class StringCollectionEditor : CollectionEditor
     9 	{
    10 		public StringCollectionEditor(Type type): base(type)
    11 		{
    12 		}
    13 
    14 		protected override Type CreateCollectionItemType()
    15 		{
    16 			return typeof(string);
    17 		}
    18 
    19 		protected override object CreateInstance(Type itemType)
    20 		{
    21 			return "";
    22 		}
    23 	}
    24 }