Fhernd

DialogoRegistroNota.cs

Aug 11th, 2014
2,212
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 2.52 KB | None | 0 0
  1. // ===++===
  2. //
  3. //  OrtizOL
  4. //
  5. // ===--===
  6. /*============================================================
  7. //
  8. // Clase: DialogoRegistroNota.cs
  9. //
  10. // Original en: http://goo.gl/EP8NIf
  11. //
  12. // Propósito: Crear diálogo de visualización de registor de
  13. // notas.
  14. //
  15. ============================================================*/
  16.  
  17. using System;
  18. using System.ComponentModel;
  19. using System.Threading.Tasks;
  20. using System.Windows.Forms;
  21.  
  22. namespace ElEstudiante.GUI
  23. {
  24.     /// <summary>
  25.     /// Diálogo para el registro de notas.
  26.     /// </summary>
  27.     public partial class DialogoRegistroNota : Form
  28.     {
  29.         #region Componentes
  30.         /// <summary>
  31.         /// Componente padre de la interfaz de usuario.
  32.         /// </summary>
  33.         private Principal ventanaPrincipal;
  34.         #endregion
  35.  
  36.         #region Constructores
  37.         /// <summary>
  38.         /// Crea un diálogo para el registro de notas.
  39.         /// </summary>
  40.         /// <param name="principal">Componente padre de este diálogo.</param>
  41.         public DialogoRegistroNota(Principal principal)
  42.         {
  43.             InitializeComponent();
  44.  
  45.             ventanaPrincipal = principal;
  46.         }
  47.         #endregion
  48.  
  49.         #region Eventos
  50.         /// <summary>
  51.         /// Cancela la operación de registro de notas.
  52.         /// </summary>
  53.         /// <param name="sender">Objeto generador del evento.</param>
  54.         /// <param name="e">Datos del evento.</param>
  55.         private void btnCancelar_Click(object sender, EventArgs e)
  56.         {
  57.             DialogResult = System.Windows.Forms.DialogResult.Cancel;
  58.             this.Close();
  59.         }
  60.         /// <summary>
  61.         /// Registro de una nota.
  62.         /// </summary>
  63.         /// <param name="sender">Objeto generador del evento.</param>
  64.         /// <param name="e">Datos del evento.</param>
  65.         private void btnRegistrarNota_Click(object sender, EventArgs e)
  66.         {
  67.             double resultado;
  68.             if (!txtCodigoCurso.Text.Equals("") && Double.TryParse(txtNota.Text, out resultado))
  69.             {
  70.                 ventanaPrincipal.codigoCurso = txtCodigoCurso.Text;
  71.                 ventanaPrincipal.nota = resultado;
  72.  
  73.                 this.DialogResult = System.Windows.Forms.DialogResult.OK;
  74.                 this.Close();
  75.             }
  76.             else
  77.             {
  78.                 MessageBox.Show(this, "Asegúrese de ingresar datos válidos.", "Registro Notas", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
  79.             }
  80.         }
  81.         #endregion
  82.     }
  83. }
Advertisement
Comments
  • vidgusting
    98 days
    # CSS 0.85 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 38% — they will simply correct the exchange rate.
    8. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    9.  
    10. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without any verification from Swapzone — instant swap).
Add Comment
Please, Sign In to add comment