Esempio n. 1
0
 public int GetAreaWidth()
 {
     try
     {
         int width = factoryService.getAreaWidth(sessionID);
         return(width);
     }
     catch (EndpointNotFoundException)
     {
         ClientServerEvent(this, new ClientServerEventArgs());
     }
     catch (FaultException)
     {
         ClientServerEvent(this, new ClientServerEventArgs("Fehler auf Server"));
     }
     return(-1);
 }
Esempio n. 2
0
        public int getAreaWidth()
        {
            int width = factoryService.getAreaWidth(sessionID);

            return(width);
        }