Пример #1
0
        public bool ReattachExt(string extName)
        {
            if (RegMethod.DetachMpcBeExt(extName))
            {
                if (RegMethod.AttachMpcBeExt(extName))
                {
                    return(true);
                }
            }

            return(false);
        }
Пример #2
0
 public bool AttachExt(string extName)
 {
     if (RegMethod.AttachMpcBeExt(extName))
     {
         //Save ext.
         _extColle.Add(extName);
         MainVM.SaveToFile(this);
     }
     else
     {
         return(false);
     }
     return(true);
 }
Пример #3
0
        public bool AttachExt(List <string> extList)
        {
            foreach (string extName in extList)
            {
                if (RegMethod.AttachMpcBeExt(extName))
                {
                    //Save ext.
                    _extColle.Add(extName);
                }
            }

            MainVM.SaveToFile(this);

            return(true);
        }