Files
mono/mcs/class/System.Windows.Forms/Gtk/KeyPressEventArgs.cs
T
Joel Basson 636605aaa2 Tue Nov 18 23:00:00 GMT+2 2003 Joel Basson <[email protected]>
* New start to DataGrid. Imported files from swf-winelib
	* CurrencyManager.cs
	* BindingManagerBase.cs
	* BindingsCollection.cs
	* BaseCollection.cs
	* Binding.cs
	* ItemChangedEventArgs.cs
	* ItemChangedEventHandler.cs
	* ConvertEventArgs.cs
	* ConvertEventHandler.cs
	* BindingMemberInfo.cs
	* BorderStyle.cs
	* KeyEventArgs.cs
	* KeyEventHandler.cs
	* KeyPressEventArgs.cs
	* KeyPressEventHandler.cs
	* Keys.cs
	* AccessibleObject.cs
	* AccessibleEvents.cs
	* AccessibleNavigation.cs
	* AccessibleRole.cs
	* AccessibleSelection.cs
	* AccessibleStates.cs
	* NavigateEventArgs.cs
	* NavigateEventHandler.cs
	* PaintEventArgs.cs
	* PaintEventHandler.cs
	* GridTableStylesCollection.cs
	* GridColumnStylesCollection.cs
	* DataGrid.cs
	* IDataGridColumnStyleEditingNotificationService.cs
	* IDataGridEditingService.cs
	* DataGridColumnStyle.cs
	* DataGridBoolColumn.cs
	* DataGridCell.cs
	* DataGridLineStyle.cs
	* DataGridParentRowsLabelStyle.cs
	* DataGridPreferredColumnWidthTypeConverter.cs
	* DataGridTableStyle.cs
	* DataGridTextBoxColumn.cs
	* DataGridTextBox.cs

svn path=/trunk/mcs/; revision=20189
2003-11-18 21:14:15 +00:00

56 lines
859 B
C#

//
// System.Windows.Forms.KeyPressEventArgs.cs
//
// Author:
// stubbed out by Daniel Carrera ([email protected])
// Dennis Hayes ([email protected])
// Gianandrea Terzi ([email protected])
//
// (C) 2002 Ximian, Inc
//
using System.Runtime.InteropServices;
namespace System.Windows.Forms {
// <summary>
// </summary>
public class KeyPressEventArgs : EventArgs {
#region Fields
private char keychar;
private bool handled = false; //Gian : Initialize?
#endregion
//
// --- Constructor
//
public KeyPressEventArgs (char keyChar)
{
this.keychar = keyChar;
}
#region Public Properties
[ComVisible(true)]
public bool Handled {
get {
return handled;
}
set {
handled = value;
}
}
[ComVisible(true)]
public char KeyChar {
get {
return keychar;
}
}
#endregion
}
}