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)
5485yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.Cancel), false, false }; 5530yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.Cancel), false }; 5576yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.Cancel), false, 0 }; 5634yield 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)] 5750yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.Cancel) }; 5799yield return new object[] { flatStyle, enabled, new KeyEventArgs(Keys.Cancel), 0, expectedIsHandleCreated }; 5904yield 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)
1823yield return new object[] { new KeyEventArgs(Keys.Cancel) };
System.Windows.Forms.TestUtilities (1)
CommonTestHelperEx.cs (1)
125new(Keys.Cancel)