Exemplo n.º 1
0
        private void getConfiguration()
        {
            string currentDir = Environment.CurrentDirectory;
            String filename   = new DirectoryInfo(Path.GetFullPath(Path.Combine(currentDir, Application.StartupPath + @"\Utils\ParkingNodesConfig.xml"))).ToString();

            HandlerXML handler = new HandlerXML(filename);

            handler.LoadConfigurations();
        }
Exemplo n.º 2
0
        private void buttonValidate_Click(object sender, EventArgs e)
        {
            string xml = textBoxXmlFile.Text;

            HandlerXML handler = new HandlerXML(xml);

            handler.LoadConfigurations();

            this.Close();
            //FormDACE.richTextBoxLog.Text += "Reading Configurations from XML... Successfull" + "\n";
            //FormDACE.richTextBoxLog.Text += "--------------------------------------------------------------------------------------------------\n";
        }