Control of Electron Scattering and Quantum Transition via Wave-Function Engineering in Nanostructures