.NET Windows Forms in a Nutshell

IEditableObject

System.ComponentModel (system.dll) interface

This interface should be implemented by classes that provide edit-rollback/commit semantics in data-binding scenarios (such as System.Data.DataRowView ).

BeginEdit() should initiate an editing session, CancelEdit() should perform a rollback, discarding any changes that have been made, and EndEdit( ) should commit any such changes.

public interface IEditableObject { // Public Instance Methods public void BeginEdit (); public void CancelEdit (); public void EndEdit (); }

Категории