Exemplo n.º 1
0
        public View loadPins(Guid currentProfile)
        {
            try
            {
                hwv.RemoveAllFunctions();
                hwv.RegisterNativeFunction("getPinGridValues", input =>
                {
                    return(getPinGridValues(input));
                });

                // The file associated with this can be whatever - makes no difference
                //using the previous example from the playground

                hwv.LoadFromContent("www/Pingrid.html");
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message + " " + ex.InnerException + " " + ex.StackTrace);
            }
        }