예제 #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);
            }
        }
예제 #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);
            }
        }