public AccountTreeView(AccountTreeViewModel ViewModel) { InitializeComponent(); this.DataContext = ViewModel; this._view = ViewModel; ApplicationThemeHelper.ApplicationThemeName = _view.Parameters.DefaultTheme; }
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; }
public AccountTreeView(AccountTreeViewModel ViewModel) { InitializeComponent(); this.DataContext = ViewModel; this._view = ViewModel; }