void ShowResolutionDeleteModal(long itemId) { _currentResolution = _gpuResolutions.FirstOrDefault(n => n.Id == itemId); _deleteTitle = L["Delete resolution from this graphical processing unit"]; _deleteText = string.Format(L["Are you sure you want to delete the resolution {0} from this graphical processing unit?"], _currentResolution); _frmDelete.Show(); }
void ModalClosing(ModalClosingEventArgs obj) { _deleteInProgress = false; _currentResolution = null; }