Principles of Solid State Electron Optics