Exemplo n.º 1
0
 public static void SetPanelBarWidth(decimal width)
 {
     try
     {
         using (_certonaService = new CertonaServiceClient())
         {
             try
             {
                 UserDTO user = FormsAuthenticationWrapper.User;
                 var     panelBarWidthRequest = new SetPanelBarWidthRequest
                 {
                     User  = user,
                     Width = width
                 };
                 _certonaService.SetPanelBarWidth(panelBarWidthRequest);
             }
             catch (TimeoutException exception)
             {
                 _certonaService.Abort();
                 throw;
             }
             catch (CommunicationException exception)
             {
                 _certonaService.Abort();
                 throw;
             }
         }
     }
     catch (Exception ex)
     {
         throw;
     }
 }