private void LoadEtatCaisse()
        {
            List <int> lstCentre  = new List <int>();
            DateTime?  DateCaisse = this.dtp_debut.Text == null ? null : this.dtp_debut.SelectedDate;
            bool       IsEncour   = false;

            if (this.Chk_EnCours.IsChecked == true)
            {
                IsEncour = true;
            }

            if (this.Cbo_Centre.Tag != null)
            {
                List <Galatee.Silverlight.ServiceAccueil.CsCentre> lstCentreSelect = Cbo_Centre.Tag as List <Galatee.Silverlight.ServiceAccueil.CsCentre>;
                foreach (Galatee.Silverlight.ServiceAccueil.CsCentre item in lstCentreSelect)
                {
                    lstCentre.Add(item.PK_ID);
                }
            }
            else if (this.Cbo_Site.Tag != null)
            {
                List <Galatee.Silverlight.ServiceAccueil.CsSite> lstSiteSelect = Cbo_Site.Tag as List <Galatee.Silverlight.ServiceAccueil.CsSite>;
                foreach (Galatee.Silverlight.ServiceAccueil.CsSite item in lstSiteSelect)
                {
                    List <Galatee.Silverlight.ServiceAccueil.CsCentre> stCentreS = SessionObject.LstCentre.Where(t => t.FK_IDCODESITE == item.PK_ID).ToList();
                    foreach (Galatee.Silverlight.ServiceAccueil.CsCentre items in stCentreS)
                    {
                        lstCentre.Add(items.PK_ID);
                    }
                }
            }
            else
            {
                if (Cbo_Centre.Tag == null && Cbo_Site.Tag == null)
                {
                    lstCentre = SessionObject.LstIdCentreDuPerimetreAction;
                }
            }
            //List<int> lstCentreCaisse = string.IsNullOrEmpty( this.Txt_CodeCentre .Text) ? SessionObject.LstIdCentreDuPerimetreAction:  ((CsCentre)Txt_CodeCentre.Tag).PK_ID
            CaisseServiceClient service1 = new CaisseServiceClient(Utility.ProtocoleFacturation(), Utility.EndPoint("Caisse"));

            service1.RetourneSuppervisionCaisseCompleted += (es, argss) =>
            {
                List <CsHabilitationCaisse> LstHabilCaisse = new List <CsHabilitationCaisse>();
                if (argss != null && argss.Cancelled)
                {
                    return;
                }
                LstHabilCaisse            = argss.Result;
                dtgEtatCaisse.ItemsSource = null;
                dtgEtatCaisse.ItemsSource = LstHabilCaisse;
            };
            service1.RetourneSuppervisionCaisseAsync(lstCentre, DateCaisse, IsEncour);
            service1.CloseAsync();
        }