using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace _04TextBox { public partia
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace _04TextBox { public partia
类文件: C#类文件 using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; using System.Reflection; namespace Common { public class BardCodeHooK { public delegate void BardCodeDeletegate(BarCodes barCode); pub
1.新建项目添加WatermarkTextBox类: using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; using System.Drawing; using System.ComponentModel; namespace TextBoxWatermark { [ToolboxBitmap(typeof(TextBox))] public class Wa
1.图片缩放 using System; using System.Windows.Forms; using System.Drawing; class haha : Form { static void Main() { Application.Run(new haha()); } Bitmap bit; int x, y; haha() { ClientSize = new Size(400, 400); bit = new Bitmap(800, 800); Graphics.FromIm