예제 #1
0
 //	Removes an init string
 public void RemoveInitString(string initString)
 {
     if (InitStrings != null)
     {
         InitStrings.Remove(initString);
     }
 }
예제 #2
0
 //	Adds new initialization string
 public void AddInitString(string initString)
 {
     if (InitStrings == null)
     {
         InitStrings = new List <string>();
     }
     string[] split = initString.Split('\n');
     foreach (string str in split)
     {
         InitStrings.Add(str);
     }
 }