public WeatherForecastView(IWeatherForecastViewModel viewModel) { InitializeComponent(); base.DataContext = viewModel; }
public MainWindow(IWeatherForecastViewModel viewModel) { InitializeComponent(); this.DataContext = viewModel; }
public WeatherForecastView(IWeatherForecastViewModel viewModel) { InitializeComponent(); base.DataContext = viewModel; }
public MainWindow(IWeatherForecastViewModel viewModel) { InitializeComponent(); this.DataContext = viewModel; }