public static void SetProject(CWProject Project) { AssertOpenProject("SetProject"); g.Project.ProjectName = Project.name; g.Project.ProjectPath = Project.path; g.Project.ProjectType = (short)Project.type; g.Project.DebugAutoInsert = Project.debugger_oneclick_enabled; g.Project.DebugEnabled = Project.debugger_enabled; g.Project.DebugExe = Project.debugger_exe; g.Project.DebugMainCs = Project.debugger_oneclick_maincs; g.Project.DebugParams = Project.debugger_params; g.Project.DebugPasswd = Project.debugger_passwd; g.Project.DebugPort = Project.debugger_port; }
protected string GetModuleFullName(CWProject project) { string result = string.Empty; while (project != null) { if (String.IsNullOrEmpty(result)) { result = project.ProjectExplanation; } else { result = "----" + result; } project = project.ParentProjects; } return(result); }
public static void CreateProject(CWProject project, string saveto) { CProject newproject = new CProject(); newproject.DebugAutoInsert = project.debugger_oneclick_enabled; newproject.DebugMainCs = project.debugger_oneclick_maincs; newproject.DebugEnabled = project.debugger_enabled; newproject.DebugExe = project.debugger_exe; newproject.DebugParams = project.debugger_params; newproject.DebugPasswd = project.debugger_passwd; newproject.DebugPort = project.debugger_port; newproject.ProjectName = project.name; newproject.ProjectPath = project.path; newproject.ProjectType = (short)project.type; // Save the project CProject.SaveProject(saveto, newproject); }
public void CWProjectLoad(CWProject ProjectDetails, ref bool cancel) { }