Beispiel #1
0
        private void Alterar()
        {
            Cursor = Cursors.WaitCursor;
            frmVincularVeiculo frmUpdate = new frmVincularVeiculo(this, Enumeradores.TipoOperacao.Update, VeiculoVincBindingSource);

            frmUpdate.Show();
            Cursor = Cursors.Default;
        }
Beispiel #2
0
 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;
     }
 }