private void button2_Click(object sender, EventArgs e) { Username = User.Text; Password = Variables.CalculateMD5(Pass.Text); this.Close(); }