Beispiel #1
0
        public IEnumerable <IResult> GetId()
        {
            IsCustomerNameReadOnly = true;
            var result = new CustomerIdResult();

            CanDataEntry = false;
            yield return(Show.Busy("Generating Customer Id"));

            yield return(result);

            CustomerId = result.Response.ToString();
            yield return(Show.NotBusy());

            CanDataEntry = true;
        }
        public IEnumerable<IResult> GetId()
        {
            IsCustomerNameReadOnly = true;

#if WINFORMS
            CustomerIdResult result = new CustomerIdResult();
#else
            CustomerIdResult result = new CustomerIdResult((Form) GetView());
#endif

            CanDataEntry = false;
            yield return Show.Busy("Generating Customer Id");
            yield return result;

            CustomerId = result.Response.ToString();
            yield return Show.NotBusy();
            CanDataEntry = true;
        }
        public IEnumerable<IResult> GetId()
        {
            IsCustomerNameReadOnly = true;
            var result = new CustomerIdResult();

            CanDataEntry = false;
            yield return Show.Busy("Generating Customer Id");
            yield return result;

            CustomerId = result.Response.ToString();
            yield return Show.NotBusy();
            CanDataEntry = true;
        }