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