Esempio n. 1
0
        /// <summary>
        /// 取得控件完整信息
        /// </summary>
        /// <param name="filePath">文件路径</param>
        /// <returns></returns>
        public DataControlInfo GetDataControlInfoByPath(string filePath)
        {
            DataControlInfo info = new DataControlInfo();

            info.Load(GetDataControlPathFromPath(filePath));
            return(info);
        }
Esempio n. 2
0
        /// <summary>
        /// 取得控件的完整信息
        /// </summary>
        /// <param name="ctr">控件名称</param>
        /// <returns></returns>
        public DataControlInfo GetDataControlInfo(string ctr)
        {
            DataControlInfo info = new DataControlInfo();

            info.Load(GetDataControlPath(ctr.Split('.')[0]));
            return(info);
        }