예제 #1
0
        private void HideFormModal(ServiceRequest _request)
        {
            WACFormControl   form = _request.Requestor as WACFormControl;
            WACFormViewModel fvvm = GetViewModelForControl(form) as WACFormViewModel;

            fvvm.ShowModal(form, false);
        }
예제 #2
0
        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);
            }
        }