CaptureItPlus/Plugins/SendToMailRecipient.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace CaptureItPlus.Plugins
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using CaptureItPlus.Libs;
public class SendToMailRecipient : ISendTo
{
private string _fileName;
public string Text
{
get { return "&Mail Recipient"; }
}
public void Execute(string filename)
{
if (string.IsNullOrEmpty(filename))
{
return;
}
var mapi = new MAPI();
_fileName = filename;
mapi.AddAttachment(filename);
mapi.SendMailPopup(string.Empty, filename);
}
public string Name
{
get { return this.GetType().Name; }
}
private ISendToHost _host;
public ISendToHost Host
{
get
{
return _host;
}
set
{
_host = value;
}
}
#region IDisposable Members
public void Dispose()
{
}
#endregion
}
后面还有 2 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
