A method of controlling corrosion on a surface in a water system comprising: providing a corrosion control composition or a use solution of the corrosion control composition into a water system to generate a treated water system or onto a metal surface of the water system, wherein the corrosion control composition comprises one or more multiple charged cationic compounds; wherein the multiple charged cationic compounds are derived from a polyamine through its reactions with an epoxide or an activated olefin and an epoxide, wherein the activated olefin has the following formula: X is NH or O; R 2 is H, CH 3, or an unsubstituted, linear or branched C 2 -C 10 alkyl, alkenyl, or alkynyl group; R 3 is absent or an unsubstituted, linear or branched C 1 -C 30 alkylene group; Y is -NR 4 R 5 R 6 (+); R 4, R 5, and R 6 are independently a C 1 -C 10 alkyl group; wherein the epoxide has the following formula: R 7 is H or alkyl; and R 8 is alkyl, or -(CH 2) k -O-alkyl, wherein k is an integer of 1-30; wherein the polyamine and activated olefin undergo aza Michael Addition reaction and the polyamine and epoxide undergo ring opening reaction; wherein the compound has 1, 2, 3, or more positive charges from the activated olefin and at least one nonionic group from the epoxide or has at least one nonionic group from the epoxide; and wherein the corrosion control composition reduces corrosion on the metal surface in the water system. providing a corrosion control composition or a use solution of the corrosion control composition into a water system to generate a treated water system or onto a metal surface of the water system, wherein the corrosion control composition comprises one or more multiple charged cationic compounds; wherein the multiple charged cationic compounds are derived from a polyamine through its reactions with an epoxide or an activated olefin and an epoxide, wherein the activated olefin has the following formula: X is NH or O; R 2 is H, CH 3, or an unsubstituted, linear or branched C 2 -C 10 alkyl, alkenyl, or alkynyl group; R 3 is absent or an unsubstituted, linear or branched C 1 -C 30 alkylene group; Y is -NR 4 R 5 R 6 (+); R 4, R 5, and R 6 are independently a C 1 -C 10 alkyl group; wherein the epoxide has the following formula: R 7 is H or alkyl; and R 8 is alkyl, or -(CH 2) k -O-alkyl, wherein k is an integer of 1-30; wherein the polyamine and activated olefin undergo aza Michael Addition reaction and the polyamine and epoxide undergo ring opening reaction; wherein the compound has 1, 2, 3, or more positive charges from the activated olefin and at least one nonionic group from the epoxide or has at least one nonionic group from the epoxide; and wherein the corrosion control composition reduces corrosion on the metal surface in the water system. X is NH or O; R 2 is H, CH 3, or an unsubstituted, linear or branched C 2 -C 10 alkyl, alkenyl, or alkynyl group; R 3 is absent or an unsubstituted, linear or branched C 1 -C 30 alkylene group; Y is -NR 4 R 5 R 6 (+); R 4, R 5, and R 6 are independently a C 1 -C 10 alkyl group; wherein the epoxide has the following formula: R 7 is H or alkyl; and R 8 is alkyl, or -(CH 2) k -O-alkyl, wherein k is an integer of 1-30; wherein the polyamine and activated olefin undergo aza Michael Addition reaction and the polyamine and epoxide undergo ring opening reaction; wherein the compound has 1, 2, 3, or more positive charges from the activated olefin and at least one nonionic group from the epoxide or has at least one nonionic group from the epoxide; and wherein the corrosion control composition reduces corrosion on the metal surface in the water system. R 7 is H or alkyl; and R 8 is alkyl, or -(CH 2) k -O-alkyl, wherein k is an integer of 1-30; wherein the polyamine and activated olefin undergo aza Michael Addition reaction and the polyamine and epoxide undergo ring opening reaction; wherein the compound has 1, 2, 3, or more positive charges from the activated olefin and at least one nonionic group from the epoxide or has at least one nonionic group from the epoxide; and wherein the corrosion control composition reduces corrosion on the metal surface in the water system.