private void ReportExplorer_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) { this.MakeDirty(); ReportExplorerPad explorerPad = CheckReportExplorer(); IComponentChangeService change = Host.GetService(typeof(IComponentChangeService)) as IComponentChangeService; change.OnComponentChanged(explorerPad.ReportModel.ReportSettings.SortColumnCollection, null, null, null); }
private void StartReportExplorer() { ReportExplorerPad explorerPad = CheckReportExplorer(); WorkbenchSingleton.Workbench.GetPad(typeof(ReportExplorerPad)).BringPadToFront(); explorerPad.AddContent(this.loader.ReportModel); explorerPad.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(ReportExplorer_PropertyChanged); }
/// <summary> /// Creates a new ReportExplorer object /// </summary> public ReportExplorerPad() : base() { WorkbenchSingleton.Workbench.ActiveViewContentChanged += ActiveViewContentChanged; WorkbenchSingleton.Workbench.ViewClosed += ActiveViewClosed; this.explorerTree = new ExplorerTree(); this.explorerTree.MouseDown += new MouseEventHandler(ReportExplorer_MouseDown); this.explorerTree.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(ReportExplorerPad_PropertyChanged); instance = this; }
/// <summary> /// Creates a new ReportExplorer object /// </summary> public ReportExplorerPad():base() { SD.Workbench.ActiveViewContentChanged += ActiveViewContentChanged; SD.Workbench.ViewClosed += ActiveViewClosed; this.explorerTree = new ExplorerTree(); this.explorerTree.MouseDown += new MouseEventHandler(ReportExplorer_MouseDown); this.explorerTree.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(ReportExplorerPad_PropertyChanged); instance = this; }
private void ReportExplorer_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) { LoggingService.Info("ReportExplorer_PropertyChanged"); this.MakeDirty(); ReportExplorerPad explorerPad = CheckReportExplorer(); IComponentChangeService change = Host.GetService(typeof(IComponentChangeService)) as IComponentChangeService; change.OnComponentChanged(explorerPad, null, null, null); }
private void StartReportExplorer() { LoggingService.Info("StartReportExplorer ()"); ReportExplorerPad explorerPad = CheckReportExplorer(); SD.Workbench.GetPad(typeof(ReportExplorerPad)).BringPadToFront(); explorerPad.AddContent(this.loader.ReportModel); explorerPad.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(ReportExplorer_PropertyChanged); }
private static ReportExplorerPad CheckReportExplorer() { ReportExplorerPad p = ReportExplorerPad.Instance; if (p == null) { WorkbenchSingleton.Workbench.GetPad(typeof(ReportExplorerPad)).CreatePad(); } return(ReportExplorerPad.Instance); }