public int Refresh(bool fullRefresh)
{
try
{
isUpdating = true;
ResetCiteProc();
if (CiteProc == null)
{
MessageBox.Show("Docear4Word could not process the selected style.\r\nPlease check the style is valid or choose a different style.\r\n\r\nFeel free to contact us telling us about the problem (please include the style file when sending an email). http://www.docear.org/docear/contact/", "Docear4Word", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
return -1;
}
return new CitationInserter(this).Refresh(fullRefresh);
}
finally
{
isUpdating = false;
}
}