(1) webView2.EnsureCoreWebView2Async();
does not return anything and CoreWebView2 is already null.
(3) webView21.CoreWebView2InitializationCompleted() event
the control's Microsoft.Web.WebView2.WinForms.WebView2.CoreWebView2 InitializationCompletedevent will be invoked before the task completes or on exceptions.
await, WebView2 should return something.
(1) webView2.EnsureCoreWebView2Async();
does not return anything and CoreWebView2 is already null.
(3) webView21.CoreWebView2InitializationCompleted() event
the control's Microsoft.Web.WebView2.WinForms.WebView2.CoreWebView2 InitializationCompletedevent will be invoked before the task completes or on exceptions.
await, WebView2 should return something.