|
|
@ -83,7 +83,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.View |
|
|
|
GanttChart.AddGanttTask(row, new GanttTask() { Start = DateTime.Parse("2024-12-30 00:30:00"), End = DateTime.Parse("2024-12-30 01:00:00"), Name = "GanttRow:"+"GanttTask 1", TaskProgressVisibility = System.Windows.Visibility.Hidden }); |
|
|
|
GanttChart.AddGanttTask(row, new GanttTask() { Start = DateTime.Parse("2024-12-30 06:00:00"), End = DateTime.Parse("2024-12-30 07:00:00"), Name = "GanttRow:"+"GanttTask 2" }); |
|
|
|
GanttChart.AddGanttTask(row, new GanttTask() { Start = DateTime.Parse("2024-12-30 10:00:00"), End = DateTime.Parse("2024-12-30 20:00:00"), Name = "GanttRow:"+"GanttTask 3" }); |
|
|
|
} |
|
|
|
}//创建日程图表
|
|
|
|
private string FormatYear(Period period) |
|
|
|
{ |
|
|
|
return period.Start.Year.ToString(); |
|
|
@ -111,8 +111,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.View |
|
|
|
else |
|
|
|
return new System.Windows.Media.SolidColorBrush(System.Windows.Media.Colors.Transparent); |
|
|
|
} |
|
|
|
|
|
|
|
private void ListViewItem_Quit(object sender, System.Windows.Input.MouseButtonEventArgs e)//退出事件
|
|
|
|
private void ListViewItem_New(object sender, System.Windows.Input.MouseButtonEventArgs e)//新建事件
|
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
@ -126,15 +125,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.View |
|
|
|
{ |
|
|
|
} |
|
|
|
|
|
|
|
private void ListViewItem_Save(object sender, System.Windows.Input.MouseButtonEventArgs e)//保存事件
|
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
private void ListViewItem_Delete(object sender, System.Windows.Input.MouseButtonEventArgs e)//删除事件
|
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void ListViewItem_Before(object sender, MouseButtonEventArgs e)//前一天
|
|
|
|
{ |
|
|
|