コード例 #1
0
        private void ListBox_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            var viewModel        = DataContext as ConferenceViewModel;
            var sessionViewModel = viewModel.CreateSelectedSessionViewModel();

            if (sessionViewModel != null)
            {
                SessionWindow sessionWindow = new SessionWindow();
                sessionWindow.Show(sessionViewModel);
            }
        }