public void  Dispose()
        {
            CashFlowVisual wb = this.UiElement as CashFlowVisual;

            wb.SaveXML();

            GC.SuppressFinalize(this);
        }
        public CashFlowWidget(IReactivePublisher publisher
                              , CashFlowViewerModel genericGridViewerMode)
            : base(publisher)
        {
            this.ViewModel = genericGridViewerMode;
            this.ViewModel.ParentWidget = this;


            this.Parameters       = new CashFlowParameters();
            this.pluginParameters = new CashFlowParameters();
            this.Parameters.SetParams(this.pluginParameters.GetParams());
            this.ViewModel.Parameters = (CashFlowParameters)this.Parameters;


            GenericWindow  = new CashFlowVisual(this.ViewModel);
            this.UiElement = GenericWindow;
            this.publisher = publisher;
        }
Ejemplo n.º 3
0
 public CashFlowSettingsViewModel(CashFlowViewerModel genericGridViewerModel, CashFlowVisual genericGridViewerVisual)
 {
     this._genericGridViewerModel  = genericGridViewerModel;
     this._genericGridViewerVisual = genericGridViewerVisual;
 }