Ejemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="actionToPerform"></param>
        /// <param name="id"></param>
        /// <param name="propertyName"></param>
        /// <param name="propertyValue"></param>
        internal void PerformAction(RegistrationAction actionToPerform, String id, String propertyName, String propertyValue)
        {
            var msg = new JSON.JsonHelper((int)actionToPerform, id, propertyName, propertyValue);

            _WEBVIEW_OWNERS[this].SendJavaScript(msg.ToString());
        }
Ejemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="actionToPerform"></param>
        /// <param name="sourceId"></param>
        /// <param name="objectHtml"></param>
        /// <param name="objectId"></param>
        /// <param name="css"></param>
        internal void PerformAction(RegistrationAction actionToPerform, String sourceId, String objectHtml, String objectId, String css)
        {
            var msg = new JSON.JsonHelper((int)actionToPerform, sourceId, objectHtml, objectId, css);

            _WEBVIEW_OWNERS[this].SendJavaScript(msg.ToString());
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Notifies the webview that an event
        /// </summary>
        /// <param name="actionToPerform">The action to send to the HTML page</param>
        /// <param name="id">Which element to send it to</param>
        /// <param name="type">The type of action</param>
        internal void PerformAction(RegistrationAction actionToPerform, String id, HtmlEventType type)
        {
            var msg = new JSON.JsonHelper((int)actionToPerform, id, type.ToString());

            _WEBVIEW_OWNERS[this].SendJavaScript(msg.ToString());
        }