Ejemplo n.º 1
0
		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;
		}
Ejemplo n.º 2
0
		private void resetToolStripMenuItem_Click(object sender, EventArgs e)
		{
			m_aCscProject = null;
			m_aSpellFixerLegacy = null;
		}
Ejemplo n.º 3
0
		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;
		}