private void btn_OpenSvnWorkSpace_Click(object sender, EventArgs e) { if (this.currentTask == null) { MessageBox.Show("没有选中的任务"); return; } if (string.IsNullOrEmpty(this.lbl_Workspace.Text)) { MessageBox.Show("无法找到工作区,【工作区目录】无内容"); return; } SysUtil.OpenDir(this.lbl_Workspace.Text); }
public void OpenTaskDir(Task task) { string xpath = task.Dir; SysUtil.OpenDir(xpath); }
/// <summary> /// 打开任务工作区 /// </summary> private void OpenTaskDir() { string path = sys.Default.localWorkspace.Trim('\\') + @"\" + this.taskContent; SysUtil.OpenDir(path); }