/// <summary> /// 得到指定Data的路径 /// </summary> /// <param name="ServerName">服务器名</param> /// <param name="dbName">数据库名</param> /// <param name="study"> /// Data类型 /// (0://patientsub 1://patienttotal 2: //mdmsub 3://mdmtotal 4://AutoFieldMaxValue 5://TableStucture) /// </param> /// <returns></returns> public static string GetDirectory(string ServerName, string dbName, string study) { if (study != "") { return(ClassPath.GetAppDataXmlDataPath() + "\\" + ServerName + "\\" + dbName + "\\" + study); } else { return(ClassPath.GetAppDataXmlDataPath() + "\\" + ServerName + "\\" + dbName); } }
/// <summary> /// 封装的调用光标函数 /// </summary> /// <param name="constFileName"></param> /// <returns></returns> public static IntPtr LoadCursor(string constFileName) { return(LoadCursorFromFile(ClassPath.GetCursorPath() + "\\" + constFileName)); }