Exemplo n.º 1
0
        private void popupWindowShowActionActPrecs_Execute(object sender, PopupWindowShowActionExecuteEventArgs e)
        {
            ProductoFiltroPrecio dlgFil      = e.PopupWindowViewCurrentObject as ProductoFiltroPrecio;
            IObjectSpace         objectSpace = Application.CreateObjectSpace();

            if (dlgFil != null)
            {
                if (dlgFil.InputFile != null)
                {
                    Negocio.ActualizaPreciosFile(dlgFil, objectSpace);
                }
                else
                {
                    Negocio.ActualizaPrecios(dlgFil, objectSpace);
                }
            }
        }