public FormHome() { InitializeComponent(); appTaskManager = new UserClientDecorator(new AppTaskManager()); PopulateFilterComboBox(); AgendaToDisplay = appTaskManager.GetAgendaController().GetAgenda(); }
private void buttonFilter_Click(object sender, EventArgs e) { FormFilter formFilter = new FormFilter(comboBoxFilterOptions.GetItemText(comboBoxFilterOptions.SelectedItem) + ":"); formFilter.ShowDialog(); if (formFilter.returningFilterString.Equals(string.Empty)) { return; } ActionerOfFilter.FilteringCode = (int)comboBoxFilterOptions.SelectedValue; appTaskManager.ExecuteCommand("FILTER", formFilter.returningFilterString); FormHome_Load(sender, e); AgendaToDisplay = appTaskManager.GetAgendaController().GetAgenda(); }
public AgendaController GetAgendaController() { return(decoratedClient.GetAgendaController()); }