91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 161KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-09
  • 語言: C#
  • 標簽: 水印??

資源簡介

winfrom添加水印

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
using?System.Threading;
using?System.IO;
using?WatermarkTools.BLL;
using?System.Drawing.Text;

namespace?WatermarkTools
{
????public?partial?class?Form1?:?Form
????{
????????List?listExtention?=?new?List();
????????public?Form1()
????????{
????????????InitializeComponent();
????????????Form.CheckForIllegalCrossThreadCalls?=?false;
????????????listExtention.AddRange(new?string[]?{?“.jpg“?“.gif“?“.png“?});
????????????ConfigFile.Instanse.fileName?=?AppDomain.CurrentDomain.baseDirectory?+?“圖片加水印工具.ini“;
????????}
???????
????????private?void?Form1_FormClosed(object?sender?FormClosedEventArgs?e)
????????{
????????????Application.Exit();
????????????Application.ExitThread();
????????}
????????#region?在新線程中運行函數
????????///?
????????///?在新線程中運行函數
????????///?

????????///?傳入?函數名(無參、無返回值)
????????///?是否為后臺線程(后臺線程,窗口關閉后就終止線程)
????????public?static?void?ThreadNew(VoidFunction?func?bool?IsBackground)
????????{
????????????Thread?th1?=?new?Thread(new?ThreadStart(func));
????????????th1.IsBackground?=?IsBackground;//后臺線程,窗口關閉后就終止線程
????????????th1.Start();
????????}
????????///?
????????///?在新線程中運行函數
????????///?

????????///?傳入?函數名(有一個參數、無返回值)
????????///?object參數
????????///?是否為后臺線程(后臺線程,窗口關閉后就終止線程)
????????public?static?Thread?ThreadNew(ParamFunction?func?object?para?bool?IsBackground)
????????{
????????????Thread?th1?=?new?Thread(new?ParameterizedThreadStart(func));
????????????//判斷狀態
????????????//((int)th1.ThreadState?&((int)ThreadState.Running?|?(int)ThreadState.Suspended)?)?==?0?
????????????th1.IsBackground?=?IsBackground;
????????????th1.Start(para);
????????????return?th1;
????????}
????????///?
????????///?允許線程之間進行操作
????????///?

????????public?static?void?OprateBetweenThread()
????????{
????????????System.Windows.Forms.Control.CheckForIllegalCrossThreadCalls?=?false;
????????}

????????///?
????????///?無參的、返回值為void的委托,可以用來做參數名
????????///?

????????public?delegate?void?VoidFunction();

????????///?
????????///?有一個參數的、返回值為void的委托,可以用來做參數名
????????///?

????????public?delegate?void?ParamFunction(object?para);


????????#endregion

????????private?void?lb_selectDir_Click(object?sender?EventArgs?e)
????????{
????????????FolderBrowserDialog?fbd?=?new?FolderBrowserDialog();
????????????if?(fbd.ShowDialog()?==?DialogResult.OK)
????????????{
????????????????txtDir.Text?=?fbd.SelectedPath;
????????????????ConfigFile.Instanse[“txtDir“]?=?txtDir.Text;????????????????
????????????}
????????}

????????private?void?lb_selectMark_Click(object?sender?Ev

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????14336??2017-05-25?14:53??圖片加水印工具\.vs\圖片加水印工具\v14\.suo

?????文件??????35328??2017-05-25?15:00??圖片加水印工具\bin\Debug\app.publish\WatermarkTools.exe

?????文件???????1651??2017-05-25?15:00??圖片加水印工具\bin\Debug\WatermarkTools.application

?????文件??????35328??2017-05-25?15:00??圖片加水印工具\bin\Debug\WatermarkTools.exe

?????文件???????3494??2017-05-25?15:00??圖片加水印工具\bin\Debug\WatermarkTools.exe.manifest

?????文件??????48640??2017-05-25?15:00??圖片加水印工具\bin\Debug\WatermarkTools.pdb

?????文件???????1651??2017-05-25?15:00??圖片加水印工具\bin\Debug\WatermarkTools.vshost.application

?????文件??????21688??2017-05-25?15:01??圖片加水印工具\bin\Debug\WatermarkTools.vshost.exe

?????文件???????3494??2017-05-25?15:00??圖片加水印工具\bin\Debug\WatermarkTools.vshost.exe.manifest

?????文件???????1686??2017-05-25?11:07??圖片加水印工具\bin\Debug\圖片加水印工具.application

?????文件??????27648??2017-05-25?11:07??圖片加水印工具\bin\Debug\圖片加水印工具.exe

?????文件???????3529??2017-05-25?11:07??圖片加水印工具\bin\Debug\圖片加水印工具.exe.manifest

?????文件????????112??2017-05-25?11:45??圖片加水印工具\bin\Debug\圖片加水印工具.ini

?????文件??????38400??2017-05-25?11:07??圖片加水印工具\bin\Debug\圖片加水印工具.pdb

?????文件???????1686??2017-05-25?11:07??圖片加水印工具\bin\Debug\圖片加水印工具.vshost.application

?????文件???????3529??2017-05-25?11:07??圖片加水印工具\bin\Debug\圖片加水印工具.vshost.exe.manifest

?????文件???????8590??2017-05-25?11:20??圖片加水印工具\BLL\ConfigFile.cs

?????文件???????3519??2017-05-25?11:20??圖片加水印工具\BLL\DesEncrypt.cs

?????文件??????10735??2017-05-25?12:15??圖片加水印工具\BLL\ImageWatermark.cs

?????文件???????4286??2013-08-23?17:28??圖片加水印工具\favicon.ico

?????文件??????12806??2017-05-25?14:50??圖片加水印工具\Form1.cs

?????文件??????15931??2017-05-25?15:00??圖片加水印工具\Form1.Designer.cs

?????文件??????12754??2017-05-25?14:50??圖片加水印工具\Form1.resx

?????文件????????249??2017-05-25?12:29??圖片加水印工具\Model\Info.cs

?????文件??????33545??2017-05-25?15:00??圖片加水印工具\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

?????文件???????6396??2017-05-25?14:49??圖片加水印工具\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

?????文件????????346??2013-08-23?17:49??圖片加水印工具\obj\x86\Debug\GenerateResource-ResGen.read.1.tlog

?????文件????????474??2013-08-23?17:49??圖片加水印工具\obj\x86\Debug\GenerateResource-ResGen.write.1.tlog

?????文件???????3584??2017-05-25?11:20??圖片加水印工具\obj\x86\Debug\TempPE\Properties.Resources.Designer.cs.dll

?????文件???????1651??2017-05-25?15:00??圖片加水印工具\obj\x86\Debug\WatermarkTools.application

............此處省略44個文件信息

評論

共有 條評論