示例#1
0
        private void LoadNameFromPath()
        {
            Regex  regexp  = new Regex(".{0,}E[0-9]{4}[a-zA-Z]{1}");
            String retName = regexp.Replace(this.Path, "");

            this.configFile = new OEMConfigFile(this);
            if (retName != string.Empty)
            {
                configFile.brand = retName;
            }
            this.name = configFile.brand;
        }
示例#2
0
 private void setPath(string value)
 {
     this.currentPath = value;
     this.configFile  = new OEMConfigFile(this);
     this.LoadModels();
 }