コード例 #1
0
        public LoadWindow(List <Models.Roi> rois, List <Models.PlanLabel> planLabels, string defaultDirectoryPath)
        {
            InitializeComponent();

            var loadObjectiveFunctionsViewModel = new ViewModels.LoadObjectiveFunctionsViewModel(rois, planLabels, defaultDirectoryPath);

            DataContext = loadObjectiveFunctionsViewModel;
        }
コード例 #2
0
        public LoadWindow()
        {
            InitializeComponent();

            var loadObjectiveFunctionsViewModel = new ViewModels.LoadObjectiveFunctionsViewModel();

            loadObjectiveFunctionsViewModel.DefaultDirectoryPath = @"C:\Users\s2ato\Desktop\RayStationScripts\OptimizationFunctions";

            DataContext = loadObjectiveFunctionsViewModel;
        }