aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/ViewModels/HardwareVersionsViewVM.cs
blob: a9d5462a6473eb02cf38028affceb63bf7ce1dc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.BL.Entities;
using Tango.MachineStudio.Common.Notifications;

namespace Tango.MachineStudio.DB.ViewModels
{
    public class HardwareVersionsViewVM : DbTableViewModel<HardwareVersion>
    {
        public HardwareVersionsViewVM(INotificationProvider notification) : base(notification)
        {
        }
    }
}
public string SolutionLocation { get; set; } public string WorkingFolder => Path.GetDirectoryName(SolutionLocation); public BitmapSource Image => ResourceHelper.GetImageFromResources("Images/NewFileCollection_16x.png"); public bool CanOpen => false; public ObservableCollection<ISolutionItemCommand> Commands { get; set; } public event EventHandler AddProjectEvent; public Solution() { Name = "Solution"; Projects = new ObservableCollection<IProject>(); Commands = new ObservableCollection<ISolutionItemCommand> { new SolutionItemCommand(AddProject) { Name = "Add New Project..." } }; } /// <summary> /// Adds Project Dialog. /// </summary> public void AddProject() { AddProjectEvent?.Invoke(this, new EventArgs()); } } }