AGS.Editor.Components.HelpCommandsComponent.GetHelpParentWindow C# (CSharp) Method

GetHelpParentWindow() private method

Hack to get around the fact that Help.ShowHelp can make the help window modal over the application window
private GetHelpParentWindow ( ) : Form
return System.Windows.Forms.Form
        private Form GetHelpParentWindow()
        {
            if (_agsEditor.Preferences.KeepHelpOnTop)
            {
                return Form.ActiveForm;
            }
            if (_dummyHelpForm == null)
            {
                _dummyHelpForm = new Form();
                _dummyHelpForm.CreateControl();
            }
            return _dummyHelpForm;
        }