SendToPlugins/SendToFTPServer.cs
(完整代码) 1KBusing CaptureItPlus.Libs;
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace SendToPlugins
{
class SendToFTPServer : ISendTo
{
private ISendToHost _host;
public string Name
{
get { return "FTP Server"; }
}
public string Text
{
get { return "FTP Server"; }
}
public void Execute(string filename)
{
using (SendToFTPServerUI sendToFtpServerUI = new SendToFTPServerUI(filename))
{
if (sendToFtpServerUI.ShowDialog() == DialogResult.OK)
{
MessageBox.Show("File uploaded to server successfully.", "Send To FTP Server", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
}
public ISendToHost Host
{
get
{
return _host;
}
set
{
_host = value;
}
}
public void Dispose()
{
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
