Exemple #1
0
 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;
     }
 }
Exemple #2
0
 private void Toolbar_Mask_Clicked(object sender, RoutedEventArgs e)
 {
     mask = !mask;
     RightLens.InvalidateVisual();
     LeftLens.InvalidateVisual();
 }
Exemple #3
0
 private void Toolbar_Compare_Clicked(object sender, RoutedEventArgs e)
 {
     compare = !compare;
     RightLens.InvalidateVisual();
     LeftLens.InvalidateVisual();
 }
Exemple #4
0
 private void Toolbar_PowerMap_Clicked(object sender, EventArgs e)
 {
     mapping = ToPowerMap;
     RightLens.InvalidateVisual();
     LeftLens.InvalidateVisual();
 }