2026-06-17 00:35:16 +02:00
|
|
|
namespace VoiceCat.App.Forms;
|
|
|
|
|
|
|
|
|
|
/// <summary>Small modal for "type a password right now" — used when a saved server's
|
2026-07-03 10:20:18 +01:00
|
|
|
/// password wasn't remembered, and for password-protected channel joins.</summary>
|
2026-06-17 00:35:16 +02:00
|
|
|
public partial class PasswordPromptDialog : Form
|
|
|
|
|
{
|
|
|
|
|
public string Password => txtPassword.Text;
|
|
|
|
|
|
|
|
|
|
public PasswordPromptDialog(string promptText)
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
lblPrompt.Text = promptText;
|
|
|
|
|
txtPassword.AccessibleName = "Password";
|
|
|
|
|
}
|
|
|
|
|
}
|