public PingerPingCommand(PingerViewModel viewModel) { _viewModel = viewModel; _synchronizationContext = SynchronizationContext.Current; }
public MainWindow() { DataContext = new PingerViewModel(); InitializeComponent(); }