示例#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);
 }
示例#2
0
        public int getAreaWidth()
        {
            int width = factoryService.getAreaWidth(sessionID);

            return(width);
        }