Exemplo n.º 1
0
        private void buttonVerECriarArrendamento_Click(object sender, EventArgs e)
        {
            FormArrendamentos FormArrendamentos = new FormArrendamentos(context, (CasaArrendavel)DataGridViewCasa.CurrentRow.DataBoundItem);

            FormArrendamentos.ShowDialog();
        }
Exemplo n.º 2
0
        private void listBoxListaArrendamentos_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            FormArrendamentos FormArrendamentos = new FormArrendamentos(context, (CasaArrendavel)listBoxListaArrendamentos.SelectedItem);

            FormArrendamentos.ShowDialog();
        }