static Workspace() { Solution = new Solution(); AppDataPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\OpenIDE\"; SolutionPath = Environment.GetFolderPath(Environment.SpecialFolder.Desktop); }
static Workspace() { Solution = new Solution(); AppDataPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\OpenIDE\"; SolutionPath = Environment.GetFolderPath(Environment.SpecialFolder.Desktop); Cache = MemoryCache.Default; OpenedDocuments = new Dictionary<string, DocumentWindow>(); }
public static RadTreeNode Build(Solution sol, RadContextMenu radContextMenu1) { var ret = new RadTreeNode($"Solution '{sol.Name}'", true); ret.Tag = sol; foreach (var p in sol.Projects) { var pn = Build(p, radContextMenu1); ret.Nodes.Add(pn); } return ret; }
public static RadTreeNode Build(Solution sol) { var ret = new RadTreeNode($"Solution '{sol.Name}'", true); ret.Tag = sol; foreach (var p in sol.Projects) { var pn = new RadTreeNode($"Project '{p.Name}'", true); pn.Tag = p; foreach (var f in p.Files) { var n = new RadTreeNode(f.Src); n.Tag = f; pn.Nodes.Add(n); } ret.Nodes.Add(pn); } return ret; }