示例#1
0
        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();
        }
示例#2
0
 void ModalClosing(ModalClosingEventArgs obj)
 {
     _deleteInProgress            = false;
     _currentInstructionByMachine = null;
 }