public DataSet showAllCompanies() //show all the companies { CompanyCAD c = new CompanyCAD(); DataSet ds = c.showCompanies(this); return(ds); }
public DataSet searchAllCompanies(String ty) //search company by type { CompanyCAD c = new CompanyCAD(); DataSet ds = c.searchCompanies(ty); return(ds); }
public DataSet searchCompanyID(string idC) //search company by id { CompanyCAD c = new CompanyCAD(); DataSet ds = c.searchCompanyID(idC); return(ds); }
public DataSet update_Company(int i) //update company { CompanyCAD c = new CompanyCAD(); DataSet ds = c.updateCompany(this, i); return(ds); }
public ArrayList showCompanies() { ArrayList a = new ArrayList(); CompanyCAD c = new CompanyCAD(); a = c.showCompanies(); return(a); }
public void add_Company() //new company { CompanyCAD c = new CompanyCAD(); c.addCompany(this); }
public void update_Company() { CompanyCAD c = new CompanyCAD(); c.updateCompany(this); }
public void delete_Company() { CompanyCAD c = new CompanyCAD(); c.deleteCompany(this); }