示例#1
0
        public MainView(MainViewModel viewModel)
        {
            InitializeComponent();

            _mainViewModel = viewModel;
            DataContext = viewModel;
        }
        public ConnectionDialogWindow(MainViewModel viewModel)
        {
            InitializeComponent();

            DataContext = viewModel;
        }
 public FileNamesByPartialNameDialogWindow(MainViewModel viewModel)
 {
     InitializeComponent();
     
     DataContext = viewModel;
 }
        public DownloadFileWindow(MainViewModel viewModel)
        {
            InitializeComponent();

            DataContext = viewModel;
        }