private void pictureBox2_Click(object sender, EventArgs e) { this.Hide(); ProfilesHandling f = new ProfilesHandling(currentAccount); f.Show(); }
// ? A Function That Acts As A Gate Keeper To Proceed Towards The Next Function private void login() { string ID = userIDBox.Text; string pass = passwordBox.Text; if (checkIDAndPassword(ID, pass)) { this.Hide(); ProfilesHandling f = new ProfilesHandling(ID); f.Show(); } }