Пример #1
0
        public TraderVsPMWidget(IReactivePublisher publisher
                                , TraderVsPMViewerModel genericGridViewerMode)
            : base(publisher)
        {
            this.ViewModel = genericGridViewerMode;
            this.ViewModel.ParentWidget = this;


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


            GenericWindow  = new TraderVsPMVisual(this.ViewModel);
            this.UiElement = GenericWindow;
            this.publisher = publisher;
        }
 public TraderVsPMSettingsViewModel(TraderVsPMViewerModel genericGridViewerModel, TraderVsPMVisual genericGridViewerVisual)
 {
     this._genericGridViewerModel  = genericGridViewerModel;
     this._genericGridViewerVisual = genericGridViewerVisual;
 }