41 lines
1.0 KiB
C#
41 lines
1.0 KiB
C#
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;
|
|
using CzokoŚmieciarka.WPFv2.Interfaces;
|
|
|
|
namespace CzokoŚmieciarka.WPFv2.Models
|
|
{
|
|
class Road : IWPFObject
|
|
{
|
|
public Image Image
|
|
{
|
|
get
|
|
{
|
|
return new Image
|
|
{
|
|
Source = new BitmapImage(new Uri(AppDomain.CurrentDomain.BaseDirectory + @"..\..\Images\intersection.png")),
|
|
Width = 100,
|
|
Height = 100
|
|
};
|
|
}
|
|
}
|
|
|
|
public Road()
|
|
{
|
|
//Image = new Image()
|
|
//{
|
|
// Source =
|
|
// new BitmapImage(new Uri(AppDomain.CurrentDomain.BaseDirectory + @"..\..\Images\intersection.png"))
|
|
//};
|
|
}
|
|
|
|
public Coords Coords { get; set; }
|
|
}
|
|
}
|