public void PostOnAddHost(VdcReturnValueBase returnValue) { HostModel model = (HostModel) getWindow(); model.StopProgress(); if (returnValue != null && returnValue.getSucceeded()) { Cancel(); PostAction(); } }