void UpdateTable(int docType) { if (typeToTable.ContainsKey(docType)) { sources[typeToTable[docType]].Add(DatabaseHandler.GetLatestDocument(docType, id)); sources[typeToTable[docType]].AddIndexes(); typeToTable[docType].Items.Refresh(); } }
void UpdateTable(int docType) { if (typeToTable.ContainsKey(docType)) { sources[typeToTable[docType]].Add(DatabaseHandler.GetLatestDocument(docType, id)); sources[typeToTable[docType]].AddIndexes(); typeToTable[docType].Items.Refresh(); } }