Пример #1
0
        private void OpenNewWindow(object sender)
        {
            var vm           = new DetailWindowViewModel(ProjectNoteService, ProjectNote);
            var detailWindow = new DetailWindow(vm);

            detailWindow.Show();
            vm.CloseWindow += detailWindow.Close;
        }