public TaskEditor() { types = ReflectiveEnumerator.DerivedTypes <Task>().ToArray(); typenames = new string[types.Length]; for (int i = 0; i < types.Length; ++i) { typenames[i] = types[i].ToString();//.Split('.').Last(); } }