private void pictureBox3_Click(object sender, EventArgs e) { method method1 = new method(this.textBox1.Text, int.Parse(this.textBox2.Text), this.textBox2.PasswordChar); char PasswordChar = method1.showPassword(); this.textBox2.PasswordChar = PasswordChar; }
private void button1_Click(object sender, EventArgs e) { method method1 = new method(this.textBox1.Text, int.Parse(this.textBox2.Text), this.textBox2.PasswordChar); method1.login(); }