示例#1
0
        private void onHandBookSearchLinkClicked(LinkTextComponent comp)
        {
            string text = comp.Href.Substring("handbooksearch://".Length);

            if (!dialog.IsOpened())
            {
                dialog.TryOpen();
            }

            dialog.Search(text);
        }
示例#2
0
        private void onHandBookLinkClicked(LinkTextComponent comp)
        {
            string target = comp.Href.Substring("handbook://".Length);

            if (!dialog.IsOpened())
            {
                dialog.TryOpen();
            }

            dialog.OpenDetailPageFor(target);
        }