예제 #1
0
        private void buttonVerECriarArrendamento_Click(object sender, EventArgs e)
        {
            FormArrendamentos FormArrendamentos = new FormArrendamentos(context, (CasaArrendavel)DataGridViewCasa.CurrentRow.DataBoundItem);

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

            FormArrendamentos.ShowDialog();
        }