91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 34.88MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2023-07-24
  • 語言: 其他
  • 標(biāo)簽: win8??應(yīng)用??

資源簡介

這是我自己做的win8應(yīng)用程序的源碼。你可以在這里開始學(xué)習(xí)如何在win8上做應(yīng)用程序。

資源截圖

代碼片段和文件信息

using?Hirstyle_Introduces.Common;

using?System;
using?System.Collections.Generic;
using?System.IO;
using?System.Linq;
using?Windows.ApplicationModel;
using?Windows.ApplicationModel.Activation;
using?Windows.Foundation;
using?Windows.Foundation.Collections;
using?Windows.UI.Xaml;
using?Windows.UI.Xaml.Controls;
using?Windows.UI.Xaml.Controls.Primitives;
using?Windows.UI.Xaml.Data;
using?Windows.UI.Xaml.Input;
using?Windows.UI.Xaml.Media;
using?Windows.UI.Xaml.Navigation;

//?“拆分布局應(yīng)用程序”模板在?http://go.microsoft.com/fwlink/?linkId=234228?上有介紹

namespace?Hirstyle_Introduces
{
????///?
????///?提供特定于應(yīng)用程序的行為,以補(bǔ)充默認(rèn)的應(yīng)用程序類。
????///?

????sealed?partial?class?App?:?Application
????{
????????///?
????????///?初始化單一實例應(yīng)用程序?qū)ο蟆_@是執(zhí)行的創(chuàng)作代碼的第一行,
????????///?邏輯上等同于?main()?或?WinMain()。
????????///?

????????public?App()
????????{
????????????this.InitializeComponent();
????????????this.Suspending?+=?OnSuspending;
????????}

????????///?
????????///?在應(yīng)用程序由最終用戶正常啟動時進(jìn)行調(diào)用。
????????///?當(dāng)啟動應(yīng)用程序以執(zhí)行打開特定的文件或顯示搜索結(jié)果等操作時
????????///?將使用其他入口點。
????????///?

????????///?有關(guān)啟動請求和過程的詳細(xì)信息。
????????protected?override?async?void?OnLaunched(LaunchActivatedEventArgs?args)
????????{
????????????frame?rootframe?=?Window.Current.Content?as?frame;

????????????//?不要在窗口已包含內(nèi)容時重復(fù)應(yīng)用程序初始化,
????????????//?只需確保窗口處于活動狀態(tài)
????????????
????????????if?(rootframe?==?null)
????????????{
????????????????//?創(chuàng)建要充當(dāng)導(dǎo)航上下文的框架,并導(dǎo)航到第一頁
????????????????rootframe?=?new?frame();
????????????????//將框架與?SuspensionManager?鍵關(guān)聯(lián)????????????????????????????????
????????????????SuspensionManager.Registerframe(rootframe?“Appframe“);

????????????????if?(args.PreviousExecutionState?==?ApplicationExecutionState.Terminated)
????????????????{
????????????????????//?僅當(dāng)合適時才還原保存的會話狀態(tài)
????????????????????try
????????????????????{
????????????????????????await?SuspensionManager.RestoreAsync();
????????????????????}
????????????????????catch?(SuspensionManagerException)
????????????????????{
????????????????????????//還原狀態(tài)時出現(xiàn)問題。
????????????????????????//假定沒有狀態(tài)并繼續(xù)
????????????????????}
????????????????}

????????????????//?將框架放在當(dāng)前窗口中
????????????????Window.Current.Content?=?rootframe;
????????????}
????????????if?(rootframe.Content?==?null)
????????????{
????????????????//?當(dāng)未還原導(dǎo)航堆棧時,導(dǎo)航到第一頁,
????????????????//?并通過將所需信息作為導(dǎo)航參數(shù)傳入來配置
????????????????//?參數(shù)
????????????????if?(!rootframe.Navigate(typeof(ItemsPage)?“AllGroups“))
????????????????{
????????????????????throw?new?Exception(“Failed?to?create?initial?page“);
????????????????}
????????????}
????????????//?確保當(dāng)前窗口處于活動狀態(tài)
????????????Window.Current.Activate();
????????}

????????///?
????????///?在將要掛起應(yīng)用程序執(zhí)行時調(diào)用。在不知道應(yīng)用程序
????????///?將被終止還是恢復(fù)的情況下保存應(yīng)用程序狀態(tài),
????????///?并讓內(nèi)存內(nèi)容保持不變。
????????///?

????????///?掛起的請求的源。
????????///?有關(guān)掛起的請求的詳細(xì)信息。
????????priv

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2012-12-02?11:26??Hirstyle?Introduces\
?????目錄???????????0??2012-12-02?11:26??Hirstyle?Introduces\Hirstyle?Introduces\
?????文件????????2647??2012-12-01?19:08??Hirstyle?Introduces\Hirstyle?Introduces.sln
?????文件???????10640??2012-12-02?11:24??Hirstyle?Introduces\Hirstyle?Introduces.suo
?????文件??????109056??2012-12-02?11:06??Hirstyle?Introduces\Hirstyle?Introduces.v11.suo
?????文件?????????913??2012-12-01?19:08??Hirstyle?Introduces\Hirstyle?Introduces\App.xaml
?????文件????????4013??2012-12-01?19:08??Hirstyle?Introduces\Hirstyle?Introduces\App.xaml.cs
?????目錄???????????0??2012-12-02?11:26??Hirstyle?Introduces\Hirstyle?Introduces\Assets\
?????文件???????80356??2011-12-19?07:48??Hirstyle?Introduces\Hirstyle?Introduces\Assets\Background.jpg
?????文件?????????560??2012-04-02?23:39??Hirstyle?Introduces\Hirstyle?Introduces\Assets\DarkGray.png
?????文件?????????560??2012-04-02?23:39??Hirstyle?Introduces\Hirstyle?Introduces\Assets\LightGray.png
?????文件???????31873??2012-12-01?19:01??Hirstyle?Introduces\Hirstyle?Introduces\Assets\Logo.png
?????文件???????13910??2011-12-19?08:28??Hirstyle?Introduces\Hirstyle?Introduces\Assets\ManBackground.jpg
?????文件?????????561??2012-04-02?23:39??Hirstyle?Introduces\Hirstyle?Introduces\Assets\MediumGray.png
?????文件????????2557??2012-12-01?19:07??Hirstyle?Introduces\Hirstyle?Introduces\Assets\SmallLogo.png
?????文件??????144635??2012-12-01?18:46??Hirstyle?Introduces\Hirstyle?Introduces\Assets\SplashScreen.png
?????文件????????6175??2012-12-01?19:03??Hirstyle?Introduces\Hirstyle?Introduces\Assets\StoreLogo.png
?????文件???????11108??2011-12-19?08:28??Hirstyle?Introduces\Hirstyle?Introduces\Assets\WomanBackgroud.jpg
?????目錄???????????0??2012-12-02?11:26??Hirstyle?Introduces\Hirstyle?Introduces\bin\
?????目錄???????????0??2012-12-02?11:26??Hirstyle?Introduces\Hirstyle?Introduces\bin\ARM\
?????目錄???????????0??2012-12-01?22:42??Hirstyle?Introduces\Hirstyle?Introduces\bin\ARM\Debug\
?????目錄???????????0??2012-12-01?22:42??Hirstyle?Introduces\Hirstyle?Introduces\bin\ARM\Release\
?????目錄???????????0??2012-12-02?11:26??Hirstyle?Introduces\Hirstyle?Introduces\bin\Debug\
?????文件?????????915??2012-12-01?19:08??Hirstyle?Introduces\Hirstyle?Introduces\bin\Debug\App.xaml
?????目錄???????????0??2012-12-02?11:26??Hirstyle?Introduces\Hirstyle?Introduces\bin\Debug\AppX\
?????文件????????2300??2012-12-02?11:08??Hirstyle?Introduces\Hirstyle?Introduces\bin\Debug\AppxManifest.xml
?????文件?????????915??2012-12-01?19:08??Hirstyle?Introduces\Hirstyle?Introduces\bin\Debug\AppX\App.xaml
?????文件????????2300??2012-12-02?11:08??Hirstyle?Introduces\Hirstyle?Introduces\bin\Debug\AppX\AppxManifest.xml
?????目錄???????????0??2012-12-02?11:26??Hirstyle?Introduces\Hirstyle?Introduces\bin\Debug\AppX\Assets\
?????文件???????80356??2011-12-19?07:48??Hirstyle?Introduces\Hirstyle?Introduces\bin\Debug\AppX\Assets\Background.jpg
?????文件?????????560??2012-04-02?23:39??Hirstyle?Introduces\Hirstyle?Introduces\bin\Debug\AppX\Assets\DarkGray.png
............此處省略239個文件信息

評論

共有 條評論

相關(guān)資源