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
176 lines
3.0 KiB
C#
176 lines
3.0 KiB
C#
//
|
|
// System.Windows.Forms.CurrencyManager.cs
|
|
//
|
|
// Author:
|
|
// stubbed out by Jaak Simm ([email protected])
|
|
// Dennis Hayes ([email protected])
|
|
//
|
|
// (C) 2002 Ximian, Inc
|
|
//
|
|
|
|
using System.ComponentModel;
|
|
using System.Collections;
|
|
|
|
namespace System.Windows.Forms {
|
|
|
|
/// <summary>
|
|
/// Manages a list of Binding objects.
|
|
/// </summary>
|
|
[MonoTODO]
|
|
public class CurrencyManager : BindingManagerBase {
|
|
|
|
#region Fields
|
|
/* uncomment if needed
|
|
protected Type finalType;
|
|
protected int listposition;
|
|
*/
|
|
internal int count = 0;
|
|
internal object current = null;
|
|
internal int position = 0;
|
|
#endregion
|
|
|
|
#region Properties
|
|
[MonoTODO]
|
|
public override int Count {
|
|
get {
|
|
return count;
|
|
}
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override object Current {
|
|
get {
|
|
//FIXME:
|
|
return current;
|
|
}
|
|
}
|
|
|
|
[MonoTODO]
|
|
public IList List {
|
|
get {
|
|
throw new NotImplementedException ();
|
|
}
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override int Position {
|
|
|
|
get {
|
|
//FIXME:
|
|
return position;
|
|
}
|
|
set {
|
|
//FIXME:
|
|
position = value;
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
#region Methods
|
|
[MonoTODO]
|
|
public override void AddNew()
|
|
{
|
|
//FIXME:
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override void CancelCurrentEdit()
|
|
{
|
|
//FIXME:
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
protected void CheckEmpty()
|
|
{
|
|
//FIXME:
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override void EndCurrentEdit()
|
|
{
|
|
//FIXME:
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override PropertyDescriptorCollection GetItemProperties()
|
|
{
|
|
//FIXME:
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
protected internal override string GetListName(ArrayList listAccessors)
|
|
{
|
|
//FIXME:
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
/// <methods for events>
|
|
[MonoTODO]
|
|
protected internal override void OnCurrentChanged(EventArgs e)
|
|
{
|
|
//FIXME:
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
protected virtual void OnItemChanged(ItemChangedEventArgs e)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
/* this method only supports .NET framework
|
|
[MonoTODO]
|
|
protected virtual void OnPositionChanged(EventArgs e)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}*/
|
|
/// </methods for events>
|
|
|
|
[MonoTODO]
|
|
public void Refresh()
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override void RemoveAt(int index)
|
|
{
|
|
//FIXME:
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override void ResumeBinding()
|
|
{
|
|
//FIXME:
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override void SuspendBinding()
|
|
{
|
|
//FIXME:
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
protected override void UpdateIsBinding()
|
|
{
|
|
//FIXME:
|
|
throw new NotImplementedException ();
|
|
}
|
|
#endregion
|
|
|
|
#region Events
|
|
[MonoTODO]
|
|
public event ItemChangedEventHandler ItemChanged;
|
|
public event EventHandler MetaDataChanged; // .NET V1.1 Beta
|
|
#endregion
|
|
}
|
|
}
|