Features of the Theory of Resonant Electron Scattering on Atoms