Example #1
0
        public EventMain(string pathtofile)
        {
            string[] file = System.IO.File.ReadAllLines(pathtofile);

            foreach (string s in file)
            {
                ScriptCommand temp = new ScriptCommand(s);
                this.commands.Add(temp);
            }
        }
Example #2
0
        public EventMain(string pathtofile)
        {
            string[] file = System.IO.File.ReadAllLines(pathtofile);

            foreach (string s in file)
            {
                ScriptCommand temp = new ScriptCommand(s);
                this.commands.Add(temp);
            }
        }