26 references to Cancel
System.Windows.Forms (1)
System\Windows\Forms\SendKeys\SendKeys.cs (1)
39new("BREAK", Keys.Cancel),
System.Windows.Forms.Tests (24)
System\Windows\Forms\ButtonBaseTests.cs (23)
5483yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.Cancel), false, false }; 5528yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.Cancel), false }; 5574yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.Cancel), false, 0 }; 5632yield 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)] 5748yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.Cancel) }; 5797yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.Cancel), 0, expectedIsHandleCreated }; 5902yield 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)
1821yield return new object[] { new KeyEventArgs(Keys.Cancel) };
System.Windows.Forms.TestUtilities (1)
CommonTestHelperEx.cs (1)
125new(Keys.Cancel)