When I have CW3 open and the resolution on my laptop changes from closing the lid, connecting or disconnecting from a docking station, etc. the game crashes.
CW3 Crash.png
I suggest you save the current map and close the game before you do any of those actions. There isn't much chance of a fix, the version of Unity that the game was written in back in 2012 is no longer supported and it is highly unlikely that the developer will undertake the effort to upgrade the project to a new version of Unity.