private void CreateSideHtmlBrowserControl() { this.SideHtmlBrowserInited = true; this.Dispatcher.Invoke((Delegate)(() => { BrowserControl browserControl = new BrowserControl(BlueStacksUIUtils.GetHtmlSidePanelUrl()) { Visibility = Visibility.Visible }; CustomPictureBox customPictureBox = new CustomPictureBox() { HorizontalAlignment = HorizontalAlignment.Center, VerticalAlignment = VerticalAlignment.Center, Height = 30.0, Width = 30.0, ImageName = "loader", IsImageToBeRotated = true }; this.mAppRecommendationsGrid.Children.Add((UIElement)browserControl); this.mAppRecommendationsGrid.Children.Add((UIElement)customPictureBox); browserControl.CreateNewBrowser(); this.SideHtmlBrowser = browserControl; })); }