/// <summary> /// Draw Item /// </summary> /// <param Name="index">item index</param> /// <param Name="Color">text Character Color</param> public void DrawItem(int index, Color Color) { this.Contents.Font.Size = GeexEdit.DefaultFontSize; this.Contents.Font.Color = Color; Rectangle Rect = new Rectangle(160 + index * 160 + 4, 0, 128 - 10, 32); this.Contents.FillRect(Rect, new Color(0, 0, 0, 0)); Contents.DrawText(Rect, Commands[index], 1, true); }