Esempio n. 1
0
 public DashboardDesignerForm()
 {
     InitializeComponent();
     _dashboardDesigner = new DashboardDesigner();
     Controls.Add(_dashboardDesigner);
     _dashboardDesigner.Dock = DockStyle.Fill;
     _dashboardDesigner.CreateRibbon();
     _dashboardDesigner.ActionOnClose = DashboardActionOnClose.Discard;
     _editHistory = (History)Designer.GetPropertyValue("History");
 }
Esempio n. 2
0
        public DashboardDesignerForm()
        {
            InitializeComponent();
            _dashboardDesigner = new DashboardDesigner();
            Controls.Add(_dashboardDesigner);
            _dashboardDesigner.Dock = DockStyle.Fill;
            _dashboardDesigner.CreateRibbon();
            _dashboardDesigner.ActionOnClose = DashboardActionOnClose.Discard;
            _editHistory = Designer.GetPrivatePropertyValue <History>("History");

            _dashboardDesigner.DataSourceWizardSettings.EnableCustomSql = true;
        }