protected bool TryLoginProject() { try { if (m_aSpellFixerLegacy == null) m_aSpellFixerLegacy = new SpellingFixer30.SpellingFixer(); m_aSpellFixerLegacy.LoginProject(); } catch (Exception ex) { MessageBox.Show(ex.Message, cstrCaption); return false; } finally { m_aCscProject = null; // just in case } return true; }
private void resetToolStripMenuItem_Click(object sender, EventArgs e) { m_aCscProject = null; m_aSpellFixerLegacy = null; }
protected bool TrySelectProject() { try { m_aCscProject = CscProject.SelectProject(); } catch (Exception ex) { MessageBox.Show(ex.Message, cstrCaption); return false; } finally { m_aSpellFixerLegacy = null; // just in case } return true; }