public AccountTreeView(AccountTreeViewModel ViewModel)
        {
            InitializeComponent();
            this.DataContext = ViewModel;
            this._view       = ViewModel;

            ApplicationThemeHelper.ApplicationThemeName = _view.Parameters.DefaultTheme;
        }
예제 #2
0
        public AccountTreeCashViewerWidget(IReactivePublisher publisher
                                           , AccountTreeViewModel testSampleViewModel) : base(publisher)
        {
            this.ViewModel = testSampleViewModel;
            this.ViewModel.ParentWidget = this;


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


            ViewerWindow   = new AccountTreeView(this.ViewModel);
            this.UiElement = ViewerWindow;
            this.publisher = publisher;
        }
 public AccountTreeCashSettingViewModel(AccountTreeViewModel viewerModel, AccountTreeView viewerMainWindow)
 {
     this._ViewerModel      = viewerModel;
     this._ViewerMainWindow = viewerMainWindow;
 }
예제 #4
0
 public AccountTreeView(AccountTreeViewModel ViewModel)
 {
     InitializeComponent();
     this.DataContext = ViewModel;
     this._view       = ViewModel;
 }