Ejemplo n.º 1
0
        /// <summary>
        /// Handles the take pin button click.
        /// </summary>
        /// <param name="sender">The sender of the event.</param>
        /// <param name="e">An EventArgs object that contains the
        /// event data.</param>
        private void takePINImageButton_Click(object sender, EventArgs e)
        {
            TakePIN pinform = new TakePIN();

            Application.DoEvents();
            pinform.ShowDialog();
            Application.DoEvents();
            m_pinNumber = SecurityHelper.HashPassword(pinform.PIN.ToString()); // Rally TA1583, RALLY US1955
        }
Ejemplo n.º 2
0
        private void takePINImageButton_Click(object sender, EventArgs e)
        {
            TakePIN pinform = new TakePIN(m_parent.Settings.DisplayMode);

            pinform.ShowDialog();
            if (!string.IsNullOrEmpty(pinform.PIN) && pinform.DialogResult == DialogResult.OK) //DE12758
            {
                m_pinNumber = SecurityHelper.HashPassword(pinform.PIN.ToString());             // Rally TA1583
            }
        }