/// <summary>
        ///  Admin constructor. Access chrome and form from another thread
        /// </summary>
        /// <param name="browser">A ChromiumWebBrowser object</param>
        /// <param name="formulario">A (your formular) object</param>
        public SynthesizerUIHelper(ChromiumWebBrowser browser, Synthesizer formulario)
        {
            if (browser is ChromiumWebBrowser)
            {
                Chrome = browser;
            }
            else
            {
                throw new Exception("The first parameter of the class must be a ChromiumWebBrowser object. " + browser.GetType() + " given.");
            }

            if (formulario is Synthesizer)
            {
                ChromeForm = formulario;
            }
            else
            {
                throw new Exception("The second parameter of the class must be a (Your formular) object. " + formulario.GetType() + " given.");
            }
        }
        /// <summary>
        ///  Admin constructor. Access chrome and form from another thread
        /// </summary>
        /// <param name="browser">A ChromiumWebBrowser object</param>
        /// <param name="formulario">A (your formular) object</param>
        public SynthesizerUIHelper(ChromiumWebBrowser browser, Synthesizer formulario) 
        {
            if (browser is ChromiumWebBrowser)
            {
                Chrome = browser;
            }
            else 
            {
                throw new Exception("The first parameter of the class must be a ChromiumWebBrowser object. "+ browser.GetType() + " given.");
            }

            if (formulario is Synthesizer)
            {
                ChromeForm = formulario;
            }
            else
            {
                throw new Exception("The second parameter of the class must be a (Your formular) object. " + formulario.GetType() + " given.");
            }
        }