ookii-dialogs / ookii-dialogs-wpf

Awesome dialogs for Windows Desktop applications built with Microsoft .NET (WPF)
BSD 3-Clause "New" or "Revised" License
1.14k stars 85 forks source link

Suggestion: Use CredentialDialog without username? #89

Open shannonfonseka opened 2 years ago

shannonfonseka commented 2 years ago

Hello, I have one suggestion, is there a way to use the CredentialDialog without the username field? The program I'm making would be a zip file accessing program, and to open protected zip files, the user would require to enter the password for the zip file. I know, I can create a separate window and use it, but I would prefer using the CredentialDialog because it looks cool (I'm sure using CredentialDialog would mislead people because the "Windows Security" shows up on the title, in Windows 11. And it doesn't change when I add the dialog.WindowTitle = "Credential dialog sample", this works for Windows 10).

For example like this, but without asking for the Windows PIN or password:

image

And also will it be possible to put a button below the password field saying "I forgot my password" or anything, just like in the picture? The language I'll be working on will be VB. This is an amazing project by the way. Thanks.