public MainWindow() { InitializeComponent(); progressTimer.Interval = new TimeSpan(0, 0, 0, 1); progressTimer.Tick += ProgressTimer_Tick; DataContext = ViewModel; SearchPanel.Visibility = Visibility.Collapsed; activeDiff = LeftDiff; }
private void LeftDiff_GotFocus(object sender, RoutedEventArgs e) { activeDiff = LeftDiff; ViewModel.FindPanelRight = false; }
private void RightDiff_GotFocus(object sender, RoutedEventArgs e) { activeDiff = RightDiff; ViewModel.FindPanelRight = true; }