public List<string> GetComponents(string type)
 {
     BeL = new BackEndLibraries.Uils_Repo(BeLPath);
     List<string> complist = BeL.GetComponents(type);
     BeL = null;
     components = null;
     components = new Dictionary<int, IComponent>();
     foreach (string singleComp in complist)
     {
         string[] comp = singleComp.Split(';');
         if (comp[4] == "COM")
             components[Convert.ToInt32(comp[0])] = new COMReflection.COMReflect(rootpath + comp[3]+";"+rootpath);
         if (comp[4] == "NET")
             components[Convert.ToInt32(comp[0])] = new NETReflection.NETReflect(rootpath + comp[3] + ";");
         if (comp[4] == "JAVA")
             components[Convert.ToInt32(comp[0])] = new JavaReflection2.JavaReflection(rootpath + comp[3] + ";");
     }
     return complist;
 }
 public bool Modify(int id, string name, string path, string description, string type)
 {
     BeL = new BackEndLibraries.Uils_Repo(BeLPath);
     return BeL.ModifyInDB(id, name, path, description, type);
 }
 public bool Add(string name, string path, string description, string type)
 {
     BeL = new BackEndLibraries.Uils_Repo(BeLPath);
     return BeL.Add(name, path, description, type);
 }
 public bool Delete(int id)
 {
     BeL = new BackEndLibraries.Uils_Repo(BeLPath);
     return BeL.Delete(id);
 }
 public void UpdateDownload(int id)
 {
     BeL = new BackEndLibraries.Uils_Repo(BeLPath);
     BeL.updateDownload(id);
 }