public Rules(WebUserControl control) { WebControl = control; WebControl.ControlLoaded += _webControl_Loaded; _contentView = new ContentView(WebControl, new NativeWebView.HTML.CSS.CSSDocument(CSS)); //_webControl_Loaded (this, EventArgs.Empty); }
public Rules() { WebControl = new WebUserControl(); WebControl.ControlLoaded += _webControl_Loaded; _contentView = new ContentView(WebControl, new NativeWebView.HTML.CSS.CSSDocument(CSS)); }