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(); } }
private void RelatedPanel_OnEcosystem(object sender, EventArgs e) { relationLine.Show(); }