原创 Windows Phone srcollview滑動
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <ScrollViewer HorizontalScrollBarVisibility="A
原创 Windows Phone 後臺任務的執行
public partial class MainPage : PhoneApplicationPage { string name = "my"; // 構造函數 public
原创 Windows Phone 觸摸拖動
<Grid x:Name="LayoutRoot" Background="Transparent"> <Rectangle Fill="Blue" VerticalAlignment="Top" HorizontalAl
原创 Windows Phone 邊框效果
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <Grid.RowDefinitions> <RowDe
原创 Windows Phone 傳感器使用
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <Grid.RowDefinitions> <RowDef
原创 Windows Phone 學習 創建和使用數據庫
using (MyDataContex dc = new MyDataContex()) { if (dc.DatabaseExists() == false)
原创 c#學習中的小總結
從網上學習整理了一下幾點C#比較不同的地方,通過互現比較來記憶。C#不支持多重繼承,這一點和Java一樣在標準的C#安全代碼中不支持指針類型的操作,你可以微軟所謂的“非安全代碼”中操作指針類型對象,但是最後還是不推薦使用指針。 C#中所有
原创 Windows Phone 學習 LINQ在wp上的使用
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <ListBox Name="MyContactList">
原创 Windows Phone 學習 直接保存聯繫人到手機上
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <StackPanel> <TextBlock>輸入要保
原创 Windows Phone 學習 直接在程序中發電子郵件
<Grid x:Name="LayoutRoot" Background="Transparent"> <Grid.RowDefinitions> <RowDefinition Height="A
原创 Windows Phone 學習 創建和刪除文件夾
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <Grid.RowDefinitions> <RowDe
原创 Windows Phone 有背景的按鈕
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <Button Content="有背景的按鈕" HorizontalAlignment
原创 Windows Phone 學習 啓動器來啓動短信
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <StackPanel> <TextBlock>接收人
原创 Windows Phone 學習 保存文件到本手機上
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <StackPanel> <TextBlock>鈴聲標
原创 Windows Phone 引導頁和密碼加密
public MyLoginControl() { InitializeComponent(); } public string UserName