Skip to content

File CancelEventArgs.cs

File List > LemonUI > LemonUI > CancelEventArgs.cs

Go to the documentation of this file


// Taken from the .NET Runtime Repository
// https://github.com/dotnet/runtime
// Copyright (c) .NET Foundation and Contributors
// Under the MIT License

#if FIVEM || RAGEMP
using System;

namespace LemonUI // Previously System.ComponentModel
{
    public class CancelEventArgs : EventArgs
    {
        #region Properties

        public bool Cancel { get; set; }

        #endregion

        #region Constructors

        public CancelEventArgs()
        {
        }
        public CancelEventArgs(bool cancel) => Cancel = cancel;

        #endregion
    }
}
#endif