static DrawItem() { for (int nIdx = 0; nIdx < (int)ElementType.End; nIdx++) { s_dictionaryStringElementType.Add(((ElementType)nIdx).ToString(), (ElementType)nIdx); } }