private void button1_Click(object sender, EventArgs e) { string newPassword = textBox1.Text; PasswordConfirmation pc = new PasswordConfirmation(users, login, newPassword); pc.Show(); textBox1.Clear(); }
void ShowPasswordConfForm(string login, string password) { PasswordConfirmation pc = new PasswordConfirmation(users, login, password); pc.Show(); }