欢迎访问移动开发之家(rcyd.net),关注移动开发教程。移动开发之家  移动开发问答|  每日更新
页面位置 : > > 内容正文

windows phone7开发环境安装

来源: 开发者 投稿于  被查看 37628 次 评论:284

windows phone7开发环境安装


 

1、

下载 Windows Phone Developer Tools CTP - April Refresh

到http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=cabcd5ed-7dfc-4731-9d7e-3220603cad14下载Windows Phone Developer Tools CTP - April Refresh,这个包含了以下所有组件,一次安装就OK了。

Visual Studio 2010 Express for Windows Phone CTP
Windows Phone Emulator CTP
Silverlight for Windows Phone CTP
XNA Game Studio 4.0 CTP

2、点击安装vm_web.exe

\

点击install now

\

点击accept按钮

\

 

大概半个小时,视网速而定,然后重启,然后变编写第一个 windows phone 7 程序,

\

进入欢迎界面

\

新建一个windows phone 7 项目

\

修改MainPage.xmal的TextBlock textBlockPageTitle 和 textBlockListTitle

\

 

 

添加一个按钮,和在asp.net中是一样的,拖一个button控件,双击按钮,得到按钮的单机事件

private void button1_Click(object sender, RoutedEventArgs e)
{
MessageBox.Show("hello 中国");
}

这样一个demo程序就完成了。

 

 

wp7 程序启动

\

\

点击button按钮

\

 

 

 

作者 caishuhua226

相关文章

    暂无相关文章
相关频道:

用户评论