Пример #1
0
 public DiskInfoDialog(DiskInfoViewModel viewModel)
 {
     InitializeComponent();
     DataContext = viewModel;
     //TextBox.Focus();
     //TextBox.SelectedText = viewModel.Text;
 }
Пример #2
0
 private void DiskInfo(object parameter)
 {
     var sizeDlg = new DiskInfoViewModel(_manipulator);
     sizeDlg.ShowDialog();
 }