private void button6_Click(object sender, EventArgs e) { _pwdForm a = new _pwdForm(); a.ShowDialog(); getEvent(); }
private void button1_Click(object sender, EventArgs e) { _auth b = new _auth(); b.ShowDialog(); if (b.upflag == "1") { _pwdForm a = new _pwdForm(); a.label2.Text = this.label9.Text; a.ShowDialog(); getEvent(); label9.Text = "~code~"; } else { MessageBox.Show(this, "Oops, Wrong Password :P", "Peter Says", MessageBoxButtons.OK, MessageBoxIcon.Information); } }