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

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

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

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

            return(ds);
        }
示例#5
0
        public ArrayList showCompanies()
        {
            ArrayList  a = new ArrayList();
            CompanyCAD c = new CompanyCAD();

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

            c.addCompany(this);
        }
示例#7
0
        public void update_Company()
        {
            CompanyCAD c = new CompanyCAD();

            c.updateCompany(this);
        }
示例#8
0
        public void delete_Company()
        {
            CompanyCAD c = new CompanyCAD();

            c.deleteCompany(this);
        }