Пример #1
0
        private void dataGridSelosReservados_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            List <Selos> selos = selosReservados.Where(p => p.idReferencia == ((Selos)dataGridSelosReservados.SelectedItem).idReferencia).OrderBy(p => p.Numero).ToList();

            switch (_tipoAto)
            {
            case "ESCRITURA":
                var digitarEscritura = new IniciarPrimeiraDigitacaoEscritura(selos, _usuario, _principal);
                this.Close();
                digitarEscritura.Owner = _principal;
                digitarEscritura.ShowDialog();
                break;

            case "PROCURAÇÃO":
                var digitarProcuracao = new IniciarPrimeiraDigitacaoProcuracao(selos, _usuario, _principal);
                this.Close();
                digitarProcuracao.Owner = _principal;
                digitarProcuracao.ShowDialog();
                break;

            case "TESTAMENTO":
                Selos selo = (Selos)dataGridSelosReservados.SelectedItem;
                var   digitarTestamento = new DigitarTestamento(selo, _usuario, _principal);
                this.Close();
                digitarTestamento.Owner = _principal;
                digitarTestamento.ShowDialog();
                break;
            }
        }
Пример #2
0
 public ConsultaNomesExistentes(List <Pessoas> pessoas, DigitarTestamento digitarTestamento)
 {
     _pessoas           = pessoas;
     _digitarTestamento = digitarTestamento;
     formEntrada        = "testamento";
     InitializeComponent();
 }
Пример #3
0
 public AlterarItemCustasEscritura(DigitarTestamento testamento)
 {
     _testamento    = testamento;
     tipoConstrutor = "te";
     InitializeComponent();
 }
Пример #4
0
 public AdicionarItensCustas(DigitarTestamento testamento)
 {
     _testamento = testamento;
     construtor  = "testamento";
     InitializeComponent();
 }
Пример #5
0
 public AguardeSalvandoTestamento(DigitarTestamento digitarTestamento)
 {
     _testamento        = digitarTestamento._testamento;
     _digitarTestamento = digitarTestamento;
     InitializeComponent();
 }