public void Dispose() { SpreadSheetWidgetVisual wb = this.UiElement as SpreadSheetWidgetVisual; wb.SaveXML(); GC.SuppressFinalize(this); }
public SpreadSheetWidgetWidget(IReactivePublisher publisher , SpreadSheetWidgetModel genericGridViewerMode) : base(publisher) { this.ViewModel = genericGridViewerMode; this.ViewModel.ParentWidget = this; this.Parameters = new SpreadSheetWidgetParameters(); this.pluginParameters = new SpreadSheetWidgetParameters(); this.Parameters.SetParams(this.pluginParameters.GetParams()); this.ViewModel.Parameters = (SpreadSheetWidgetParameters)this.Parameters; GenericWindow = new SpreadSheetWidgetVisual(this.ViewModel); this.UiElement = GenericWindow; this.publisher = publisher; }
public SpreadSheetWidgetViewModel(SpreadSheetWidgetModel ViewerModel, SpreadSheetWidgetVisual ViewerVisual) { this._ViewerModel = ViewerModel; this._ViewerVisual = ViewerVisual; }