Пример #1
0
        public Pesquisa(Arquivo dados)
        {
            InitializeComponent();

            _registros604 = (ArquivoCELNRA604)dados;

            //_Lista = Lista;

            txbValor.Focus();
        }
        public EditarArquivoCELNRA604(ArquivoCELNRA604 arquivo)
        {
            InitializeComponent();

            _arquivo = arquivo;

            txb_DataMovimento.Text    = _arquivo.DATA_MOVIMENTO;
            txb_IndicadorRemessa.Text = _arquivo.INDICADOR_REMESSA;
            txb_NomeArquivo.Text      = _arquivo.NOME_ARQUIVO;
            txb_VersaoArquivo.Text    = _arquivo.VERSAO_ARQUIVO;

            btn_RemoverCheque.IsEnabled   = false;
            btn_RemoverLote.IsEnabled     = false;
            btn_EditarDadosLote.IsEnabled = false;
            btn_EditarCheque.IsEnabled    = false;

            PreencheListaLotes();
        }
Пример #3
0
        public Extraindo(Arquivo dados)
        {
            InitializeComponent();

            _tipoArquivo = dados.TIPO_ARQUIVO;

            switch (_tipoArquivo)
            {
            case 1:
                _arquivoCELNRA604 = (ArquivoCELNRA604)dados;
                break;

            case 4:
                _arquivoDAD604 = (ArquivoDAD604)dados;
                break;
            }


            ckbImagens.IsChecked = true;

            OnTerminou += Extraindo_OnTerminou;
        }