同上一条

This commit is contained in:
wule committed 2025-09-05 19:01:30 +08:00
1 parent 4eac19b37d
commit c45254656b
17 files changed
+927 -363

No files matched your search

+26
View File
@@ -44,5 +44,31 @@ namespace TemuKJD.KJDForms.ToolForms
case Keys.Escape: this.Close(); break;
}
}
private void btnCopyUrl_Click(object sender, EventArgs e)
{
try
{
Clipboard.SetText(currentImgUrl); // 设置剪贴板内容
BaseMsgForm.ShowInfo("图片地址已复制到剪贴板");
}
catch (Exception ex)
{
BaseMsgForm.ShowError("复制图片地址到剪贴板失败: " + ex.Message);
}
}
private void btnCopy_Click(object sender, EventArgs e)
{
try
{
Clipboard.SetImage(this.pictureBox1.Image); // 设置剪贴板内容
BaseMsgForm.ShowInfo("图片已复制到剪贴板");
}
catch (Exception ex)
{
BaseMsgForm.ShowError("复制图片到剪贴板失败: " + ex.Message);
}
}
}
}