using System; using System.Collections.Generic; using Comal.Classes; using InABox.Configuration; using InABox.Core; using Microsoft.Exchange.WebServices.Data; namespace PRSDesktop { public class EmployeeResourcePlannerPanel : EmployeeResourcePlanner, IPanel { public EmployeeResourcePlannerPanel() { SectionName = nameof(EmployeeResourcePlannerPanel); LoadSettings += (sender) => new UserConfiguration(nameof(EmployeeResourcePlannerPanel)).Load(); SaveSettings += (sender, properties) => new UserConfiguration(nameof(EmployeeResourcePlannerPanel)).Save(properties); } public string SectionName { get; } public DataModel DataModel(Selection selection) { return new AutoDataModel(new Filter(x=>x.ID).IsEqualTo(Guid.Empty)); } public event DataModelUpdateEvent? OnUpdateDataModel; public bool IsReady { get; set; } public void CreateToolbarButtons(IPanelHost host) { } public Dictionary Selected() { return new Dictionary(); } } }