Drawing3d documented Class Library

TaskCtrl.CommitItem.ConnectWithNext Field

Sometimes it is required to call two Commits, which should be andled in one ReDo-call. In this cas you can use CommitBegin and CommitEnd. In the CommitItem the ConnectWithNext is set to true if a further Commit will occurs. CommitBegin(); Commit(UD_AddCustomer, "Add Customer", new UndoData(id,Result)); Commit(UD_CheckDependencies,"Check dependencies",new UndoData(id,Result)); CommitEnd(); In this code the UD_CheckDependenciesCommit will be inserted before the UD_AddCustomer Commit and has a ConnectWithNext = true

[Visual Basic]
Public ConnectWithNext As Boolean
[C#]
public bool ConnectWithNext;

See Also

CommitItem Class | Drawing3d Namespace