Ejemplo n.º 1
0
        protected void LoginDialog_FormClosing(object sender, FormClosingEventArgs e)
        {
            if (cboEnvironment.EditValue != null)
                Session.LastEnvironmentName = cboEnvironment.Text;

            if (System.Diagnostics.Debugger.IsAttached)
            {
                var encryption = new EncryptData();
                RegUtils.SetCustomSetting("DevPwd", encryption.EncryptString(txtPassword.EditValue.ToString()));
            }
        }