• 大小: 299KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-18
  • 语言: C#
  • 标签: c#  录屏  

资源简介

c#实现录屏功能,使用Interop.WMEncoderLib.dll实现该录屏功能,测试正常。

资源截图

代码片段和文件信息

using System;
using System.Windows.Forms;

namespace TestRecording
{
    static class Program
    {
        /// 
        /// 应用程序的主入口点。
        /// 

        [STAThread]
        static void Main(string[] args)
        {
            Application.EnableVisualstyles();

            Application.SetCompatibleTextRenderingDefault(false);

            
            RecordingForm recordingForm = new RecordingForm();

            recordingForm.StartPosition = FormStartPosition.CenterScreen;

            recordingForm.ShowDialog();
        }

        
    }
}

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

    .CA....      4608  2012-02-10 18:04  EncoderSetUpApp\EEBBK.LM.Controls.dll

    .CA....     13824  2012-02-10 18:04  EncoderSetUpApp\EEBBK.LM.Controls.pdb

    .CA....     94208  2002-12-11 20:10  EncoderSetUpApp\Interop.WMEncoderLib.dll

    .CA....       268  2012-02-10 19:14  EncoderSetUpApp\Params.xml

    .CA....      7680  2012-02-10 19:14  EncoderSetUpApp\RecordingForm.Core.dll

    .CA....     28160  2012-02-10 19:14  EncoderSetUpApp\RecordingForm.Core.pdb

    .CA....     80896  2012-02-10 19:14  EncoderSetUpApp\TestRecording.exe

    .CA....     34304  2012-02-10 19:14  EncoderSetUpApp\TestRecording.pdb

    .CA....     14328  2012-02-10 19:14  EncoderSetUpApp\TestRecording.vshost.exe

    .CA....       490  2007-07-21 01:33  EncoderSetUpApp\TestRecording.vshost.exe.manifest

    .CA....     94208  2002-12-11 20:10  EncoderSetUpApp\X86\Interop.WMEncoderLib.dll

    .CA....       936  2012-02-10 19:14  EncoderManageApp\Recording.App\obj\Debug\Recording.App.csproj.FileListAbsolute.txt

    .CA....       937  2012-02-10 18:09  EncoderManageApp\Recording.App\obj\Debug\Recording.App.csproj.GenerateResource.Cache

    .CA....      9209  2012-02-10 19:14  EncoderManageApp\Recording.App\obj\Debug\ResolveAssemblyReference.cache

    .CA....     80896  2012-02-10 19:14  EncoderManageApp\Recording.App\obj\Debug\TestRecording.exe

    .CA....     34304  2012-02-10 19:14  EncoderManageApp\Recording.App\obj\Debug\TestRecording.pdb

    .CA....       180  2012-02-10 19:14  EncoderManageApp\Recording.App\obj\Debug\TestRecording.Properties.Resources.resources

    .CA....       180  2012-02-10 19:14  EncoderManageApp\Recording.App\obj\Debug\TestRecording.RecordingForm.resources

    .CA....     63836  2012-02-10 19:14  EncoderManageApp\Recording.App\obj\Debug\TestRecording.RecordingSet.RecordingSetForm.resources

    .CA....       623  2012-02-10 17:15  EncoderManageApp\Recording.App\Program.cs

    .CA....      1376  2012-02-10 14:48  EncoderManageApp\Recording.App\Properties\AssemblyInfo.cs

    .CA....      2876  2012-02-10 14:48  EncoderManageApp\Recording.App\Properties\Resources.Designer.cs

    .CA....      5612  2012-02-10 14:48  EncoderManageApp\Recording.App\Properties\Resources.resx

    .CA....      1098  2012-02-10 14:48  EncoderManageApp\Recording.App\Properties\Settings.Designer.cs

    .CA....       249  2012-02-10 14:48  EncoderManageApp\Recording.App\Properties\Settings.settings

    .CA....      4323  2012-02-10 18:01  EncoderManageApp\Recording.App\Recording.App.csproj

    .CA....       168  2012-02-10 16:23  EncoderManageApp\Recording.App\Recording.App.csproj.user

    .CA....      2845  2012-02-10 18:10  EncoderManageApp\Recording.App\RecordingForm.cs

    .CA....     11467  2012-02-10 17:52  EncoderManageApp\Recording.App\RecordingForm.Designer.cs

    .CA....      5814  2012-02-10 17:52  EncoderManageApp\Recording.App\RecordingForm.resx

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

评论

共有 条评论