Esempio n. 1
0
        private bool ShowDialog(BaseIOViewModel vm)
        {
            var v = new IOView(vm);

            v.Owner = Application.Current.MainWindow;
            return((bool)v.ShowDialog());
        }
Esempio n. 2
0
 public IOView(BaseIOViewModel vm)
 {
     InitializeComponent();
     vm.Dlg      = this;
     DataContext = vm;
 }