mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 19:54:53 +00:00
WinForms - Make ChromiumHostControlBase.FromBrowser public
- Can be used to get the ChromiumHostControlBase instances from the IBrowser instance
This commit is contained in:
@@ -188,7 +188,7 @@ namespace CefSharp.WinForms.Host
|
||||
/// </summary>
|
||||
/// <param name="browser">browser</param>
|
||||
/// <returns>returns the assocaited <see cref="ChromiumHostControl"/> or <see cref="ChromiumWebBrowser"/> or null if Disposed or no host found.</returns>
|
||||
internal static T FromBrowser<T>(IBrowser browser) where T : ChromiumHostControlBase
|
||||
public static T FromBrowser<T>(IBrowser browser) where T : ChromiumHostControlBase
|
||||
{
|
||||
if (browser.IsDisposed)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user