public static string GetKeyValueSplit(string key, KeyPartition keyPartition)
 {
     string[] keyTemp = key.Split(';');
     return key = keyTemp[GetKeyPartition(keyPartition)];
 }
 public static string[] ReadINIKeyValues(KeyPartition keyPartition)
 {
     string[] toReturn = new string[11];
     string[] keyValues = INIFileOptions.GetINISectionKeyValues();
     for (int i = 0; i < keyValues.Length; i++)
     {
         toReturn[i] = INIFileOptions.GetKeyValueSplit(keyValues[i], keyPartition).Trim();
     }
     return toReturn;
 }
 public static int GetKeyPartition(KeyPartition KeyPartition)
 {
     int partition = 0;
     switch (KeyPartition)
     {
         case KeyPartition.visible: partition = 0; break;
         case KeyPartition.columnName: partition = 1; break;
         default: break;
     }
     return partition;
 }