private void InitializeDataGrid() { EventDBContext.IntitalizeDB(); events = EventDBContext.GetEvents(); EventDataGrid.Items.Clear(); foreach (EventDBContext eventt in events) { EventDataGrid.Items.Add(eventt); } }