57 lines
2.1 KiB
C#
57 lines
2.1 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Provides data for a cancelable event.</summary>
|
|
// Token: 0x020000F3 RID: 243
|
|
[Token(Token = "0x20000F3")]
|
|
public class CancelEventArgs : EventArgs
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.CancelEventArgs" /> class with the <see cref="P:System.ComponentModel.CancelEventArgs.Cancel" /> property set to <see langword="false" />.</summary>
|
|
// Token: 0x060005F2 RID: 1522 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60005F2")]
|
|
[Address(RVA = "0x495C80", Offset = "0x494A80", VA = "0x180495C80")]
|
|
public CancelEventArgs()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.CancelEventArgs" /> class with the <see cref="P:System.ComponentModel.CancelEventArgs.Cancel" /> property set to the given value.</summary>
|
|
/// <param name="cancel">
|
|
/// <see langword="true" /> to cancel the event; otherwise, <see langword="false" />.</param>
|
|
// Token: 0x060005F3 RID: 1523 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60005F3")]
|
|
[Address(RVA = "0x495CE0", Offset = "0x494AE0", VA = "0x180495CE0")]
|
|
public CancelEventArgs(bool cancel)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets or sets a value indicating whether the event should be canceled.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the event should be canceled; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x170000FE RID: 254
|
|
// (get) Token: 0x060005F4 RID: 1524 RVA: 0x000045F0 File Offset: 0x000027F0
|
|
// (set) Token: 0x060005F5 RID: 1525 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x170000FE")]
|
|
public bool Cancel
|
|
{
|
|
[Token(Token = "0x60005F4")]
|
|
[Address(RVA = "0x42D5E0", Offset = "0x42C3E0", VA = "0x18042D5E0")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
[Token(Token = "0x60005F5")]
|
|
[Address(RVA = "0x495D50", Offset = "0x494B50", VA = "0x180495D50")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400046F RID: 1135
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400046F")]
|
|
private bool cancel;
|
|
}
|
|
}
|