28 lines
543 B
C#
28 lines
543 B
C#
using System;
|
|
using CPF.ReoGrid.Actions;
|
|
using CPF.ReoGrid.Events;
|
|
|
|
namespace CPF.ReoGrid.Main
|
|
{
|
|
internal interface IActionControl
|
|
{
|
|
void DoAction(Worksheet sheet, BaseWorksheetAction action);
|
|
|
|
void Undo();
|
|
|
|
void Redo();
|
|
|
|
void RepeatLastAction(RangePosition range);
|
|
|
|
event EventHandler<WorkbookActionEventArgs> ActionPerformed;
|
|
|
|
event EventHandler<WorkbookActionEventArgs> Undid;
|
|
|
|
event EventHandler<WorkbookActionEventArgs> Redid;
|
|
|
|
void ClearActionHistory();
|
|
|
|
void ClearActionHistoryForWorksheet(Worksheet sheet);
|
|
}
|
|
}
|