/// <summary> /// 取得控件完整信息 /// </summary> /// <param name="filePath">文件路径</param> /// <returns></returns> public DataControlInfo GetDataControlInfoByPath(string filePath) { DataControlInfo info = new DataControlInfo(); info.Load(GetDataControlPathFromPath(filePath)); return(info); }
/// <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); }