コード例 #1
0
        private void btnModifyActivity_Click(object sender, EventArgs e)
        {
            this.Dispose();
            clubActivityMaintenance ca = new clubActivityMaintenance(this.clubID);

            ca.Show();
        }
コード例 #2
0
 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!");
     }
 }