using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Text; using Mesnac.Controls.Base; using System.Drawing; namespace Mesnac.Controls.Default { [ToolboxBitmap(typeof(FastReport.Design.StandardDesigner.DesignerControl))] public partial class MCReportDesigner : FastReport.Design.StandardDesigner.DesignerControl, IPurviewControl { private bool _isValid = true; //保存有效性 public MCReportDesigner() { InitializeComponent(); } public MCReportDesigner(IContainer container) { container.Add(this); InitializeComponent(); } public string MCKey { get; set; } public object MCValue { get; set; } public IBaseControl MCRoot { get { return null; } set { ; } } [TypeConverter(typeof(DataSourceConverter))] 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; set; } public bool MCEnabled { get; set; } public bool MCPurview { get; set; } public bool IsValid { get { return _isValid; } set { _isValid = value; } } } }