示例#1
0
 public bool DetachExt(string extName)
 {
     if (RegMethod.DetachMpcBeExt(extName))
     {
         _extColle.Remove(extName);
         MainVM.SaveToFile(this);
         return(true);
     }
     return(false);
 }
示例#2
0
        public bool ReattachExt(string extName)
        {
            if (RegMethod.DetachMpcBeExt(extName))
            {
                if (RegMethod.AttachMpcBeExt(extName))
                {
                    return(true);
                }
            }

            return(false);
        }