private void OnClear(object sender, RoutedEventArgs e)
{
ChartStack.ClearCharts();
logs.Clear();
ShowSchema();
CategoryList.SelectedItem = null;
allFlights.Clear();
if (currentFlightLog != null)
{
currentFlightLog.Clear();
logs.Add(currentFlightLog);
}
if (currentFlight != null)
{
currentFlight.Locations = new LocationCollection();
}
myMap.Children.Clear();
ImageViewer.Source = null;
}