private void Closeing(object sender, CancelEventArgs e) { try { configurationRepository.BackupOldAndStoreNewUserState(state); listener.Closing(); } catch (Exception ex) { ExceptionShower.Do(ex); } }