Esempio n. 1
0
 //=====================DOCUMENT TYPES
 private void DocumentTypeList_CellEditEnding(object sender, DataGridCellEditEndingEventArgs e)
 {
     if (DocumentTypeList.SelectedIndex != -1)
     {
         DatabaseHandler.ChangeDocType(docTypes[DocumentTypeList.SelectedIndex].id, docTypes[DocumentTypeList.SelectedIndex].name);
         //TODO UPDATE DOCUMENTS PAGE
         updateDocumentTypesHandler.Invoke();
     }
 }