Files @ 65c134a3d619
Branch filter:

Location: seniordesign-ui/Demo.WindowsPresentation/Controls/TrolleyTooltip.xaml.cs

mkanning@CL-ENS241-10.cedarville.edu
Initial import of mapping source (huge commit)
using System.Windows.Controls;
using GMap.NET;
using Demo.WindowsForms;

namespace Demo.WindowsPresentation.Controls
{
   /// <summary>
   /// Interaction logic for TrolleyTooltip.xaml
   /// </summary>
   public partial class TrolleyTooltip : UserControl
   {
      public TrolleyTooltip()
      {
         InitializeComponent();
      }

      public void SetValues(string type, VehicleData vl)
      {
         Device.Text = vl.Id.ToString();
         LineNum.Text = type + " " + vl.Line;
         StopName.Text = vl.LastStop;
         TrackType.Text = vl.TrackType;
         TimeGps.Text = vl.Time;
         Area.Text = vl.AreaName;
         Street.Text = vl.StreetName;
      }
   }
}