资源简介
c#.net 从相机里实时获取照片 仅供学习研究.
代码片段和文件信息
// Copyright (c) Microsoft. All rights reserved.
using System;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
using SDKTemplate;
namespace SDKTemplate
{
///
/// Provides application-specific behavior to supplement the default Application class.
///
sealed partial class App : Application
{
///
/// Initializes the singleton Application object. This is the first line of authored code
/// executed and as such is the logical equivalent of main() or WinMain().
///
public App()
{
this.InitializeComponent();
this.Suspending += OnSuspending;
}
///
/// Invoked when the application is launched normally by the end user. Other entry points
/// will be used when the application is launched to open a specific file to display
/// search results and so forth.
///
/// Details about the launch request and process.
protected override async void OnLaunched(LaunchActivatedEventArgs args)
{
frame rootframe = Window.Current.Content as frame;
// Do not repeat app initialization when the Window already has content
// just ensure that the window is active
if (rootframe == null)
{
// Create a frame to act as the navigation context and navigate to the first page
rootframe = new frame();
// Associate the frame with a SuspensionManager key
SuspensionManager.Registerframe(rootframe “Appframe“);
if (args.PreviousExecutionState == ApplicationExecutionState.Terminated)
{
// Restore the saved session state only when appropriate
try
{
await SuspensionManager.RestoreAsync();
}
catch (SuspensionManagerException)
{
//Something went wrong restoring state.
//Assume there is no state and continue
}
}
// Place the frame in the current Window
Window.Current.Content = rootframe;
}
if (rootframe.Content == null || !String.IsNullOrEmpty(args.Arguments))
{
// When the navigation stack isn‘t restored or there are launch arguments
// indicating an alternate launch (e.g.: via toast or secondary tile)
// navigate to the appropriate page configuring the new page by passing required
// information as a n
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 916 2013-11-27 05:13 C#\App.xaml
文件 4023 2013-11-27 05:13 C#\App.xaml.cs
文件 6566 2013-11-27 05:13 C#\Constants.cs
文件 9492 2013-11-27 05:13 C#\MainPage.xaml
文件 12099 2013-11-27 05:13 C#\MainPage.xaml.cs
文件 2305 2013-11-27 05:13 C#\Package.appxmanifest
文件 5871 2013-11-27 05:13 C#\RemovableStorageCS.csproj
文件 1174 2013-11-27 05:13 C#\RemovableStorageCS.sln
文件 2427 2013-11-27 05:13 C#\S1_ListStorages.xaml
文件 2806 2013-11-27 05:13 C#\S1_ListStorages.xaml.cs
文件 3372 2013-11-27 05:13 C#\S2_SendToStorage.xaml
文件 7384 2013-11-27 05:13 C#\S2_SendToStorage.xaml.cs
文件 3792 2013-11-27 05:13 C#\S3_GetFromStorage.xaml
文件 7026 2013-11-27 05:13 C#\S3_GetFromStorage.xaml.cs
文件 2723 2013-11-27 05:13 C#\S4_Autoplay.xaml
文件 6535 2013-11-27 05:13 C#\S4_Autoplay.xaml.cs
文件 3405 2013-11-27 05:13 C#\assets\microsoft-sdk.png
文件 8991 2013-11-27 05:13 C#\assets\placeholder-sdk.png
文件 1248 2013-11-27 05:13 C#\assets\smallTile-sdk.png
文件 5068 2013-11-27 05:13 C#\assets\splash-sdk.png
文件 2482 2013-11-27 05:13 C#\assets\squareTile-sdk.png
文件 1550 2013-11-27 05:13 C#\assets\storeLogo-sdk.png
文件 2665 2013-11-27 05:13 C#\assets\tile-sdk.png
文件 2997 2013-11-27 05:13 C#\assets\windows-sdk.png
文件 23393 2013-11-27 05:13 C#\common\LayoutAwarePage.cs
文件 59441 2013-11-27 05:13 C#\common\Standardst
文件 1079 2013-11-27 05:13 C#\Properties\AssemblyInfo.cs
文件 1901 2013-11-27 05:13 C#\sample-utils\SampleTemplatest
文件 11477 2013-11-27 05:13 C#\sample-utils\SuspensionManager.cs
文件 10117 2013-11-27 05:13 desc
文件 1670 2013-11-27 05:13 desc
............此处省略8个文件信息
- 上一篇:C# winhttp 封装类
- 下一篇:Windows任务管理器
相关资源
- Windows任务管理器
- C# winhttp 封装类
- C#调用WebService实现天气预报
- 计算多边形面积C#代码
- vs2010-c#读取txt文件至DataTable经过处理
- C#之系统API详解教程
- FAUNC FOCAS C#
- c# 递归实现zTree
- C# Winform 发票信息修改 文本内容修改
- C# Winform 左侧菜单右边显示、子窗体显
- C#连接数据库实现删改查代码
- 聊天控件源码_支持动态表情(C#)
- C#源码图片验证码识别
- 异步串行串口通讯C#RS232
- C#流程图编程演示(用GDI+实现鼠标绘
- c# 用SAPI实现语音识别及文本转换的详
- C#图书管理系统全源代码!
- 用C#实现跳马问题程序
- C#取得SysListView32所有行(包括列表头
- C#WinForm版 《仿360杀毒页面切换动画效
- 一个很不错的C#录音控件源码,帮您提
- c# winfrom实现票据打印系统源代码自己
- C# 语法全解
- 用c#实现窗体绘制椭圆,圆,矩形
- ASP.NET简单留言板(C#)
- C# 串口源码
- C#多线程开发多个
- C#微信企业号接收和发送消息
- C#access数据库连接的代码解释
- c#经典图书管理系统
评论
共有 条评论