mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* Application.cs * Button.cs * ButtonBase.cs * changelog * ContainerControl.cs * Control.cs * DrawItemEventArgs.cs * DrawItemEventHandler.cs * Font.cs * Form.cs * IAccessible.cs * IContainerControl.cs * Label.cs * MenuItem.cs * MessageBox.cs * NativeWindow.cs * ScrollableControl.cs * Win32.cs * Added some implmentation. Uncommented some stuff. * About to add files to implment stuff uncommented. svn path=/trunk/mcs/; revision=8434
113 lines
2.4 KiB
C#
113 lines
2.4 KiB
C#
//
|
|
// System.Windows.Forms.BindingManagerBase.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 {
|
|
//Compact Framework. Everything execpt suspend and resume binding needed for CE.
|
|
[MonoTODO]
|
|
public abstract class BindingManagerBase {
|
|
|
|
|
|
/// <summary>
|
|
/// Manages all Binding objects that are bound to the same data source and data member. This class is abstract.
|
|
/// </summary>
|
|
|
|
// --- Constructor
|
|
[MonoTODO]
|
|
public BindingManagerBase ()
|
|
{
|
|
}
|
|
|
|
//
|
|
// --- Fields
|
|
protected EventHandler onCurrentChangedHandler;
|
|
protected EventHandler onPositionChangedHandler;
|
|
|
|
|
|
//
|
|
// --- Public Properties
|
|
[MonoTODO]
|
|
public BindingsCollection Bindings {
|
|
|
|
get { throw new NotImplementedException (); }
|
|
}
|
|
|
|
public abstract int Count {
|
|
|
|
get;
|
|
}
|
|
|
|
public abstract object Current {
|
|
|
|
get;
|
|
}
|
|
|
|
public abstract int Position {
|
|
|
|
get;
|
|
set;
|
|
}
|
|
|
|
//
|
|
// --- Methods
|
|
public abstract void AddNew();
|
|
|
|
public abstract void CancelCurrentEdit();
|
|
|
|
public abstract void EndCurrentEdit();
|
|
|
|
public abstract PropertyDescriptorCollection GetItemProperties ();
|
|
|
|
[MonoTODO]
|
|
protected internal virtual PropertyDescriptorCollection GetItemProperties (ArrayList dataSources,ArrayList listAccessors)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
protected virtual PropertyDescriptorCollection GetItemProperties (Type listType,int offset,ArrayList dataSources,ArrayList listAccessors)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
//protected abstract string GetListName(ArrayList listAccessors);
|
|
protected internal abstract string GetListName(ArrayList listAccessors);
|
|
|
|
protected internal abstract void OnCurrentChanged(EventArgs e);
|
|
|
|
[MonoTODO]
|
|
protected void PullData()
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
protected void PushData()
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
public abstract void RemoveAt(int index);
|
|
|
|
public abstract void ResumeBinding();
|
|
public abstract void SuspendBinding();
|
|
|
|
protected abstract void UpdateIsBinding();
|
|
|
|
|
|
//
|
|
// --- Public Events
|
|
|
|
public event EventHandler CurrentChanged;
|
|
public event EventHandler PositionChanged;
|
|
}
|
|
}
|