Hi,
You can't hide the warning message - it's there to remind you that your application is setting a license string using a dev/test license. Once you have obtained a deployment license and are passing the deployment license string in the ArcGISRuntime.SetLicense method the message box will no longer be displayed.
Cheers
Mike