No person who has been appointed to any county or regional board or commission over which the board of commissioners has jurisdiction and appointive authority shall qualify for or hold public office in any elected county post. Any person who is a member of any board or commission appointed by the board of commissioners and over which the board of commissioners has jurisdiction, shall, upon qualifying for any public office for any elected county post, immediately resign. Upon the failure of any person who is a member of any such board or commission who has qualified for elective public office for any county post to resign, this shall result in removal of that person from their position on the board or commission by operation of law.