我目前正在使用winforms,我想将facebook添加到我的winforms.So目前我已经下载了facebook开发者工具包,之后我尝试添加类似按钮。所以我想知道如何进一步实现添加类似按钮。
任何帮助将不胜感激!
答案 0 :(得分:0)
为您的Button_click添加此内容:
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim myProcess As New Process()
myProcess.StartInfo.UseShellExecute = True
myProcess.StartInfo.FileName = "a.html"
myProcess.Start()
End Sub
并使用以下内容将a.html文件提供给您的流程:
<html>
<HEAD>
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.facebook.com/home.php">
</HEAD>
</html>
在0(content =)秒后重定向到新页面