Beispiel #1
0
        /// <summary>
        /// 加载dll依赖
        /// </summary>
        private void LoadDllFiles()
        {
            string strPath = Path.Combine(Application.StartupPath, @"DependentFiles\Delphi");

            if (!Directory.Exists(strPath))
            {
                string strMsg = string.Format("{0} not exists!", strPath);
                RunLog.Log(strMsg, LogType.ltError);
                HintProvider.ShowConfirmDialog(null, strMsg, buttons: ConfirmFormButtons.OK);
                return;
            }
            UtilityTool.LoadDllFile(strPath, TripleDESIntf.TRIDES_DLL);
        }