Example #1
0
 private void PrepareRouteLine(PpmPoint ppmPoint)
 {
     UpdateStartOfLine(_ppmPoint.Screen.LineIn);
     _ppmPoint.Screen.LineOut = new Line();
     UpdateEndOfLine(_ppmPoint.Screen.LineOut);
     EventsHelper.OnAddVisualLine(ppmPoint.Screen.LineIn);
     EventsHelper.OnOutLineFromLastPoint(_ppmPoint.Screen.LineOut);
 }
 private void VisualAerodrome_OnPreviewMouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     _aerodromePoint.AerodromeInfo.ActiveAerodrome = true;
     _routeHelper.AddDepartureAerodrome(_aerodromePoint.Guid);
     El.Stroke          = new SolidColorBrush(Colors.LimeGreen);
     El.StrokeThickness = 1.5;
     EventsHelper.OnChangeAerodromeEvent(_aerodromePoint);
     EventsHelper.OnOutLineFromLastPoint(_aerodromePoint.Screen.LineOut);
 }