Example #1
0
        private void PasswordGeneration_FormClosing(object sender, FormClosingEventArgs e)
        {
            TrimGeneratedBytes();

            pwdForm  = null;
            e.Cancel = false;
        }
Example #2
0
        public static PasswordGeneration newPasswordGeneration()
        {
            if (pwdForm != null)
            {
                return(pwdForm);
            }

            pwdForm = new PasswordGeneration();
            return(pwdForm);
        }