void SetGame(Win32Form form, GameInfo info) { if (current != null) { if (info != current.info) { current.Deactivate(); } else { return; } } if (info == null) { current = null; } else { current = new GameImmersifier(form, info); current.Activate(); } }