// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System.Drawing;
using System.Runtime.InteropServices;

namespace System.Windows.Forms
{
    /// <summary>
    ///  Provides data for the Control.HelpRequest event.
    /// </summary>
    public class HelpEventArgs : EventArgs
    {
        /// <summary>
        ///  Initializes a new instance of the <see cref='HelpEventArgs'/> class.
        /// </summary>
        public HelpEventArgs(Point mousePos)
        {
            MousePos = mousePos;
        }

        /// <summary>
        ///  Gets the screen coordinates of the mouse pointer.
        /// </summary>
        public Point MousePos { get; }

        /// <summary>
        ///  Gets or sets a value indicating whether the Help event was handled.
        /// </summary>
        public bool Handled { get; set; }
    }
}
