示例#1
0
文件: GoalsView.cs 项目: nandub/DeOps
        private void SetDisplay(string html)
        {
            Debug.Assert(!html.Contains("<?"));

            // prevents clicking sound when browser navigates
            DetailsBrowser.SetDocNoClick(html);
        }
示例#2
0
        private void SetDisplay(string html)
        {
            Debug.Assert(!html.Contains("<?"));

            //if (!DisplayActivated)
            //    return;

            // watch transfers runs per second, dont update unless we need to
            if (html.CompareTo(DetailsBrowser.DocumentText) == 0)
            {
                return;
            }

            // prevents clicking sound when browser navigates
            DetailsBrowser.SetDocNoClick(html);
        }