private void pathL1_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
 {
     if (!driverCountrol.parentControl.isVisible)
     {
         if (driverCountrol.parentControl.Visibility == Visibility.Hidden)
         {
             driverCountrol.parentControl.Visibility = Visibility.Visible;
         }
         driverCountrol.parentControl.Show();
         relationLine.Show();
     }
     else
     {
         driverCountrol.parentControl.Hide();
         relationLine.Hide();
     }
 }
예제 #2
0
 private void RelatedPanel_OnEcosystem(object sender, EventArgs e)
 {
     relationLine.Show();
 }