コード例 #1
0
        private void showAdditional()
        {
            //var comparePatientPrep = "Указания для исследования: \n";
            //if (SelectedItem == null) return;
            //foreach (var cpp in SelectedItem.patient_preparation)
            //{
            //    comparePatientPrep += cpp + "\n";
            //}
            //MessageBox.Show(comparePatientPrep);
            var vm      = new NmWindowViewModel(SelectedItem);
            var showAdd = new NomenclatureInfo(vm);

            showAdd.ShowDialog();
        }
コード例 #2
0
 public NomenclatureInfo(NmWindowViewModel datacontext)
 {
     InitializeComponent();
     DataContext = datacontext;
 }