public void ChangeRequest(object selectedObject) { CurrentRequest = selectedObject as RequestNode; if (!CurrentRequest.ReEvaluate(Id)) { if (CurrentRequest.Response != null && CurrentRequest.Response != string.Empty) { RequestString = CurrentRequest.Request.ToString(); Response = CurrentRequest.Response; HttpStatusCode = "Retrieved From Cache"; return; } } RequestString = CurrentRequest.Request.ToString(); Response = "Waitin for a reply from the server..."; HttpStatusCode = ""; Connection.MakeRequest(Dispatcher, CurrentRequest.Request); }