コード例 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CarView" /> class.
        /// </summary>
        /// <param name="model">The model.</param>
        public CarView(AbstractCarViewModel model)
        {
            this.model = model;

            this.InitializeComponent();
            this.CarIcon.Height = SizeEnum.IconSize;
            this.CarIcon.Width = SizeEnum.IconSize;
        }
コード例 #2
0
 public void SetUp()
 {
     position1 = new VRPosition(42, 42, 42);
     car = new AmbulanceCarViewModel(position1, 1);
 }
コード例 #3
0
 public void SetUp()
 {
     position1 = new VRPosition(42, 42, 42);
     car = new NormalCarViewModel(position1, 1);
 }
コード例 #4
0
 public void SetUp()
 {
     position1 = new VRPosition(42, 42, 42);
     car = new FiretruckCarViewModel(position1, 1);
 }