static void Main(string[] args) { var printerManager = new PrinterManager(new Logger()); PrinterManager.OnPrinted += PrinterManager_OnPrinted; while (true) { printerManager.Show(); Process(printerManager); } }