internal void FrontendHandler_ShowLowRAMMessage()
        {
            if (!this.ParentWindow?.IsLoaded.GetValueOrDefault())
            {
                return;
            }
            CustomMessageWindow cmw = new CustomMessageWindow();

            cmw.TitleTextBlock.Text = LocaleStrings.GetLocalizedString("STRING_PERF_WARNING", "");
            cmw.AddWarning(LocaleStrings.GetLocalizedString("STRING_LOW_AVAILABLE_RAM_TITLE", ""), "message_error");
            cmw.BodyTextBlock.Text = LocaleStrings.GetLocalizedString("STRING_LOW_AVAILABLE_RAM_TEXT1", "") + Environment.NewLine + LocaleStrings.GetLocalizedString("STRING_LOW_AVAILABLE_RAM_TEXT2", "");
            cmw.AddButton(ButtonColors.Red, LocaleStrings.GetLocalizedString("STRING_CONTINUE_ANYWAY", ""), (EventHandler)((o, args) => cmw.Close()), (string)null, false, (object)null, true);
            cmw.AddButton(ButtonColors.White, LocaleStrings.GetLocalizedString("STRING_CLOSE_BLUESTACKS", ""), (EventHandler)((o, args) => this.ParentWindow.Close()), (string)null, false, (object)null, true);
            this.ParentWindow.ShowDimOverlay((IDimOverlayControl)null);
            cmw.Owner = (Window)this.ParentWindow.mDimOverlay;
            cmw.ShowDialog();
            this.ParentWindow.HideDimOverlay();
        }