aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/MachineSettingsModuleSettings.cs
blob: 869ecc5d6833f38f276800c200c6dd424d92915f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Settings;

namespace Tango.PPC.MachineSettings
{
    public class MachineSettingsModuleSettings : SettingsBase
    {

    }
}
> public class Solution :ISolution { public ObservableCollection<IProject> Projects { get; set; } public string Name { get; set; } 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()); } } }