Esempio n. 1
0
 public Main()
 {
     InitializeComponent();
     createResource        = new ResourceMenu();
     createTask            = new TaskMenu();
     formUtilities         = new FormUtilities();
     createdEventsOverview = new List <Event>();
     calendarFunctions     = new GoogleCalendarSync();
 }
Esempio n. 2
0
        public TaskMenu()
        {
            InitializeComponent();

            formfunction = new FormUtilities();

            hideOrShowItems(false);

            cbTaskPhase.DataSource = Enum.GetValues(typeof(Projectphase));
        }
Esempio n. 3
0
        public ResourceMenu()
        {
            InitializeComponent();

            formfunction = new FormUtilities();

            hideOrShowItems(false);

            // Set datepickers to default starting values
            availableDateRange.Value      = DateTime.Now;
            unavailableDateRange.Value    = DateTime.Now;
            unavailableDateRangeEnd.Value = DateTime.Now.AddDays(7);

            cbResourceRole.DataSource = Enum.GetValues(typeof(ResourceRole));
        }