Exemple #1
0
        private void ButtonRead_Click(object sender, EventArgs e)
        {
            ModuleCommand module  = new ModuleCommand(moduleCheckedText, functionCheckedText);
            XMLUnit       xmlUnit = new XMLUnit();

            atCommands = xmlUnit.XMLUnitRead(module);
            this.Close();
        }
Exemple #2
0
        private void Form3_FormClosed(object sender, FormClosedEventArgs e)
        {
            XMLUnit          xmlunit = new XMLUnit();
            List <ATCommand> acs     = xmlunit.XMLUnitRead();

            if (acs.Count <= 0)
            {
                xmlunit.XMLUnitWrite(new ModuleCommand(), acs);
            }
        }