using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using Mesnac.Controls.Base; using Mesnac.PlugIn.View; namespace Mesnac.Gui.Common { public partial class FrmRunTemplate : DefaultViewContent, IPurviewControl { private List _loadActionList = new List(); private List _activatedActionList = new List(); private List _reloadActionList = new List(); private bool _isValid = true; //是否有效 private bool _bHaveAction = false; //是否有动画 public FrmRunTemplate() { InitializeComponent(); } /// /// 重写Container属性 /// public new IContainer Container { get { return this.components; } } /// /// 窗体加载处理列表 /// [DefaultValue(null)] public List LoadActionList { get { return _loadActionList; } set { _loadActionList = value; } } /// /// 窗体激活处理列表 /// [DefaultValue(null)] public List ActivatedActionList { get { return _activatedActionList; } set { _activatedActionList = value; } } /// /// 窗体重新加载时处理列表 /// [DefaultValue(null)] public List ReloadActionList { get { return _reloadActionList; } set { _reloadActionList = value; } } /// /// 是否有动画 /// public bool BHaveAction { get { return _bHaveAction; } set { _bHaveAction = value; } } public string MCKey { get; set; } public object MCValue { get; set; } public bool MCSyschronousData { get; set; } public IBaseControl MCRoot { get; set; } public string MCDataSourceID { get; set; } public MCDataSource MCDataSource { get; set; } public bool IsDbControl { get; set; } public string InitDataSource { get; set; } public string ActionDataSource { get; set; } public object BindDataSource { get; set; } public DbOptionTypes DbOptionType { get; set; } public bool MCVisible { get { return this.Visible; } set { this.Visible = value; } } public bool MCEnabled { get { return this.Enabled; } set { this.Enabled = value; } } public bool IsValid { get { return this._isValid; } set { this._isValid = value; } } #region IPurviewControl 成员 public bool MCPurview { get; set; } #endregion } }