예제 #1
0
        public void  Dispose()
        {
            SpreadSheetWidgetVisual wb = this.UiElement as SpreadSheetWidgetVisual;

            wb.SaveXML();

            GC.SuppressFinalize(this);
        }
예제 #2
0
        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;
 }