/// <summary> /// 获取真实的表单名 /// </summary> /// <returns></returns> public string GetFormName() { return(IsStartFormMark() ? FormMark.Substring(2) : ""); }
/// <summary> /// 是否是表单开始标记 /// </summary> /// <returns></returns> public bool IsStartFormMark() { return(!String.IsNullOrEmpty(FormMark) && FormMark.Length > 2 && FormMark.StartsWith("S:")); }
/// <summary> /// 是否是表单结束标记 /// </summary> /// <returns></returns> public bool IsEndFormMark() { return(!String.IsNullOrEmpty(FormMark) && FormMark.StartsWith("E:")); }