大家都HELLO WORLD我也來一下吧XD
首先你要有以下的東西才能Hello World
大家都HELLO WORLD我也來一下吧XD
首先你要有以下的東西才能Hello World
1.Visual Studio (2005 or 2008)筆者在這邊使用2008
2..Net Compact Framework (2.0 or 3.5) 筆者在這邊使用3.5
3.ACTIVESYNC 4.5(是做為pda跟PC之間的傳輸資料用的)
因為筆者拿到的PDA是Windows Mobile 6.0 他需要額外下載「Windows Mobile 6 Professional模擬器」
接下來就要開始寫程式了
1.首先先打開Visual Studio 2008並打開智慧型裝置專案(筆者用C#喔)
2.目標平台記得要用你所要放的平台版本(筆者是用Windows Mobile 6 Professional)範本就是用「裝置應用程式」
ps.如果沒有你的版本的話就是忘了下載了喔!
4.我先假設大家都會使用C#的程式唄,接下來放Textbox、label、Button
5.輸入以下程式碼
 using System;
using System; using System.Linq;
using System.Linq; using System.Collections.Generic;
using System.Collections.Generic; using System.ComponentModel;
using System.ComponentModel; using System.Data;
using System.Data; using System.Drawing;
using System.Drawing; using System.Text;
using System.Text; using System.Windows.Forms;
using System.Windows.Forms;
 namespace SmartDeviceProject3
namespace SmartDeviceProject3 {
{ public partial class Form1 : Form
    public partial class Form1 : Form {
    { public Form1()
        public Form1() {
        { InitializeComponent();
            InitializeComponent(); }
        }
private void btn_go_Click(object sender, EventArgs e)
 {
        { lbl_ms.Text = "Hello!!!" + tb_text.Text + "你好";
            lbl_ms.Text = "Hello!!!" + tb_text.Text + "你好"; }
        } }
    } }
}6.寫完了~~~準備要放到pda上了~(緊張~~)
要先佈署方案在選單上面的「建置」=>「佈署方案」給他按下去
而我們要選的是「Windows Mobile 6 Professional Device」
7.上面有一個小小的手機叫連接到裝置(記得左邊還是要用Windows Mobile Professional Device)就會出現一個連接中的圖案
8.檔案通常都會是在Program File裡
9.測試程式囉!
=====
常會有不同的問題~
如果有問題的話~可以回覆給我喔!
多多指教啦




 using
using  
    

