The board of county commissioners, may, by resolutions, as herein provided, prescribe such reasonable regulations, not contrary to law, as it deems desirable or necessary to regulate and control nonconforming uses and occupancies.
N.D.C.C. § 11-33-14