private void Model_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) { if ("RightAnalyzeLensResponse".Equals(e.PropertyName)) { RightLens.InvalidateVisual(); RightLens.MouseLeftButtonDown -= LensSelected; RightLens.MouseLeftButtonDown += LensSelected; RightLens.MouseMove += Tooltip_MouseMove; } else if ("LeftAnalyzeLensResponse".Equals(e.PropertyName)) { LeftLens.InvalidateVisual(); LeftLens.MouseLeftButtonDown -= LensSelected; LeftLens.MouseLeftButtonDown += LensSelected; LeftLens.MouseMove += Tooltip_MouseMove; } }
private void Toolbar_Mask_Clicked(object sender, RoutedEventArgs e) { mask = !mask; RightLens.InvalidateVisual(); LeftLens.InvalidateVisual(); }
private void Toolbar_Compare_Clicked(object sender, RoutedEventArgs e) { compare = !compare; RightLens.InvalidateVisual(); LeftLens.InvalidateVisual(); }
private void Toolbar_PowerMap_Clicked(object sender, EventArgs e) { mapping = ToPowerMap; RightLens.InvalidateVisual(); LeftLens.InvalidateVisual(); }