private void LoadPreview(string url)
        {
            //var report = XtraReport.FromFile(url, true);
            //if (report is IReport)
            //    (report as IReport).LoadDataSource();
            //report.ShowPreview();

            PreviewControl preview = new PreviewControl(url);

            preview.Reload();
            preview.Dock = DockStyle.Fill;
            var tab = tabMain.TabPages.Add();

            tab.Text = "Preview";
            tab.Controls.Add(preview);

            tabMain.SelectedTabPage = tab;
        }