public FrmDetalleEliminarVendedores(IAlejandriaUow uow, IVendedoresNegocio vendedorNegocio, IMessageBoxDisplayService messageBoxDisplayService, int id, ActionFormMode mode, IFormFactory formFactory) { FormFactory = formFactory; Uow = uow; _messageBoxDisplayService = messageBoxDisplayService; _vendedorId = id; _vendedorNegocio = vendedorNegocio; InitializeComponent(); InicializarForm(mode); }
public FrmVendedoresListado(IFormFactory formFactory, IAlejandriaUow uow, IVendedoresNegocio vendedorNegocio) { FormFactory = formFactory; Uow = uow; SortColumn = "Nombre"; SortDirection = "ASC"; SortColumnMappings = new Dictionary<string, string>(); SortColumnMappings["TipoDocumentoDi"] = "TiposDocumentosIdentidad.Abreviatura"; _vendedorNegocio = vendedorNegocio; InitializeComponent(); InicializarPaginador(); //Fix para centrar columnas. this.dgvClientes.CellFormatting += this.Grilla_CellFormatting; this.MainGrid = dgvClientes; // this.MainPager = ClientesPager; this.Spinner = ucProgressSpinner1; }