Пример #1
0
        public SelectPlayWindow(ViewModel.FormationRootViewModel formationRootViewModel, ViewModel.PlaybookRootViewModel playbookRootViewModel)
        {
            InitializeComponent();

            treeFormation.DataContext = formationRootViewModel;

            treePlaybook.DataContext = playbookRootViewModel;
        }
        public CreatePresentationWindow(ViewModel.FormationRootViewModel formationRootViewModel, ViewModel.PlaybookRootViewModel playbookRootViewModel)
        {
            InitializeComponent();

            fRootViewModel = formationRootViewModel;
            pRootViewModel = playbookRootViewModel;

            LoadPresentations();

            ClearDump();
        }
        public SelectPlayForRptWindow(ViewModel.FormationRootViewModel formationRootViewModel, ViewModel.PlaybookRootViewModel playbookRootViewModel)
        {
            InitializeComponent();

            treeFormation.DataContext = formationRootViewModel;

            treePlaybook.DataContext = playbookRootViewModel;

            Setup = 0;

            InitReportTemplates();
        }
Пример #4
0
        public SelectPlayWindow(ViewModel.FormationRootViewModel formationRootViewModel, ViewModel.PlaybookRootViewModel playbookRootViewModel, Webb.Playbook.Data.Presentation presentation)
        {
            InitializeComponent();

            treeFormation.DataContext = formationRootViewModel;

            treePlaybook.DataContext = playbookRootViewModel;

            // set presentation
            Presentation = presentation;

            SetPresentation();
        }