A written agreement solely among persons who are then shareholders or subscribers for shares to be issued, relating to the voting of their shares, is valid and specifically enforceable by and against the parties to the agreement. The agreement may override the provisions of section 10-19.1-76.2 regarding proxies and is not subject to the provisions of section 10-19.1-73.2 regarding voting trusts.
N.D.C.C. § 10-19.1-82