コード例 #1
0
 private void generatePasswordToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (var passwordGenerator = new PasswordGeneratorForm())
     {
         passwordGenerator.ShowDialog();
         richTextBox.SelectedText = passwordGenerator.Password;
     }
 }
コード例 #2
0
 public static void CreateForms()
 {
     PasswordGeneratorForm = new PasswordGeneratorForm();
     EncryptionForm        = new EncryptionForm();
     MainForm = new MainForm();
 }