private void CheickCodeTypeComteExist()
 {
     try
     {
         InterfaceComptableServiceClient service1 = new InterfaceComptableServiceClient(Utility.ProtocoleFacturation(), Utility.EndPoint("InterfaceComptable"));
         service1.CheickCodeTypeComteExistCompleted += (sr, res) =>
         {
             if (res != null && res.Cancelled)
             {
                 return;
             }
             if (res.Result == false)
             {
                 Message.ShowError("Ce code exite deja,Veuillez le modifier", "Avertissement");
                 txt_code.Text = string.Empty;
                 txt_code.Focus();
             }
         };
         service1.CheickCodeTypeComteExistAsync(txt_code.Text.Trim());
         service1.CloseAsync();
     }
     catch (Exception ex)
     {
         Message.ShowError(ex.Message, "ChargerListeDeProduit");
     }
 }