AdamsLair.WinForms.PropertyEditing.Templates.NumericEditorTemplate.OnKeyPress(System.Windows.Forms.KeyPressEventArgs)

Here are the examples of the csharp api class AdamsLair.WinForms.PropertyEditing.Templates.NumericEditorTemplate.OnKeyPress(System.Windows.Forms.KeyPressEventArgs) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

3 Examples 7

1. Example

Project: winforms
Source File: NumericPropertyEditor.cs
protected internal override void OnKeyPress(KeyPressEventArgs e)
		{
			base.OnKeyPress(e);
			this.numEditor.OnKeyPress(e);
		}

2. Example

Project: duality
Source File: ImagePreviewPropertyEditor.cs
protected override void OnKeyPress(KeyPressEventArgs e)
		{
			base.OnKeyPress(e);
			this.subImageSelector.OnKeyPress(e);
		}

3. Example

Project: duality
Source File: VectorPropertyEditor.cs
protected override void OnKeyPress(KeyPressEventArgs e)
		{
			base.OnKeyPress(e);
			if (this.focusEditor != -1)
				this.editor[this.focusEditor].OnKeyPress(e);
			else
			{
				for (int i = 0; i < this.editor.Length; i++)
				{
					this.editor[i].OnKeyPress(e);
					if (e.Handled)
					{
						this.SetFocusEditorIndex(i, false);
						break;
					}
				}
			}
		}