private void PartialGhostAdorner_PreviewMouseMove(object sender, System.Windows.Input.MouseEventArgs e)
 {
     CurrentEditor.RaiseEvent(e);
 }
 private void NRingAdorner_PreviewMouseUp(object sender, System.Windows.Input.MouseEventArgs e)
 {
     CurrentEditor.RaiseEvent(e);
 }
 private void PartialGhostAdorner_MouseUp(object sender, MouseButtonEventArgs e)
 {
     CurrentEditor.RaiseEvent(e);
 }
Exemple #4
0
 protected virtual void BaseSelectionAdorner_MouseLeftButtonDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     CurrentEditor.RaiseEvent(e);
 }
Exemple #5
0
 protected virtual void BaseSelectionAdorner_MouseMove(object sender, MouseEventArgs e)
 {
     CurrentEditor.RaiseEvent(e);
 }
Exemple #6
0
 protected virtual void BaseSelectionAdorner_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e)
 {
     CurrentEditor.RaiseEvent(e);
 }
Exemple #7
0
 //override these methods in derived classes to handle specific events
 //The forwarding chain for events is adorner -> CurrentEditor -> attached behaviour
 protected virtual void BaseSelectionAdorner_PreviewKeyDown(object sender, KeyEventArgs e)
 {
     CurrentEditor.RaiseEvent(e);
 }
 private void DrawBondAdorner_PreviewKeyDown(object sender, System.Windows.Input.KeyEventArgs e)
 {
     CurrentEditor.RaiseEvent(e);
 }