.Net语言 APP开发平台——Smobiler学习日志:如何实现快速跳转网页

Smobiler是一个在VS环境中使用.Net语言来开发APP的开发平台,也许比Xamarin更方便

样式一

一、跳转网页代码(Button的Click事件)

    Private Sub Button1_Click(sender  As Object, e As EventArgs) Handles Button1.Click

        RedirectUrl("", "www.baidu.com")

    End Sub
   C#:
   private void Button1_Click(object sender, EventArgs e)
   {
        RedirectUrl("", "www.baidu.com");      
   }
            

注:第一个参数是显示的标题,第二个参数是需要跳转的网址

二.Smobiler窗体设计界面显示效果

smobiler

三、手机效果显示

smobiler smobiler

原文地址:https://www.cnblogs.com/amanda112/p/6183810.html