Beispiel #1
0
        private string GetIdentityPassword()
        {
            using (var dialog = new PasswordPrompt())
            {
                if (dialog.ShowDialog() == DialogResult.OK)
                {
                    return(dialog.Password);
                }
            }

            return(null);
        }
        private string GetIdentityPassword()
        {
            using (var dialog = new PasswordPrompt())
            {
                if (dialog.ShowDialog() == DialogResult.OK)
                {
                    return dialog.Password;
                }
            }

            return null;
        }