Exemplo n.º 1
0
 private void AlertImage_MouseDown_1(object sender, MouseButtonEventArgs e)
 {
     if (DataContext is AlertViewModel)
     {
         DataGridViewModel.ToggleLayerVisibility();
     }
 }
Exemplo n.º 2
0
 private void StopImage_MouseDown_1(object sender, MouseButtonEventArgs e)
 {
     if (DataGridViewModel != null)
     {
         DataGridViewModel.ToggleLayerVisibility();
     }
 }