Commit 2dad5677 authored by 黄奎's avatar 黄奎

页面修改

parent 1ac55b16
...@@ -160,16 +160,17 @@ namespace Eeo ...@@ -160,16 +160,17 @@ namespace Eeo
MessageBox.Show("结束时间不能小于开始时间"); MessageBox.Show("结束时间不能小于开始时间");
return; return;
} }
if (string.IsNullOrEmpty(_eeoTask.WorkSpace)) //if (string.IsNullOrEmpty(_eeoTask.WorkSpace))
{ //{
MessageBox.Show("请选择视频存放路径"); // MessageBox.Show("请选择视频存放路径");
return; // return;
} //}
this.ChangeContrlStatus(); this.ChangeContrlStatus();
_eeoTask.TaskId = Guid.NewGuid().ToString(); _eeoTask.TaskId = Guid.NewGuid().ToString();
_eeoTask.StartTime = dt1; _eeoTask.StartTime = dt1;
_eeoTask.EndTime = dt2; _eeoTask.EndTime = dt2;
_eeoTask.CourseName = rbName.Text.Trim(); _eeoTask.CourseName = rbName.Text.Trim();
_classList = new List<CourseClass>();
this.SaveConfig(); this.SaveConfig();
Task.Factory.StartNew(() => RequestCourse()); Task.Factory.StartNew(() => RequestCourse());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment