private void dtgrdParametre_MouseRightButtonDown(object sender, MouseButtonEventArgs e)
 {
     try
     {
         ObjetSelectionne              = dtgrdParametre.SelectedItem as CustomHabilitation;
         SessionObject.objectSelected  = dtgrdParametre.SelectedItem as CustomHabilitation;
         SessionObject.gridUtilisateur = dtgrdParametre;
     }
     catch (Exception ex)
     {
         Message.Show(ex.Message, Languages.LibelleCodePoste);
     }
 }
 public UcWKFSetUtilisateurRang(CustomHabilitation customHab, DataGrid dtGrid)
 {
     try
     {
         if (dataGrid != null)
         {
             __donnesDatagrid = dataGrid.ItemsSource as ObservableCollection <CustomHabilitation>;
         }
         InitializeComponent();
         _customHab = customHab;
     }
     catch (Exception ex)
     {
         Message.Show(ex.Message, Galatee.Silverlight.Resources.Langue.errorTitle);
     }
 }