资源简介
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任务管理器
相关资源
- C# TIP文件生成和拆解
- C#解析HL7消息的库135797
- C# OCR数字识别实例,采用TessnetOcr,对
- 考试管理系统 - C#源码
- asp.net C#购物车源代码
- C#实时网络流量监听源码
- C#百度地图源码
- Visual C#.2010从入门到精通配套源程序
- C# 软件版本更新
- C#屏幕软键盘源码,可以自己定制界面
- 智慧城市 智能家居 C# 源代码
- c#获取mobile手机的IMEI和IMSI
- C#实现简单QQ聊天程序
- 操作系统 模拟的 欢迎下载 C#版
- C#写的计算机性能监控程序
- 用C#实现邮件发送,有点类似于outlo
- MVC model层代码生成器 C#
- c#小型图书销售系统
- C# Socket Server Client 通讯应用 完整的服
- c# winform 自动登录 百度账户 源代码
- C#编写的16进制计算器
- C#TCP通信协议
- C# 数据表(Dataset)操作 合并 查询一
- C#语音识别系统speechsdk51,SpeechSDK51L
- 数据库备份还原工具1.0 C# 源码
-
[免费]xm
lDocument 节点遍历C# - EQ2008LEDc#开发实例
- DirectX.Capturec# winform 操作摄像头录像附
- c# 实现的最大最小距离方法对鸢尾花
- C#版保龄球记分代码
评论
共有 条评论