void ShowExtensionDeleteModal(long itemId) { _currentInstructionByMachine = _processorExtensions.FirstOrDefault(n => n.Id == itemId); _deleteTitle = L["Delete instruction set extension from this processor"]; _deleteText = string.Format(L["Are you sure you want to delete the instruction set extension {0} from this processor?"], _currentInstructionByMachine?.Extension); _frmDelete.Show(); }
void ModalClosing(ModalClosingEventArgs obj) { _deleteInProgress = false; _currentInstructionByMachine = null; }