摘要:
https://www.cnblogs.com/luomingui/archive/2010/03/03/1677718.html https://cloud.tencent.com/developer/article/1334177 阅读全文
摘要:
public Form1() { InitializeComponent(); backgroundWorker1.DoWork += BackgroundWorker1_DoWork; backgroundWorker1.RunWorkerCompleted += BackgroundWorker 阅读全文
摘要:
protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { Pen pen = new Pen(drawLineColor); pen.Width = 2; // 绘制一条水平分割线 e.Graphics.Draw 阅读全文
摘要:
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); _hookID = SetHook(_proc); For 阅读全文
摘要:
// 首先开启smtp服务 try { MailMessage message = new MailMessage(); SmtpClient smtp = new SmtpClient(); message.From = new MailAddress("from@domain.com"); me 阅读全文
摘要:
public partial class Form1 : Form { public Form1() { InitializeComponent(); PanelEnhanced panelEnhanced = new PanelEnhanced(); this.Controls.Add(panel 阅读全文
摘要:
建议使用dll减少闪烁, 处理WM_NCHITTEST消息, 阅读全文
摘要:
基本用法(CRUD) 1.插入: 2.修改: 3.查询: 4.删除: 获取主键: 阅读全文
摘要:
chart1.Titles.Add("Line Chart"); chart1.ChartAreas[0].Axes[0].MajorGrid.Enabled = false; chart1.ChartAreas[0].Axes[1].MajorGrid.Enabled = false;this.d 阅读全文