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

            wb.SaveXML();

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


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


            GenericWindow  = new MutualFundsCashVisual(this.ViewModel);
            this.UiElement = GenericWindow;
            this.publisher = publisher;
        }
示例#3
0
 public MutualFundsCashSettingsViewModel(MutualFundsCashViewerModel genericGridViewerModel, MutualFundsCashVisual genericGridViewerVisual)
 {
     this._genericGridViewerModel  = genericGridViewerModel;
     this._genericGridViewerVisual = genericGridViewerVisual;
 }