예제 #1
0
        public NFeViewModel()
        {
            try
            {
                _configuracoes = new ConfiguracaoApp();
                ConfiguraNfe();

                ContentPresenterTabDados = new ContentPresenter();
                ListaNFe = new ObservableCollection <NfeCabecalhoDTO>();

                using (ServidorClient Servico = new ServidorClient())
                {
                    Empresa = Servico.SelectObjetoEmpresa("Id=1");
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }