Пример #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);
            }
        }