private void btnManagePatientNotes_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            if (_managePatientNotesWindow == null)
            {
                _managePatientNotesWindow = new ManagePatientsWindow();
                _managePatientNotesWindow.Closed += Window_Closed;
            }

            _managePatientNotesWindow.Show();
            _managePatientNotesWindow.WindowState = WindowState.Normal;
        }
 void Window_Closed(object sender, EventArgs e)
 {
     if (sender is ManageAreasWindow)
     {
         _manageAreasWindow = null;
     }
     else if (sender is ManagePatientsWindow)
     {
         _managePatientNotesWindow = null;
     }
 }