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); }
public int getAreaWidth() { int width = factoryService.getAreaWidth(sessionID); return(width); }