private void menuItemChangeAuthKey_Click(object sender, EventArgs e) { authKeyForm = new PubnubChangeAuthKey(); authKeyForm.OldAuthKey = pubnub.AuthenticationKey; authKeyForm.ChangeAuthKeySubmitted += new EventHandler(authKeyForm_ChangeAuthKeySubmitted); authKeyForm.Show(); }