예제 #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);
        }