Ejemplo n.º 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);
            }
        }
Ejemplo n.º 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);
            }
        }