#develop (short for SharpDevelop) is a free IDE for .NET programming languages.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
794 B

// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Windows.Input;
namespace ICSharpCode.Scripting
{
public delegate void ConsoleTextEditorKeyEventHandler(object source, ConsoleTextEditorKeyEventArgs e);
public abstract class ConsoleTextEditorKeyEventArgs : EventArgs
{
Key key;
ModifierKeys modifiers;
public ConsoleTextEditorKeyEventArgs(Key key, ModifierKeys modifiers)
{
this.key = key;
this.modifiers = modifiers;
}
public Key Key {
get { return key; }
}
public ModifierKeys Modifiers {
get { return modifiers; }
}
public abstract bool Handled {
get; set;
}
}
}