摘要:
public partial class a: PhoneApplicationPage { DispatcherTimer timer = new DispatcherTimer(); public a() { timer = new DispatcherTimer(); timer.Interval = TimeSpan.FromSeconds(10); timer.Tick += new EventHandler(timer_Tick); timer.Start(); } protected override void OnManipulationSt... 阅读全文
posted @ 2012-11-09 17:58
藏这儿
阅读(296)
评论(1)
推荐(0)
摘要:
void DelFile(string unZipFilePath)//unZipFilePath第一次传递的是根目录名 { using (var store = IsolatedStorageFile.GetUserStoreForApplication()) { if (store.DirectoryExists(unZipFilePath)) { String[] dirNames = store.GetDirectoryNames(string.Concat(unZipFilePath, "\\*")); String[] file... 阅读全文
posted @ 2012-11-09 17:55
藏这儿
阅读(479)
评论(0)
推荐(0)
摘要:
(1)WMAppManifest.xml默认应用程序启动首页<DefaultTaskName ="_default" NavigationPage="Page.xaml"/>(2)APP构造函数中加入RootFrame.Navigating += new NavigatingCancelEventHandler(RootFrame_Navigating);private void RootFrame_Navigating(object sender, NavigatingCancelEventArgs e) { if (true)//判断的条 阅读全文
posted @ 2012-11-09 17:54
藏这儿
阅读(256)
评论(0)
推荐(0)
摘要:
public static void GoMapNormalPageWithBack(NavigationService NavigationService, string PageUrl) { while (NavigationService.CanGoBack) { IEnumerator<JournalEntry> list = NavigationService.BackStack.GetEnumerator(); list.MoveNext(); ... 阅读全文
posted @ 2012-11-09 17:53
藏这儿
阅读(549)
评论(0)
推荐(0)
摘要:
StorageFolder a = Windows.Storage.ApplicationData.Current.LocalFolder; 阅读全文
posted @ 2012-11-09 16:51
藏这儿
阅读(201)
评论(0)
推荐(0)
浙公网安备 33010602011771号