public void Dispose() { PMDashBoardVisual wb = this.UiElement as PMDashBoardVisual; wb.SaveXML(); GC.SuppressFinalize(this); }
public PMDashBoardWidget(IReactivePublisher publisher , PMDashBoardModel genericGridViewerMode) : base(publisher) { this.ViewModel = genericGridViewerMode; this.ViewModel.ParentWidget = this; this.Parameters = new PMDashBoardParameters(); this.pluginParameters = new PMDashBoardParameters(); this.Parameters.SetParams(this.pluginParameters.GetParams()); this.ViewModel.Parameters = (PMDashBoardParameters)this.Parameters; GenericWindow = new PMDashBoardVisual(this.ViewModel); this.UiElement = GenericWindow; this.publisher = publisher; }
public PMDashBoardSettingsViewModel(PMDashBoardModel ViewerModel, PMDashBoardVisual ViewerVisual) { this._ViewerModel = ViewerModel; this._ViewerVisual = ViewerVisual; }