コード例 #1
0
 private void btnRoles_Click(object sender, EventArgs e)
 {
     try
     {
         Cursor.Current = Cursors.WaitCursor;
         CargaDatosActuales();
         m_Opcion.AgregarRoles(m_Aplicacion);
         opcionesUIBindingSource.ResetBindings(false);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, Text, MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
     }
     finally
     {
         Cursor.Current = Cursors.Default;
     }
 }