private void ChangePassword() { VdcReturnValueBase returnValue = Frontend.RunAction( VdcActionType.ChangeUserPassword, new ChangeUserPasswordParameters( (String) getUserName().getEntity(), (String) getPassword().getEntity(), (String) getNewPassword().getEntity(), (String) getDomain().getSelectedItem())); if (returnValue != null && returnValue.getSucceeded()) { // TODO: } }
public void PostOnAddHost(VdcReturnValueBase returnValue) { HostModel model = (HostModel) getWindow(); model.StopProgress(); if (returnValue != null && returnValue.getSucceeded()) { Cancel(); PostAction(); } }