コード例 #1
0
ファイル: dgvReader.cs プロジェクト: huannguyenfit/MeGUI
        /// <summary>
        /// initializes the dgv reader
        /// </summary>
        /// <param name="fileName">the DGVC1Index project file that this reader will process</param>
        public dgvFile(string fileName)
        {
            this.fileName = fileName;
            int    c;
            string dgdecodenv = ScriptServer.DGDecodeNVdllPath(out c);

            switch (c)
            {
            case 1: reader = AvsFile.ParseScript("DGSource(\"" + this.fileName + "\")"); break;

            case 2: reader = AvsFile.ParseScript("LoadPlugin(\"" + dgdecodenv + "\")\r\nDGSource(\"" + this.fileName + "\")"); break;
            }
            this.readFileProperties();
        }