Me and a friend had the idea of creating an All-in-one pc and screen computer inside the casing of an old CRT monitor.
We have all of the parts, and they all fit fine, but we were wondering if it was possible to use one power button (the one built into the crt casing) to turn on and off both the monitor and the PC so that we don't have to drill a hole and add another button for the PC.

In short, can one button be used to turn on a computer and monitor at the same time. If so, how?