资源简介
Lync2013及Skype for Business截屏功能插件,运行环境需要安装.net 4.0以上,将此插件解压到C盘根目录,然后导入注册表APP.REG文件,包括两个功能,一个是阅后即焚功能,一个是以文件格式传送的图片功能。
代码片段和文件信息
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Runtime.InteropServices;
using System.Windows.Input;
using System.Windows.Interop;
namespace RisCaptureLib
{
internal class BitmapCursor : SafeHandle
{
public override bool IsInvalid
{
get
{
return handle == (IntPtr)(-1);
}
}
public static Cursor CreateBmpCursor(Bitmap cursorBitmap)
{
var c = new BitmapCursor(cursorBitmap);
return CursorInteropHelper.Create(c);
}
protected BitmapCursor(Bitmap cursorBitmap)
: base((IntPtr)(-1) true)
{
handle = cursorBitmap.GetHicon();
}
protected override bool ReleaseHandle()
{
bool result = DestroyIcon(handle);
handle = (IntPtr)(-1);
return result;
}
[DllImport(“user32.dll“)]
public static extern bool DestroyIcon(IntPtr hIcon);
public static Cursor CreateCrossCursor()
{
const int w = 25;
const int h = 25;
var bmp = new Bitmap(w h);
Graphics g = Graphics.FromImage(bmp);
g.SmoothingMode = SmoothingMode.Default;
g.InterpolationMode = InterpolationMode.High;
var pen= new Pen(Brushes.Black 2);
g.DrawLine(pen new Point(12 0) new Point(12 8)); // vertical line
g.DrawLine(pen new Point(12 17) new Point(12 25)); // vertical line
g.DrawLine(pen new Point(0 12) new Point(8 12)); // horizontal line
g.DrawLine(pen new Point(16 12) new Point(24 12)); // horizontal line
g.DrawLine(pen new Point(12 12) new Point(12 13)); // Middle dot
g.Flush();
g.Dispose();
pen.Dispose();
var c = CreateBmpCursor(bmp);
bmp.Dispose();
return c;
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-10-30 13:32 SilverlightAppScreenshot\
文件 1512 2018-10-17 14:03 SilverlightAppScreenshot\app.reg
目录 0 2018-10-06 19:25 SilverlightAppScreenshot\RisCaptureLib\
文件 1287 2017-01-11 11:32 SilverlightAppScreenshot\RisCaptureLib\.copyarea.db
目录 0 2018-10-06 19:25 SilverlightAppScreenshot\RisCaptureLib\bin\
目录 0 2018-10-06 19:25 SilverlightAppScreenshot\RisCaptureLib\bin\Debug\
文件 31232 2017-01-11 11:32 SilverlightAppScreenshot\RisCaptureLib\bin\Debug\RisCaptureLib.dll
文件 73216 2017-01-11 11:32 SilverlightAppScreenshot\RisCaptureLib\bin\Debug\RisCaptureLib.pdb
文件 2094 2017-01-11 11:32 SilverlightAppScreenshot\RisCaptureLib\BitmapCursor.cs
文件 436 2017-01-11 11:32 SilverlightAppScreenshot\RisCaptureLib\Config.cs
文件 4304 2017-01-11 11:32 SilverlightAppScreenshot\RisCaptureLib\HelperMethods.cs
文件 1473 2017-01-11 11:32 SilverlightAppScreenshot\RisCaptureLib\Indicatorob
文件 12053 2017-01-11 11:32 SilverlightAppScreenshot\RisCaptureLib\MaskCanvas.cs
文件 4533 2017-01-11 11:32 SilverlightAppScreenshot\RisCaptureLib\MaskWindow.cs
文件 1745 2017-01-11 11:32 SilverlightAppScreenshot\RisCaptureLib\MoveThumb.cs
目录 0 2018-10-06 19:25 SilverlightAppScreenshot\RisCaptureLib\obj\
目录 0 2018-10-06 19:25 SilverlightAppScreenshot\RisCaptureLib\obj\Debug\
文件 10099 2017-01-11 11:32 SilverlightAppScreenshot\RisCaptureLib\obj\Debug\DesignTimeResolveAssemblyReferences.cache
文件 6242 2017-01-11 11:32 SilverlightAppScreenshot\RisCaptureLib\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 2998 2017-01-11 11:32 SilverlightAppScreenshot\RisCaptureLib\obj\Debug\GeneratedInternalTypeHelper.g.cs
文件 2998 2017-01-11 11:32 SilverlightAppScreenshot\RisCaptureLib\obj\Debug\GeneratedInternalTypeHelper.g.i.cs
文件 1876 2017-01-11 11:32 SilverlightAppScreenshot\RisCaptureLib\obj\Debug\RisCaptureLib.csproj.FileListAbsolute.txt
文件 31232 2017-01-11 11:32 SilverlightAppScreenshot\RisCaptureLib\obj\Debug\RisCaptureLib.dll
文件 5283 2017-01-11 11:32 SilverlightAppScreenshot\RisCaptureLib\obj\Debug\RisCaptureLib.g.resources
文件 73216 2017-01-11 11:32 SilverlightAppScreenshot\RisCaptureLib\obj\Debug\RisCaptureLib.pdb
文件 263 2017-01-11 11:32 SilverlightAppScreenshot\RisCaptureLib\obj\Debug\RisCaptureLib_MarkupCompile.cache
文件 217 2017-01-11 11:32 SilverlightAppScreenshot\RisCaptureLib\obj\Debug\RisCaptureLib_MarkupCompile.i.cache
文件 259 2017-01-11 11:32 SilverlightAppScreenshot\RisCaptureLib\obj\Debug\RisCaptureLib_MarkupCompile.lref
目录 0 2018-10-06 19:25 SilverlightAppScreenshot\RisCaptureLib\obj\Debug\Themes\
文件 5047 2017-01-11 11:32 SilverlightAppScreenshot\RisCaptureLib\obj\Debug\Themes\generic.baml
目录 0 2018-10-06 19:25 SilverlightAppScreenshot\RisCaptureLib\Properties\
............此处省略56个文件信息
- 上一篇:Google Hack V2.0汉化版
- 下一篇:Talend介绍
相关资源
- Hardware and Software Support for Virtualizati
- MIB Browser Pro. for Windows Ver. 10.0 破解补
- MSP432 for IAR 说明
- X-Ways Forensics v13.0法证版Winhex)
- Subspace Identification for Linear Systems The
- Keil uvison 4 for ARM 基本使用方法
- XYChartLabeler for excel
- source code for Computer Graphics: Programming
- Solution manual for Wireless Communications By
- CKEditor5 classic for .net core Demo
- genicam_for_developers
- [B] Elements.of.Information.Theory.2nd 答案
- bellman-ford算法及例题讲解
- Attention-guided CNN for image denoising.pptx
- windows form 窗体的GDI+使用,根据数据库
- 开源有限元程序feappv
- ArcGIS api for js智能提示插件包,涵盖
- FFFIS for eruobalise
- 统计学概论答案Probability & Statistics
- FOR.A HVS-100使用手册
- 强化学习资料,经典书本Reinforcement
- 信息几何-Information Geometry
- COLLADAMaxNew插件,opencollada导出DAE文件
- Neural_Networks_for_Applied_Sciences_and_Engin
- delphi VCLZIPFOR D7-XE5
- Expect 5.21r1b1 for Windows
- redis-5.0.7-x64-for-windows-bin.rar
- Serial IO Card-华塑PCMCIA转串口RS232-ox
- Algorithms for Reinforcement Learning 强化学习
- RF Power Amplifiers for Wireless Communication
评论
共有 条评论