예제 #1
0
        private void OnOpenStatisticWindow()
        {
            var vm = new StatisticWindowViewModel(CalcStatisticCommand)
            {
                Project = Project
            };
            var window = new StatisticWindow {
                DataContext = vm
            };

            window.ShowDialog();
        }
예제 #2
0
 private void OnOpenStatisticWindow()
 {
     var vm = new StatisticWindowViewModel(CalcStatisticCommand) { Project = Project };
     var window = new StatisticWindow { DataContext = vm };
     window.ShowDialog();
 }