Exemple #1
0
        private void buttonInsertTenant_Click(object sender, EventArgs e)
        {
            Form form = new TenantProperties();

            form.ShowDialog();
            buttonSearch_Click(sender, e);
        }
Exemple #2
0
        private void dataGridViewTenants_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            Form form = new TenantProperties(Convert.ToInt32(dataGridViewTenants.SelectedRows[0].Cells[0].Value));

            form.ShowDialog();
            buttonSearch_Click(sender, e);
        }