コード例 #1
0
        public SelectPlayWindow(ViewModel.FormationRootViewModel formationRootViewModel, ViewModel.PlaybookRootViewModel playbookRootViewModel)
        {
            InitializeComponent();

            treeFormation.DataContext = formationRootViewModel;

            treePlaybook.DataContext = playbookRootViewModel;
        }
コード例 #2
0
        public CreatePresentationWindow(ViewModel.FormationRootViewModel formationRootViewModel, ViewModel.PlaybookRootViewModel playbookRootViewModel)
        {
            InitializeComponent();

            fRootViewModel = formationRootViewModel;
            pRootViewModel = playbookRootViewModel;

            LoadPresentations();

            ClearDump();
        }
コード例 #3
0
        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();
        }