使链接在App Studio中工作 [英] making links work in App Studio

查看:67
本文介绍了使链接在App Studio中工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



完全是新手,我正在尝试为我妻子的画廊创建一个应用程序。我到现在为止看起来很不错



但我不允许插入一个HTML代码,当我这样做时,我收到了消息:项目未保存:内部服务器错误



我希望有人建议如何解决此问题


谢谢提前


t




RS

解决方案


您可以将事件附加到按钮并按照以下方式实现:

 void ButtonClick(对象发送者,RoutedEventArgs e)
{
WebBrowserTask webBrowserTask = new WebBrowserTask();
webBrowserTask.Uri = new Uri(" http://www.myUrl.com");
webBrowserTask.Show();

}

希望这会有所帮助......


问候,


Hi All,

Totally new to this and I am trying to create an app for my wife's gallery. What I have until now looks pretty good

but I am not allowed to insert an html code, when I do that I get the message: Item not saved: Internal Server Error

I hope somebody has a suggestion on how to fix this

Thanks is advance

t


RS

解决方案

Hi,

You can attach event to your button and implement it like that :

  void ButtonClick(object sender, RoutedEventArgs e)
        {
            WebBrowserTask webBrowserTask = new WebBrowserTask();
            webBrowserTask.Uri = new Uri("http://www.myUrl.com");
            webBrowserTask.Show();

        }

Hope that will help...

Regards,


这篇关于使链接在App Studio中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆