public DashboardDemoForm()
        {
            InitializeComponent();

            new StiDashboard();

            Icon   = StiOptions.Viewer.Windows.ViewerIcon ?? StiAppIcons.GetIcon();
            Report = report;

            FillReportsList();
            listBoxDashboards.SelectedItem = listBoxDashboards.Items.Cast <object>().FirstOrDefault();
        }
        public DashboardDemoForm()
        {
            // How to Activate
            //Stimulsoft.Base.StiLicense.Key = "6vJhGtLLLz2GNviWmUTrhSqnO...";
            //Stimulsoft.Base.StiLicense.LoadFromFile("license.key");
            //Stimulsoft.Base.StiLicense.LoadFromStream(stream);

            InitializeComponent();

            new StiDashboard();

            Icon   = StiOptions.Viewer.Windows.ViewerIcon ?? StiAppIcons.GetIcon();
            Report = report;

            FillReportsList();
            listBoxDashboards.SelectedItem = listBoxDashboards.Items.Cast <object>().FirstOrDefault();
        }