3 overrides of ProcessKeyPreview
System.Windows.Forms (3)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
21930
protected override bool
ProcessKeyPreview
(ref Message m)
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1513
protected override bool
ProcessKeyPreview
(ref Message m)
System\Windows\Forms\Form.cs (1)
4806
protected override bool
ProcessKeyPreview
(ref Message m)
10 references to ProcessKeyPreview
System.Windows.Forms (10)
System\Windows\Forms\Control.cs (6)
8994
/// control has a parent; if so, it calls the parent's <see cref="
ProcessKeyPreview
(ref Message)"/> method. If the
8995
/// parent's <see cref="
ProcessKeyPreview
(ref Message)"/> method does not process the message then the
9002
(_parent is not null && _parent.
ProcessKeyPreview
(ref m)) || ProcessKeyEventArgs(ref m);
9014
/// <see cref="
ProcessKeyPreview
(ref Message)"/> method simply sends the character to the parent's
9015
/// <see cref="
ProcessKeyPreview
(ref Message)"/> method, or returns <see langword="false"/> if the control has no
9019
protected virtual bool ProcessKeyPreview(ref Message m) => _parent?.
ProcessKeyPreview
(ref m) ?? false;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
21974
return base.
ProcessKeyPreview
(ref m);
21997
return base.
ProcessKeyPreview
(ref m);
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1520
return base.
ProcessKeyPreview
(ref m);
System\Windows\Forms\Form.cs (1)
4813
return base.
ProcessKeyPreview
(ref m);