Exemplo n.º 1
0
 public ContasPagar()
 {
     _services = BillingServices.Instance;
     InitializeComponent();
 }
Exemplo n.º 2
0
 public static BaseBusiness GetBusiness(string Module)
 {
     Module = Module.ToLower();
     if (businessList.Contains(Module)) return (BaseBusiness)businessList[Module];
     BaseBusiness business;
     switch (Module)
     {
         case "profile":
             business =  new ProileServices();
             break;
         case "finance":
             business = new FinanceServices();
             break;
         case "transaction":
             business = new TransactionService();
             break;
         case "security":
             business = new SecurityServices();
             break;
         case "sms":
             business = new SMSServices();
             break;
         case "billing":
             business = new BillingServices();
             break;
         default:
             business = null;
             break;
     }
     business.ModuleCode = Module;
     business.Start();
     //business.Timeout = 15;
     businessList.Add(Module, business);
     return business;
 }