26 references to Cancel
System.Windows.Forms (1)
System\Windows\Forms\SendKeys\SendKeys.cs (1)
39
new("BREAK", Keys.
Cancel
),
System.Windows.Forms.Tests (24)
System\Windows\Forms\ButtonBaseTests.cs (23)
5485
yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.
Cancel
), false, false };
5530
yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.
Cancel
), false };
5576
yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.
Cancel
), false, 0 };
5634
yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.
Cancel
), false };
5688
[InlineData(FlatStyle.Flat, Keys.
Cancel
, 0)]
5691
[InlineData(FlatStyle.Popup, Keys.
Cancel
, 0)]
5694
[InlineData(FlatStyle.Standard, Keys.
Cancel
, 0)]
5697
[InlineData(FlatStyle.System, Keys.
Cancel
, 0)]
5712
[InlineData(FlatStyle.Flat, Keys.
Cancel
, 0)]
5715
[InlineData(FlatStyle.Popup, Keys.
Cancel
, 0)]
5718
[InlineData(FlatStyle.Standard, Keys.
Cancel
, 0)]
5721
[InlineData(FlatStyle.System, Keys.
Cancel
, 0)]
5750
yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.
Cancel
) };
5799
yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.
Cancel
), 0, expectedIsHandleCreated };
5904
yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.
Cancel
), 0, expectedCallCount };
5967
[InlineData(FlatStyle.Flat, Keys.
Cancel
, 0)]
5970
[InlineData(FlatStyle.Popup, Keys.
Cancel
, 0)]
5973
[InlineData(FlatStyle.Standard, Keys.
Cancel
, 0)]
5976
[InlineData(FlatStyle.System, Keys.
Cancel
, 0)]
5991
[InlineData(FlatStyle.Flat, Keys.
Cancel
, 0)]
5994
[InlineData(FlatStyle.Popup, Keys.
Cancel
, 0)]
5997
[InlineData(FlatStyle.Standard, Keys.
Cancel
, 0)]
6000
[InlineData(FlatStyle.System, Keys.
Cancel
, 0)]
System\Windows\Forms\SplitterTests.cs (1)
1823
yield return new object[] { new KeyEventArgs(Keys.
Cancel
) };
System.Windows.Forms.TestUtilities (1)
CommonTestHelperEx.cs (1)
125
new(Keys.
Cancel
)