public FrmVentasReservadasListado(IClock clock, IFormFactory formFactory, IMessageBoxDisplayService messageBoxDisplayService, ILaPazUow uow, IVentaReservadaNegocio ventaReservadaNegocio, IFormRegistry formRegistry) { Uow = uow; SortColumn = "FechaAlta"; SortDirection = "DESC"; SortColumnMappings = new Dictionary <string, string>(); //SortColumnMappings["TipoDocumentoDi"] = "TiposDocumentosIdentidad.Abreviatura"; FormFactory = formFactory; Uow = uow; FormRegistry = formRegistry; _clock = clock; _messageBoxDisplayService = messageBoxDisplayService; _ventaReservadaNegocio = ventaReservadaNegocio; InitializeComponent(); InicializarPaginador(); //Fix para centrar columnas. this.GrillaFacturasReservadas.CellFormatting += this.Grilla_CellFormatting; MainGrid = GrillaFacturasReservadas; this.MainPager = FacturaPager; this.Spinner = ucProgressSpinner1; }
public FrmCrearSenia(IClock clock, IFormFactory formFactory, IMessageBoxDisplayService messageBoxDisplayService, ILaPazUow uow, IUowFactory uowFactory, IVentaNegocio ventaNegocio, IClienteNegocio clienteNegocio, IComprobanteNegocio comprobanteNegocio, IFormRegistry formRegistry, Guid id, ActionFormMode mode) { FormFactory = formFactory; Uow = uow; FormRegistry = formRegistry; UowFactory = uowFactory; _clock = clock; _messageBoxDisplayService = messageBoxDisplayService; _clienteId = id; _cliente = new Cliente(); _ventaNegocio = ventaNegocio; _clienteNegocio = clienteNegocio; _comprobanteNegocio = comprobanteNegocio; _formMode = mode; InitializeComponent(); InicializarPaginador(); }
public void SetUp() { theRequirements = MockRepository.GenerateStub <IAssetRequirements>(); theGraph = BehaviorGraph.BuildFrom(x => x.Actions.IncludeType <FormModeEndpoint>()); theRegistry = theGraph.Settings.Get <FormSettings>().BuildRegistry(); }
public FrmRendirConsignacionCliente(IClock clock, IFormFactory formFactory, IMessageBoxDisplayService messageBoxDisplayService, ILaPazUow uow, IVentaNegocio ventaNegocio, IClienteNegocio clienteNegocio, IRemitosVentaDetalleNegocio remitoDetalleNegocio, IRemitosVentaNegocio remitoNegocio, IFormRegistry formRegistry, int id, ActionFormMode mode) { FormFactory = formFactory; Uow = uow; FormRegistry = formRegistry; _clock = clock; _messageBoxDisplayService = messageBoxDisplayService; _ventaNegocio = ventaNegocio; _clienteNegocio = clienteNegocio; _remitoDetalleNegocio = remitoDetalleNegocio; _remitoNegocio = remitoNegocio; _venta = new Venta(); _id = id; _formMode = mode; InitializeComponent(); InicializarForm(mode); }
public FrmVentasReservadasListado(IClock clock, IFormFactory formFactory, IMessageBoxDisplayService messageBoxDisplayService, ILaPazUow uow, IVentaReservadaNegocio ventaReservadaNegocio, IFormRegistry formRegistry) { Uow = uow; SortColumn = "FechaAlta"; SortDirection = "DESC"; SortColumnMappings = new Dictionary<string, string>(); //SortColumnMappings["TipoDocumentoDi"] = "TiposDocumentosIdentidad.Abreviatura"; FormFactory = formFactory; Uow = uow; FormRegistry = formRegistry; _clock = clock; _messageBoxDisplayService = messageBoxDisplayService; _ventaReservadaNegocio = ventaReservadaNegocio; InitializeComponent(); InicializarPaginador(); //Fix para centrar columnas. this.GrillaFacturasReservadas.CellFormatting += this.Grilla_CellFormatting; MainGrid = GrillaFacturasReservadas; this.MainPager = FacturaPager; this.Spinner = ucProgressSpinner1; }
public FrmPrincipal(IFormFactory formFactory, IGestionAdministrativaUow uow, IClock clock, IFormRegistry formRegistry)//, IUowFactory uowFactory) { FormFactory = formFactory; _formRegistry = formRegistry; Uow = uow; _clock = clock; // UowFactory = uowFactory; InitializeComponent(); }
//, IUowFactory uowFactory) public FrmPrincipal(IFormFactory formFactory, IGestionAdministrativaUow uow, IClock clock, IFormRegistry formRegistry) { FormFactory = formFactory; _formRegistry = formRegistry; Uow = uow; _clock = clock; // UowFactory = uowFactory; InitializeComponent(); }
public void SetUp() { explicitChain = BehaviorChain.For <IntegratedSettingsEndpoint>(x => x.get_int()); defaultChain = BehaviorChain.For <IntegratedSettingsEndpoint>(x => x.get_string()); ajaxChain = BehaviorChain.For <IntegratedSettingsEndpoint>(x => x.get_ajax()); theSettings = new FormSettings();; theSettings.ForChainsMatching(new LambdaChainFilter(x => x.ResourceType() == typeof(int)), FormMode.None); theRegistry = theSettings.BuildRegistry(); }
public void SetUp() { explicitChain = BehaviorChain.For<IntegratedSettingsEndpoint>(x => x.get_int()); defaultChain = BehaviorChain.For<IntegratedSettingsEndpoint>(x => x.get_string()); ajaxChain = BehaviorChain.For<IntegratedSettingsEndpoint>(x => x.get_ajax()); theSettings = new FormSettings();; theSettings.ForChainsMatching(new LambdaChainFilter(x => x.ResourceType() == typeof(int)), FormMode.None); theRegistry = theSettings.BuildRegistry(); }
public FrmCrearSeniaSinMovimientos(IClock clock, IFormFactory formFactory, IMessageBoxDisplayService messageBoxDisplayService, ILaPazUow uow, IVentaNegocio ventaNegocio, IFormRegistry formRegistry, Guid id) { FormFactory = formFactory; Uow = uow; FormRegistry = formRegistry; _clock = clock; _messageBoxDisplayService = messageBoxDisplayService; _clienteId = id; _cliente = new Cliente(); _ventaNegocio = ventaNegocio; InitializeComponent(); this.Text = "Señas"; }
public FrmCrearSenasSinMovimientos(IClock clock, IFormFactory formFactory, IMessageBoxDisplayService messageBoxDisplayService, ILaPazUow uow, IVentaNegocio ventaNegocio, IFormRegistry formRegistry, Guid id) { FormFactory = formFactory; Uow = uow; FormRegistry = formRegistry; _clock = clock; _messageBoxDisplayService = messageBoxDisplayService; _clienteId = id; _cliente = new Cliente(); _ventaNegocio = ventaNegocio; InitializeComponent(); this.Text = "Señas"; }
public FrmPrincipal(IFormFactory formFactory, ILaPazUow uow, IFormRegistry formRegistry, ICajaNegocio cajaNegocio, IUowFactory uowFactory) { FormFactory = formFactory; Uow = uow; UowFactory = uowFactory; _formRegistry = formRegistry; _cajaNegocio = cajaNegocio; InitializeComponent(); HideCloseButtonInAccesosPage(); ActualizarEstadoCierreCaja(); ActualizarUsuarioActual(); ToggleHabilitarMenuItems(MainMenu.Items); }
public FrmAnulacionFactura(IClock clock, IFormFactory formFactory, IMessageBoxDisplayService messageBoxDisplayService, ILaPazUow uow, IFormRegistry formRegistry) { FormFactory = formFactory; Uow = uow; FormRegistry = formRegistry; _clock = clock; _messageBoxDisplayService = messageBoxDisplayService; InitializeComponent(); this.Text = "Anular"; this.GrillaLineasFactura.CellFormatting += this.Grilla_CellFormatting; this.GrillaLineasFactura.Columns["PrecioUnitario"].FormatString = "{0:N2}"; this.GrillaLineasFactura.Columns["Precio"].FormatString = "{0:N2}"; }
public FrmCrearPresupuesto(IClock clock, IFormFactory formFactory, IMessageBoxDisplayService messageBoxDisplayService, ILaPazUow uow, IClienteNegocio clienteNegocio, IFormRegistry formRegistry) { FormFactory = formFactory; Uow = uow; FormRegistry = formRegistry; _clock = clock; _messageBoxDisplayService = messageBoxDisplayService; _clienteNegocio = clienteNegocio; _presupuesto = new Presupuestos(); InitializeComponent(); this.Text = Resources.LabelPresupuesto; }
public FrmConsignacionCliente(IClock clock, IFormFactory formFactory, IMessageBoxDisplayService messageBoxDisplayService, ILaPazUow uow, IRemitosVentaNegocio consignacionNegocio, IClienteNegocio clienteNegocio, IFormRegistry formRegistry, Guid id, ActionFormMode mode) { FormFactory = formFactory; Uow = uow; FormRegistry = formRegistry; _clock = clock; _messageBoxDisplayService = messageBoxDisplayService; _consignacionNegocio = consignacionNegocio; _clienteNegocio = clienteNegocio; _consignacion = new RemitosVenta(); _id = id; _formMode = mode; InitializeComponent(); InicializarForm(mode); }
public FrmLoteFacturaListado(IClock clock, IFormFactory formFactory, IMessageBoxDisplayService messageBoxDisplayService, ILaPazUow uow, IFormRegistry formRegistry) { FormFactory = formFactory; Uow = uow; FormRegistry = formRegistry; _clock = clock; _messageBoxDisplayService = messageBoxDisplayService; InitializeComponent(); InicializarPaginador(); this.Text = "Lotes de Facturas"; //Fix para centrar columnas. this.GrillaLotes.CellFormatting += this.Grilla_CellFormatting; MainGrid = GrillaLotes; MainPager = ProveedoresPager; Spinner = ucProgressSpinner; }
public FrmCrearVenta(IClock clock, IFormFactory formFactory, IMessageBoxDisplayService messageBoxDisplayService, IVentaNegocio ventaNegocio, IClienteNegocio clienteNegocio, IFormRegistry formRegistry, DirectPrint directPrint, int id, ActionFormMode mode) { FormFactory = formFactory; FormRegistry = formRegistry; _clock = clock; _messageBoxDisplayService = messageBoxDisplayService; _ventaNegocio = ventaNegocio; _clienteNegocio = clienteNegocio; _directPrint = directPrint; _id = id; _formMode = mode; InitializeComponent(); InicializarForm(mode); }