mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* 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
54 lines
894 B
C#
54 lines
894 B
C#
//
|
|
// System.Windows.Forms.ConvertEventArgs.cs
|
|
//
|
|
// Author:
|
|
// Stubbed out by Jaak Simm ([email protected])
|
|
// Finished by Dennis Hayes ([email protected])
|
|
// Gianandrea Terzi ([email protected])
|
|
//
|
|
// (C) Ximian, Inc., 2002
|
|
//
|
|
|
|
namespace System.Windows.Forms {
|
|
|
|
/// <summary>
|
|
/// Provides data for the Format and Parse events.
|
|
/// </summary>
|
|
|
|
public class ConvertEventArgs : EventArgs {
|
|
|
|
#region Fields
|
|
|
|
private Type desiredtype;
|
|
private object objectvalue;
|
|
|
|
#endregion
|
|
|
|
//Constructor
|
|
public ConvertEventArgs(object objectValue,Type desiredType)
|
|
{
|
|
this.desiredtype = desiredType;
|
|
this.objectvalue = objectValue;
|
|
}
|
|
|
|
#region Public Properties
|
|
|
|
public Type DesiredType
|
|
{
|
|
get {
|
|
return desiredtype;
|
|
}
|
|
}
|
|
|
|
public object Value {
|
|
get {
|
|
return objectvalue;
|
|
}
|
|
set {
|
|
objectvalue = value;
|
|
}
|
|
}
|
|
#endregion
|
|
}
|
|
}
|