• 大小: 0.07M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: 水印  

资源简介

c# 批量添加水印 例子源码

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;

namespace WaterMark
{
    public partial class FrmMain : Form
    {
        public FrmMain()
        {
            InitializeComponent();
        }

        private string fileName = string.Empty;//源文件包含路径
        private string logo = string.Empty;//图标水印文件
        private string[] files = null;//批量处理时文件组

        /// 
        /// 窗体加载时
        /// 

        /// 
        /// 
        private void FrmMain_Load(object sender EventArgs e)
        {
            cbPosition.SelectedItem = “中间“;
        }

        

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

     文件       1362  2011-03-19 21:56  WaterMark\WaterMark\Properties\AssemblyInfo.cs

     文件       5612  2011-03-19 21:56  WaterMark\WaterMark\Properties\Resources.resx

     文件       2866  2011-03-19 21:56  WaterMark\WaterMark\Properties\Resources.Designer.cs

     文件        249  2011-03-19 21:56  WaterMark\WaterMark\Properties\Settings.settings

     文件       1092  2011-03-19 21:56  WaterMark\WaterMark\Properties\Settings.Designer.cs

     文件       7785  2011-04-15 09:29  WaterMark\WaterMark\FrmMain.cs

     文件      12443  2011-04-15 09:02  WaterMark\WaterMark\FrmMain.Designer.cs

     文件        472  2011-03-19 21:56  WaterMark\WaterMark\Program.cs

     文件       3631  2011-03-20 00:15  WaterMark\WaterMark\WaterMark.csproj

     文件       5328  2011-03-20 00:14  WaterMark\WaterMark\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        180  2011-03-20 00:06  WaterMark\WaterMark\obj\x86\Debug\WaterMark.FrmMain.resources

     文件        180  2011-03-19 22:52  WaterMark\WaterMark\obj\x86\Debug\WaterMark.Properties.Resources.resources

     文件        434  2011-03-20 00:06  WaterMark\WaterMark\obj\x86\Debug\GenerateResource-ResGen.read.1.tlog

     文件        658  2011-03-20 00:06  WaterMark\WaterMark\obj\x86\Debug\GenerateResource-ResGen.write.1.tlog

     文件      36352  2011-03-20 00:14  WaterMark\WaterMark\obj\x86\Debug\WaterMark.pdb

     文件      16896  2011-03-20 00:14  WaterMark\WaterMark\obj\x86\Debug\WaterMark.exe

     文件        779  2011-03-20 00:15  WaterMark\WaterMark\obj\x86\Debug\WaterMark.csproj.FileListAbsolute.txt

     文件       5393  2011-04-15 11:37  WaterMark\WaterMark\obj\x86\Release\DesignTimeResolveAssemblyReferencesInput.cache

     文件      10700  2011-04-15 09:05  WaterMark\WaterMark\obj\x86\Release\WaterMark.FrmMain.resources

     文件        180  2011-03-20 00:15  WaterMark\WaterMark\obj\x86\Release\WaterMark.Properties.Resources.resources

     文件        434  2011-04-15 09:05  WaterMark\WaterMark\obj\x86\Release\GenerateResource-ResGen.read.1.tlog

     文件        666  2011-04-15 09:05  WaterMark\WaterMark\obj\x86\Release\GenerateResource-ResGen.write.1.tlog

     文件      40960  2011-04-15 11:37  WaterMark\WaterMark\obj\x86\Release\WaterMark.exe

     文件        797  2011-04-15 14:17  WaterMark\WaterMark\obj\x86\Release\WaterMark.csproj.FileListAbsolute.txt

     文件      38400  2011-04-15 11:37  WaterMark\WaterMark\obj\x86\Release\WaterMark.pdb

     文件      21514  2011-04-15 09:02  WaterMark\WaterMark\FrmMain.resx

     文件      24572  2011-04-15 15:13  WaterMark\WaterMark\ImageWater.cs

     文件      10134  2011-03-20 00:15  WaterMark\WaterMark\logo.ico

     文件        869  2011-03-19 21:56  WaterMark\WaterMark.sln

    ..A..H.     19968  2011-04-15 16:12  WaterMark\WaterMark.suo

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

评论

共有 条评论