- 博客(6)
- 收藏
- 关注
翻译 Media Foundation 控制摄像头属性
Media Foundation 控制摄像头属性原文链接http://blogs.microsoft.co.il/pavely/2012/05/19/windows-media-foundation-controlling-camera-properties/原文链接//示例HRESULT SetupCamera(IMFMediaSource* pCameraSource) { CCo...
2020-01-15 21:29:17 1201
转载 C# 打印时隐藏弹出 正在打印
把PrintDocment的PrintController 属性设置为标准的就Ok了。PrintDocment.PrintController = new StandardPrintController();PrintDocment默认的PrintController 是PrintControllerWithStatusDialog...
2019-11-29 21:48:18 645
原创 WPF 打印图片
using System;using System.Collections.Generic;using System.Drawing.Printing;using System.IO;using System.Linq;using System.Windows;using System.Windows.Controls;namespace 批量打印{ /// <su...
2019-11-28 23:22:10 887
原创 WPF 获取启动目录
static string StartupPath = AppDomain.CurrentDomain.BaseDirectory;//程序启动目录
2019-11-28 23:20:28 270
转载 C#操作字符串方法总结
C#操作字符串方法总结staticvoid Main(string[] args){ string s =""; //(1)字符访问(下标访问s[i]) s ="ABCD"; Console.WriteLine(s[0]); // 输出"A"; Console.WriteLi...
2019-11-25 21:39:44 149
原创 C# 遍历结构体
using System;using System.Collections.Generic;using System.Linq;using System.Reflection;using System.Text;namespace 修改显示器分辨率{class strustapi{/// /// 示例/// struct sample{int i;string str...
2019-11-25 21:29:20 2897
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人