private void Add_Event_Button_Click(object sender, RoutedEventArgs e) { if (!AddPlaceOpen && !AddTourOpen && !AddEventOpen) { AddEvent addEvent = new AddEvent(window); addEvent.Show(); Delete_Button.IsEnabled = false; AddEventOpen = true; } }