private void BarExecuteScript_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { _ConsoleOutputControl.ResetModifiedAll(); UpdateModelDocuments(); var model = mvvmContext.GetViewModel <ConsoleDocumentViewModel>(); model.ExecuteScript(_ScriptEditor.ScriptText); }
public void ResetModifiedAll() => _ConsoleOutputControl?.ResetModifiedAll();