  It is shown that change in transverse momentum of a relativistic particle,
crossing an accelerating cavity parallel to its axis, may be presented as an
integral over trajectory, the integrand of which is proportional to the
component of magnetic field parallel to this axis. The changes in two
transversal components of momentum are equal in value but opposite in sign. The
obtained result is compared with Panofsky-Wenzel theorem
