ISheetControl.cs
资源名称:H3_OA.rar [点击查看]
上传用户:li2971742
上传日期:2021-11-18
资源大小:39096k
文件大小:1k
源码类别:
OA系统
开发平台:
C#
- using System;
- using System.Web.UI;
- using System.Web.UI.WebControls;
- using System.Collections;
- using System.ComponentModel;
- using System.ComponentModel.Design.Serialization;
- using System.Drawing;
- using System.Drawing.Design;
- using System.Windows.Forms;
- using System.Globalization;
- [assembly:TagPrefix("OThinker.H3.WorkSheet","SheetControls")]
- namespace OThinker.H3.WorkSheet
- {
- /// <summary>
- /// 表单控件的接口
- /// </summary>
- public interface ISheetControl
- {
- /// <summary>
- /// 从引擎中读取控件的数据
- /// </summary>
- /// <param name="SheetPage"></param>
- void LoadDataField(OThinker.H3.WorkSheet.SheetPage SheetPage);
- /// <summary>
- /// 将数据写回到引擎中
- /// </summary>
- /// <param name="SheetPage"></param>
- void SaveDataField(OThinker.H3.WorkSheet.SheetPage SheetPage);
- /// <summary>
- /// 验证输入
- /// </summary>
- /// <param name="SheetPage"></param>
- /// <param name="Errors"></param>
- /// <returns></returns>
- bool ValidateDataField(OThinker.H3.WorkSheet.SheetPage SheetPage, System.Collections.Generic.List<string> Errors);
- /// <summary>
- /// 使能该控件
- /// </summary>
- bool Enabled
- {
- get;
- set;
- }
- }
- }