private void Alterar() { Cursor = Cursors.WaitCursor; frmVincularVeiculo frmUpdate = new frmVincularVeiculo(this, Enumeradores.TipoOperacao.Update, VeiculoVincBindingSource); frmUpdate.Show(); Cursor = Cursors.Default; }
private void dgdVeiculosVinc_DoubleClick(object sender, EventArgs e) { if (btnAlterar.Enabled) { Cursor = Cursors.WaitCursor; frmVincularVeiculo frmUpdate = new frmVincularVeiculo(this, Enumeradores.TipoOperacao.Update, VeiculoVincBindingSource); frmUpdate.Show(); Cursor = Cursors.Default; } }