/// <summary> /// This id can come from a database or be hard coded /// by each service integrator or service reseller. /// </summary> //private const String INTEGRATOR_ID = "123"; public XmlFileController(View.IXmlFile view) { _view = view; _view.OnInvoicesProcessStart += _view_OnInvoicesProcessStart; _view.OnSelectResultFile += _view_OnSelectResultFile; _random = new Random(); }
public frmTimbradoXMLFileController(View.IXmlFile view) { _random = new Random(); _view = view; _view.OnInvoicesProcessStart += _view_OnInvoicesProcessStart; _view.OnSelectResultFile += _view_OnSelectResultFile; _view.OnGetToken += _view_OnGetToken; _view.OnSealandStampandStamp += _view_OnSealandStampandStamp; }