void Diagram_ConnectorClicked(object sender, ConnectorClickedEventArgs args) { diagram.ClearSelection(); if (Notifier != null && Notifier.Superview == this) { Notifier.RemoveFromSuperview(); } else if (InfoNotifier != null && InfoNotifier.Superview == this) { InfoNotifier.RemoveFromSuperview(); } }
void Diagram_ConnectorClicked(object sender, ConnectorClickedEventArgs args) { diagram.ClearSelection(); }