Esempio n. 1
0
        void ShowCompanyDeleteModal(ulong itemId)
        {
            _currentCompanyBySoftwareFamily  = _softwareFamilyCompanies.FirstOrDefault(n => n.Id == itemId);
            _deletingCompanyBySoftwareFamily = true;
            _deleteTitle = L["Delete company from this software family"];

            _deleteText =
                string.Format(L["Are you sure you want to delete the company {0} with role {1} from this software family?"],
                              _currentCompanyBySoftwareFamily?.Company, _currentCompanyBySoftwareFamily?.Role);

            _frmDelete.Show();
        }
Esempio n. 2
0
 void ModalClosing(ModalClosingEventArgs obj)
 {
     _deleteInProgress = false;
     _deletingCompanyBySoftwareFamily = false;
     _currentCompanyBySoftwareFamily  = null;
 }