Exemple #1
0
 /// <summary>
 /// Selector for password length.
 /// </summary>
 /// <param name="sender">
 /// The sender.
 /// </param>
 /// <param name="e">
 /// The event.
 /// </param>
 private void TbCharsScroll(object sender, EventArgs e)
 {
     txtGenPass.Text = Pwgen.Generate(tbChars.Value);
     lblChars.Text   = tbChars.Value.ToString();
 }
Exemple #2
0
 public Genpass()
 {
     InitializeComponent();
     txtGenPass.Text = Pwgen.Generate(tbChars.Value);
     lblChars.Text   = tbChars.Value.ToString();
 }