CPF/CPF.ReoGrid/Main/IActionControl.cs
2024-06-24 10:15:59 +08:00

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);
}
}