IAttributeEdit.cs 736 B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Tofly.CoreUI.Control;
  6. using Tofly.Data.General;
  7. namespace Tofly.DataEditUI
  8. {
  9. /// <summary>
  10. /// 定义属性编辑窗口
  11. /// </summary>
  12. public interface IAttributeEdit : IForm
  13. {
  14. /// <summary>
  15. /// 当前数据
  16. /// </summary>
  17. IRow CurrentRow { get; }
  18. /// <summary>
  19. /// 设置当前操作数据
  20. /// </summary>
  21. ITable CurrentTable { get; set; }
  22. /// <summary>
  23. /// 获取或设置控件的数据源
  24. /// </summary>
  25. object DataSource { get; set; }
  26. void CloseEdit();
  27. }
  28. }