Пример #1
0
        private void RedemptionListDataGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            RiskMonitor.EventTriggerViewModel selectedVM = this.RedemptionListDataGrid_.SelectedItem as EventTriggerViewModel;

            RedemptionSelectorView redemSelectorView = new RedemptionSelectorView();

            redemSelectorView.DataContext = selectedVM;

            //selectedVM.View_;
            redemSelectorView.Width  = 300;
            redemSelectorView.Height = 300;
            redemSelectorView.ShowDialog();
        }
        private void RedemptionListDataGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            RiskMonitor.EventTriggerViewModel selectedVM = this.RedemptionListDataGrid_.SelectedItem as EventTriggerViewModel;

            RedemptionSelectorView redemSelectorView = new RedemptionSelectorView();
            redemSelectorView.DataContext = selectedVM;

                //selectedVM.View_;
            redemSelectorView.Width = 300;
            redemSelectorView.Height = 300;
            redemSelectorView.ShowDialog();


        }