Esempio n. 1
0
        public DesktopViewModel(Caliburn.Micro.IWindowManager windowManager)
        {
            this.windowManager = windowManager;

            itemsTransacciones.Add(new DesktopOptionItem()
            {
                Title = "Factura/Ticket", Color = "#CC60A917", Image = "appbar_add", ViewModelName = "GenerarFacturaViewModel"
            });
            itemsTransacciones.Add(new DesktopOptionItem()
            {
                Title = "N.Credito/Ticket", Color = "#CC60A917", Image = "appbar_add", ViewModelName = string.Empty
            });
            itemsTransacciones.Add(new DesktopOptionItem()
            {
                Title = "N.Debito/Ticket", Color = "#CC60A917", Image = "appbar_add", ViewModelName = string.Empty
            });

            itemsTransacciones.Add(new DesktopOptionItem()
            {
                Title = "Factura/Manual", Color = "#CC60A917", Image = "appbar_add", ViewModelName = "GenerarFacturaViewModel"
            });
            itemsTransacciones.Add(new DesktopOptionItem()
            {
                Title = "N.Credito/Manual", Color = "#CC60A917", Image = "appbar_add", ViewModelName = string.Empty
            });
            itemsTransacciones.Add(new DesktopOptionItem()
            {
                Title = "N.Debito/Manual", Color = "#CC60A917", Image = "appbar_add", ViewModelName = string.Empty
            });

            itemsTransacciones.Add(new DesktopOptionItem()
            {
                Title = "Cancelaciones", Color = "#CC60A917", Image = "appbar_add", ViewModelName = string.Empty
            });

            itemsInformes.Add(new DesktopOptionItem()
            {
                Title = "Consulta de Facturas/N.Credito", Color = "#CC60A917", Image = "appbar_add", ViewModelName = "GenerarFacturaViewModel"
            });
            itemsInformes.Add(new DesktopOptionItem()
            {
                Title = "Resumen Facturas/N.Credito", Color = "#CC60A917", Image = "appbar_add", ViewModelName = string.Empty
            });
            itemsInformes.Add(new DesktopOptionItem()
            {
                Title = "Estado de Cuenta de Clientes", Color = "#CC60A917", Image = "appbar_add", ViewModelName = string.Empty
            });
            itemsInformes.Add(new DesktopOptionItem()
            {
                Title = "Consulta de Articulos / Precio de Venta", Color = "#CC60A917", Image = "appbar_add", ViewModelName = string.Empty
            });

            itemsAdministracion.Add(new DesktopOptionItem()
            {
                Title = "Lista de Precio de Venta", Color = "#CC60A917", Image = "appbar_add", ViewModelName = string.Empty
            });
        }
        public DesktopViewModel(Caliburn.Micro.IWindowManager windowManager)
        {
            this.windowManager = windowManager;

            desktopOptionItems.Add(new DesktopOptionItem()
            {
                Title = "Nueva Factura", Color = "#CC60A917", Image = "appbar_add", ViewModelName = "Ventas.GenerarFacturaViewModel"
            });
            desktopOptionItems.Add(new DesktopOptionItem()
            {
                Title = "Nueva N.Credito", Color = "#CC60A917", Image = "appbar_add", ViewModelName = string.Empty
            });
            desktopOptionItems.Add(new DesktopOptionItem()
            {
                Title = "Cancelar Factura / N.Credito", Color = "#CC60A917", Image = "appbar_add", ViewModelName = string.Empty
            });
        }