//reloads event info
 public void reload()
 {
     EventWindow newEventWindow = new EventWindow();
     newEventWindow.ShowActivated = true;
     newEventWindow.Show();
     this.Close();
 }
        /// <summary>
        /// Default constructor.
        /// </summary>
        public AddEventWindow(EventWindow eventWindow)
        {
            InitializeComponent();

            // Add handlers for window availability events
            AddWindowAvailabilityHandlers();

            _eventWindow = eventWindow;
            eventName = "";
        }
 private void addEvent_Click(object sender, RoutedEventArgs e)
 {
     EventWindow evWin = new EventWindow();
     evWin.WindowState = System.Windows.WindowState.Normal;
     evWin.ShowDialog();
 }
 public EventEntry(EventWindow eventWindow)
 {
     InitializeComponent();
     _eventWindow = eventWindow;
 }