Esempio n. 1
0
        public DataSet showAllCompanies() //show all the companies
        {
            CompanyCAD c  = new CompanyCAD();
            DataSet    ds = c.showCompanies(this);

            return(ds);
        }
Esempio n. 2
0
        public DataSet searchAllCompanies(String ty) //search company  by type
        {
            CompanyCAD c  = new CompanyCAD();
            DataSet    ds = c.searchCompanies(ty);

            return(ds);
        }
Esempio n. 3
0
        public DataSet searchCompanyID(string idC) //search company by id
        {
            CompanyCAD c  = new CompanyCAD();
            DataSet    ds = c.searchCompanyID(idC);

            return(ds);
        }
Esempio n. 4
0
        public DataSet update_Company(int i) //update company
        {
            CompanyCAD c  = new CompanyCAD();
            DataSet    ds = c.updateCompany(this, i);

            return(ds);
        }
Esempio n. 5
0
        public ArrayList showCompanies()
        {
            ArrayList  a = new ArrayList();
            CompanyCAD c = new CompanyCAD();

            a = c.showCompanies();
            return(a);
        }
Esempio n. 6
0
        public void add_Company() //new company
        {
            CompanyCAD c = new CompanyCAD();

            c.addCompany(this);
        }
Esempio n. 7
0
        public void update_Company()
        {
            CompanyCAD c = new CompanyCAD();

            c.updateCompany(this);
        }
Esempio n. 8
0
        public void delete_Company()
        {
            CompanyCAD c = new CompanyCAD();

            c.deleteCompany(this);
        }