SIL.FieldWorks.Common.Controls.ObtainProjectMethod.CallImportObtainedLexicon C# (CSharp) Method

CallImportObtainedLexicon() static private method

static private CallImportObtainedLexicon ( SIL.FieldWorks.FDO.FdoCache cache, string liftPath, Form parent ) : void
cache SIL.FieldWorks.FDO.FdoCache
liftPath string
parent System.Windows.Forms.Form
return void
		internal static void CallImportObtainedLexicon(FdoCache cache, string liftPath, Form parent)
		{
			// this is a horrible way to invoke this, but the current project organization does not allow us to reference
			// the LexEdDll project, nor is there any straightforward way to move the code we need into some project we can
			// reference, or any obviously suitable project to move it to without creating other References loops.
			// nasty reflections call seems less technical debt than creating an otherwise unnecessary project.
			// (It puts up its own progress dialog.)
			ReflectionHelper.CallStaticMethod(ImportLexiconDll, ImportLexiconClass,
				ImportLexiconMethod, cache, liftPath, parent);
		}