Closed MrJohnDev closed 1 year ago
Also put in RAGE Client
using System;
using System.Collections.Generic;
using System.Text;
namespace LemonUI // Previously System.ComponentModel
{
/// <summary>
/// Represents the method that will handle the event raised when canceling an event.
/// </summary>
public delegate void CancelEventHandler(object sender, CancelEventArgs e);
/// <summary>
/// EventArgs used to describe a cancel event.
/// </summary>
public class CancelEventArgs : EventArgs
{
/// <summary>
/// Gets or sets a value indicating whether we should cancel the operation or not
/// </summary>
public bool Cancel { get; set; }
/// <summary>
/// Default constructor
/// </summary>
public CancelEventArgs()
{
}
/// <summary>
/// Helper constructor
/// </summary>
/// <param name="cancel"></param>
public CancelEventArgs(bool cancel) => Cancel = cancel;
}
}
Hey! I don't know if you noticed, but your code doesn't compiles, hence why it hasn't been merged.
@MrJohnDev
using System.Collections.Concurrent;
needs moving into SHVDN3/RPH/FiveM as the following is never included
#else
using System.Collections.Concurrent;
#endif
Closing this stale PR as no merge conflicts have been fixed.
define fix
Concurrent downgrade
BUG: No showing text
My test Code: