private void HideFormModal(ServiceRequest _request) { WACFormControl form = _request.Requestor as WACFormControl; WACFormViewModel fvvm = GetViewModelForControl(form) as WACFormViewModel; fvvm.ShowModal(form, false); }
private void ShowFormModal(ServiceRequest _request) { WACFormControl form = _request.Requestor as WACFormControl; WACFormViewModel fvvm = GetViewModelForControl(form) as WACFormViewModel; if (fvvm != null && fvvm.ModalDisplayed) { fvvm.ShowModal(form, true); } }