コード例 #1
0
        public EdataFileViewModel(EdataManagerViewModel parentVm)
        {
            _parentVm = parentVm;

            CloseCommand   = new ActionCommand((x) => ParentVm.CloseFile(this));
            DetailsCommand = new ActionCommand(DetailsExecute);
        }
コード例 #2
0
        public EdataFileViewModel(EdataManagerViewModel parentVm)
        {
            _parentVm = parentVm;

            CloseCommand = new ActionCommand((x) => ParentVm.CloseFile(this));
            DetailsCommand = new ActionCommand(DetailsExecute);
            AddRowCommand = new ActionCommand(AddRowExecute);
        }
コード例 #3
0
ファイル: App.xaml.cs プロジェクト: Scrivener07/moddingSuite
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            var mainVm = new EdataManagerViewModel();
            DialogProvider.ProvideView(mainVm);

            //var versionVm = new VersionManagerViewModel(mainVm);
            //DialogProvider.ProvideView(versionVm);
        }
コード例 #4
0
 public VersionManagerViewModel(EdataManagerViewModel edataManagerViewModel)
 {
     EdataManagerViewModel = edataManagerViewModel;
     Initialize();
 }