• 大小: 0.12M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-25
  • 语言: C#
  • 标签: 摄像头  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Microsoft.WindowsMobile.Forms;

namespace CameraNow
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void BtnCamera_Click(object sender EventArgs e)
        {
            using (CameraCaptureDialog dlg = new CameraCaptureDialog())
            {
                if (dlg.ShowDialog() == DialogResult.OK)
                {
                    //MessageBox.Show(“图片路径:“ + dlg.FileName);
                    pictureBox1.Image = new Bitmap(dlg.FileName);
                }
            }
       

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       6656  2011-07-16 12:38  CameraNow\CameraNow\bin\Debug\CameraNow.exe

     文件      24064  2011-07-16 12:38  CameraNow\CameraNow\bin\Debug\CameraNow.pdb

     文件       5880  2007-03-09 23:58  CameraNow\CameraNow\bin\Debug\Microsoft.WindowsMobile.dll

     文件      34040  2007-03-09 23:58  CameraNow\CameraNow\bin\Debug\Microsoft.WindowsMobile.Forms.dll

     文件      54179  2007-03-09 20:36  CameraNow\CameraNow\bin\Debug\Microsoft.WindowsMobile.Forms.xml

     文件     156920  2007-03-09 23:58  CameraNow\CameraNow\bin\Debug\Microsoft.WindowsMobile.PocketOutlook.dll

     文件     317635  2007-03-09 20:36  CameraNow\CameraNow\bin\Debug\Microsoft.WindowsMobile.PocketOutlook.xml

     文件       4482  2007-03-09 20:36  CameraNow\CameraNow\bin\Debug\Microsoft.WindowsMobile.xml

     文件       4219  2009-07-18 07:43  CameraNow\CameraNow\CameraNow.csproj

     文件        234  2011-07-16 12:30  CameraNow\CameraNow\CameraNow.csproj.user

     文件        825  2011-07-16 12:38  CameraNow\CameraNow\Form1.cs

     文件       2756  2011-07-16 12:38  CameraNow\CameraNow\Form1.Designer.cs

     文件       6474  2011-07-16 12:38  CameraNow\CameraNow\Form1.resx

     文件       3058  2011-07-16 12:30  CameraNow\CameraNow\obj\Debug\CameraNow.csproj.FileListAbsolute.txt

     文件        847  2011-07-16 12:38  CameraNow\CameraNow\obj\Debug\CameraNow.csproj.GenerateResource.Cache

     文件       6656  2011-07-16 12:38  CameraNow\CameraNow\obj\Debug\CameraNow.exe

     文件        180  2011-07-16 12:38  CameraNow\CameraNow\obj\Debug\CameraNow.Form1.resources

     文件      24064  2011-07-16 12:38  CameraNow\CameraNow\obj\Debug\CameraNow.pdb

     文件        180  2011-07-16 12:30  CameraNow\CameraNow\obj\Debug\CameraNow.Properties.Resources.resources

     文件      19108  2009-07-18 07:43  CameraNow\CameraNow\obj\Debug\ResolveAssemblyReference.cache

     文件        377  2009-07-18 07:28  CameraNow\CameraNow\Program.cs

     文件       1442  2011-07-16 12:37  CameraNow\CameraNow\Properties\AssemblyInfo.cs

     文件       2355  2009-07-18 07:28  CameraNow\CameraNow\Properties\Resources.Designer.cs

     文件       5618  2009-07-18 07:28  CameraNow\CameraNow\Properties\Resources.resx

     文件       1083  2009-07-18 07:28  CameraNow\CameraNow.sln

    ..A..H.     15872  2011-07-16 12:40  CameraNow\CameraNow.suo

     目录          0  2009-07-18 07:28  CameraNow\CameraNow\obj\Debug\TempPE

     目录          0  2011-07-16 12:40  CameraNow\CameraNow\bin\Debug

     目录          0  2011-07-16 12:40  CameraNow\CameraNow\obj\Debug

     目录          0  2011-07-16 12:40  CameraNow\CameraNow\bin

............此处省略7个文件信息

评论

共有 条评论