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; } }
public ConsultaNomesExistentes(List <Pessoas> pessoas, DigitarTestamento digitarTestamento) { _pessoas = pessoas; _digitarTestamento = digitarTestamento; formEntrada = "testamento"; InitializeComponent(); }
public AlterarItemCustasEscritura(DigitarTestamento testamento) { _testamento = testamento; tipoConstrutor = "te"; InitializeComponent(); }
public AdicionarItensCustas(DigitarTestamento testamento) { _testamento = testamento; construtor = "testamento"; InitializeComponent(); }
public AguardeSalvandoTestamento(DigitarTestamento digitarTestamento) { _testamento = digitarTestamento._testamento; _digitarTestamento = digitarTestamento; InitializeComponent(); }