Czoko_Smieciarka/Trunk/Interface/CzokoŚmieciarka.WPFv2/Models/Road.cs

40 lines
1.0 KiB
C#
Raw Normal View History

2019-04-01 21:53:06 +02:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using CzokoŚmieciarka.DataModels.Models;
2019-04-21 01:28:38 +02:00
using CzokoŚmieciarka.DataModels.Interfaces.Road;
2019-04-01 21:53:06 +02:00
using CzokoŚmieciarka.WPFv2.Interfaces;
namespace CzokoŚmieciarka.WPFv2.Models
{
2019-04-21 01:28:38 +02:00
class Road : IWPFObject, IRoad
2019-04-01 21:53:06 +02:00
{
public Image Image { get; set; }
2019-04-18 00:43:48 +02:00
//{
// get
// {
// return new Image
// {
// Source = new BitmapImage(new Uri(AppDomain.CurrentDomain.BaseDirectory + @"..\..\Images\intersection.png"))
// };
// }
//}
2019-04-01 21:53:06 +02:00
2019-04-01 23:10:31 +02:00
public Road()
2019-04-01 21:53:06 +02:00
{
2019-04-18 00:43:48 +02:00
Image = new Image()
2019-04-01 23:10:31 +02:00
{
2019-04-18 00:43:48 +02:00
Source =
new BitmapImage(new Uri(AppDomain.CurrentDomain.BaseDirectory + @"..\..\Images\intersection.png"))
2019-04-01 23:10:31 +02:00
};
2019-04-01 21:53:06 +02:00
}
2019-04-18 00:43:48 +02:00
public Coords Coords { get; set; }
2019-04-01 21:53:06 +02:00
}
}