Exemplo n.º 1
0
        /// <summary>
        /// Open sequenca koja se izvrsava unutar open poziva
        /// </summary>
        /// <param name="platform"></param>
        /// <param name="format"> </param>
        protected inputResultCollection openSequence(IPlatform platform, dialogFormatSettings format)
        {
            Boolean doKeepReading = true;
            Boolean doKeepOpened  = false;


            // format.apply(this, platform);
            inputResultCollection results = null;

            do
            {
                refresh();

                results          = new inputResultCollection();
                results.platform = platform;

                while (doKeepReading)
                {
                    render(platform, true);
                    results       = read(results);
                    doKeepReading = results.doKeepReading();
                }

                results = execute(results);
            } while (doKeepOpened);

            return(results);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Otvara dijalog i ceka dok se uspesno ne zatvori
        /// </summary>
        /// <param name="platform"></param>
        /// <param name="horizontal"></param>
        /// <param name="vertical"></param>
        /// <returns></returns>
        public inputResultCollection open(IPlatform platform, dialogFormatSettings format)
        {
            var output = openSequence(platform, format);

            return(output);
        }