Open
Description
I found that when adding the proposed event handler, I get a warning:
Warning C4100 'e': unreferenced formal parameter BlankApp1 c:\Users\han\source\repos\BlankApp1\BlankApp1\MainPage.cpp 27
Warning C4100 'sender': unreferenced formal parameter BlankApp1 C:\Users\han\source\repos\BlankApp1\BlankApp1\MainPage.cpp 26
I'd not expect warnings in a demo program.
Is there any way to circumvent these warnings?
-- Han
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 3ed62e90-9a85-e295-69ac-7af08123e024
- Version Independent ID: b740841d-6530-d774-0f68-dcd356f9adb5
- Content: Create a 'Hello, World!' app using C++/WinRT - UWP applications
- Content Source: windows-apps-src/get-started/create-a-basic-windows-10-app-in-cppwinrt.md
- Product: uwp
- Technology: get-started
- GitHub Login: @QuinnRadich
- Microsoft Alias: quradic