private void btnModifyActivity_Click(object sender, EventArgs e) { this.Dispose(); clubActivityMaintenance ca = new clubActivityMaintenance(this.clubID); ca.Show(); }
private void pbxActivity_Click(object sender, EventArgs e) { if (clubMembership.validateJoined(this.usrid)) { clubActivityMaintenance cam = new clubActivityMaintenance(clubMembership.getClubID(this.usrid), this.usrid, "student"); cam.Show(); this.Dispose(); } else { MessageBox.Show("Please join a club first!"); } }