Пример #1
0
 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);
 }
Пример #2
0
        public void OpenTaskDir(Task task)
        {
            string xpath = task.Dir;

            SysUtil.OpenDir(xpath);
        }
Пример #3
0
        /// <summary>
        /// 打开任务工作区
        /// </summary>
        private void OpenTaskDir()
        {
            string path = sys.Default.localWorkspace.Trim('\\') + @"\" + this.taskContent;

            SysUtil.OpenDir(path);
        }