|
using System;
using System.Collections.Generic;
using System.Text;
namespace ISCMS.Main
{
class ListFactory
{
public ISCMS.Main.List BaseFactory(string Form)
{
switch (Form)
{
// Goods
case "Goods_List":
return new MasterFiles.Goods.List();
// Plant
case "Plant_List":
return new Plant.EventList();
// Procurement
case "Procurement_List":
return new Procurement.EventList();
// Manufacturing
case "Manufacturing_List":
return new Manufacturing.EventList();
// Job
case "Job_List":
return new Manufacturing.JobList();
// Warehouse List
case "Warehouse_List":
return new Warehouse.EventList();
// Carrier
case "Carrier_List":
return new MasterFiles.Carrier.List();
// Client
case "Client_List":
return new MasterFiles.Client.List();
// Employee
case "Employee_List":
return new MasterFiles.Employee.List();
// Supplier
case "Supplier_List":
return new MasterFiles.Supplier.List();
// Transporter
case "Transporter_List":
return new MasterFiles.Transporter.List();
}
return new List() ;
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.