Пример #1
0
 /// <summary>
 /// The local Searches are located in the "ea program files"\scripts (so usually C:\Program Files (x86)\Sparx Systems\EA\Scripts or C:\Program Files\Sparx Systems\EA\Scripts)
 /// The contents of the local scripts is loaded into the Searches.
 /// </summary>
 static void LoadLocalSearches(EA.Repository rep)
 {
     try
     {
         string searchFolder = SqlError.GetEaSqlErrorPath() + @"\Search Data";
         LoadSearchFromFolder(rep, searchFolder);
     }
     catch (Exception e)
     {
         MessageBox.Show($@"{e.Message}", @"Error in load Local Searches");
     }
 }
        /// <summary>
        /// The local Searches are located in the "ea program files"\scripts (so usually C:\Program Files (x86)\Sparx Systems\EA\Scripts or C:\Program Files\Sparx Systems\EA\Scripts)
        /// The contents of the local scripts is loaded into the Searches.
        /// </summary>
        static void LoadLocalSearches(EA.Repository rep)
        {
            string searchFolder = SqlError.GetEaSqlErrorPath() + @"\Search Data";

            LoadSearchFromFolder(rep, searchFolder);
        }