Changeset 1511 for Scheduling
- Timestamp:
- Aug 9, 2012, 1:30:57 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/CGView.cs
r1474 r1511 1627 1627 private bool AddAppointmentEnabled() 1628 1628 { 1629 //new in 1.7: If there are no resources in the resource group, just say false. 1630 //otherwise, we end up with being able to add appointments to empty resource groups. 1631 if (this.Document.Resources.Count == 0) 1632 return false; 1633 1634 //No cells selected for appointment. False. 1629 1635 if (this.calendarGrid1.SelectedRange.Cells.CellCount < 1) 1630 1636 return false; 1631 1637 1638 //If manager, can always make appointment 1632 1639 bool bManager = this.DocManager.ScheduleManager; 1633 1640 if (bManager == true) … … 1635 1642 return (true); 1636 1643 } 1644 // otherwise, check permissions, then check slots. 1637 1645 else 1638 1646 {
Note:
See TracChangeset
for help on using the changeset viewer.