private void _buttonEditUser_Click(object sender, RoutedEventArgs e)
 {
     _userView = new UserView();
     _userView.UserInRole = (UserInRole)_listviewUser.SelectedItem;
     _userView.Closed += new EventHandler(UserListView_Loaded);
     _userView.ShowDialog();
 }
 private void _buttonAddUser_Click(object sender, RoutedEventArgs e)
 {
     _userView = new UserView();
     _userView.Closed += new EventHandler(UserListView_Loaded);
     _userView.ShowDialog();
 }