3 overrides of ProcessKeyPreview
System.Windows.Forms (3)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
21995protected override bool ProcessKeyPreview(ref Message m)
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1513protected override bool ProcessKeyPreview(ref Message m)
System\Windows\Forms\Form.cs (1)
4853protected override bool ProcessKeyPreview(ref Message m)
11 references to ProcessKeyPreview
System.Windows.Forms (11)
System\Windows\Forms\Control.cs (6)
9781/// control has a parent; if so, it calls the parent's <see cref="ProcessKeyPreview(ref Message)"/> method. If the 9782/// parent's <see cref="ProcessKeyPreview(ref Message)"/> method does not process the message then the 9789(_parent is not null && _parent.ProcessKeyPreview(ref m)) || ProcessKeyEventArgs(ref m); 9801/// <see cref="ProcessKeyPreview(ref Message)"/> method simply sends the character to the parent's 9802/// <see cref="ProcessKeyPreview(ref Message)"/> method, or returns <see langword="false"/> if the control has no 9806protected virtual bool ProcessKeyPreview(ref Message m) => _parent?.ProcessKeyPreview(ref m) ?? false;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (3)
22001return base.ProcessKeyPreview(ref m); 22047return base.ProcessKeyPreview(ref m); 22070return base.ProcessKeyPreview(ref m);
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1520return base.ProcessKeyPreview(ref m);
System\Windows\Forms\Form.cs (1)
4860return base.ProcessKeyPreview(ref m);