Posted 20 May 2020, 2:08 am EST
I want to set the default working time to all day with code, just like setting it in the Project Information Dialog . But the following code did not work
gv.DefaultWorkingTimes.Interval_1.Empty = false; gv.DefaultWorkingTimes.Interval_1.From = new System.DateTime(1, 1, 1, 0, 0, 0); gv.DefaultWorkingTimes.Interval_1.To = new System.DateTime(1, 1, 1, 23, 59, 59);