Ejemplo n.º 1
0
        /// <summary>
        /// Test that loads a vdf file and prints information about it
        /// </summary>
        static void LoadVDFTest()
        {
            string fileToLoad = GetInput("VDF file to load (no extension): ");

            loadedVDF = VDFReader.LoadVDF(fileToLoad + ".vdf");

            PrintInfo(loadedVDF.ToString());
        }
Ejemplo n.º 2
0
        public void OpenVDF(string path)
        {
            vdf      = VDFReader.LoadVDF(path);
            savePath = path;

            // GeneralUtil.Info("VDF Name: " + vdf.name);
            vdfNameText.Text = "VDF Name: " + vdf.name;

            LoadVDF();
        }