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)
5483
yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.
Cancel
), false, false };
5528
yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.
Cancel
), false };
5574
yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.
Cancel
), false, 0 };
5632
yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.
Cancel
), false };
5686
[InlineData(FlatStyle.Flat, Keys.
Cancel
, 0)]
5689
[InlineData(FlatStyle.Popup, Keys.
Cancel
, 0)]
5692
[InlineData(FlatStyle.Standard, Keys.
Cancel
, 0)]
5695
[InlineData(FlatStyle.System, Keys.
Cancel
, 0)]
5710
[InlineData(FlatStyle.Flat, Keys.
Cancel
, 0)]
5713
[InlineData(FlatStyle.Popup, Keys.
Cancel
, 0)]
5716
[InlineData(FlatStyle.Standard, Keys.
Cancel
, 0)]
5719
[InlineData(FlatStyle.System, Keys.
Cancel
, 0)]
5748
yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.
Cancel
) };
5797
yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.
Cancel
), 0, expectedIsHandleCreated };
5902
yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.
Cancel
), 0, expectedCallCount };
5965
[InlineData(FlatStyle.Flat, Keys.
Cancel
, 0)]
5968
[InlineData(FlatStyle.Popup, Keys.
Cancel
, 0)]
5971
[InlineData(FlatStyle.Standard, Keys.
Cancel
, 0)]
5974
[InlineData(FlatStyle.System, Keys.
Cancel
, 0)]
5989
[InlineData(FlatStyle.Flat, Keys.
Cancel
, 0)]
5992
[InlineData(FlatStyle.Popup, Keys.
Cancel
, 0)]
5995
[InlineData(FlatStyle.Standard, Keys.
Cancel
, 0)]
5998
[InlineData(FlatStyle.System, Keys.
Cancel
, 0)]
System\Windows\Forms\SplitterTests.cs (1)
1821
yield return new object[] { new KeyEventArgs(Keys.
Cancel
) };
System.Windows.Forms.TestUtilities (1)
CommonTestHelperEx.cs (1)
125
new(Keys.
Cancel
)