随笔分类 - WinForm
摘要:public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void ToolCollectorClick(object sender, EventArgs e) { AddForm(new frmWebCollector()); } private void AddForm(Form frm) { ...
阅读全文
摘要:private void CaptureJpeg() { var catchBmp = new Bitmap(pictureBox1.Width, pictureBox1.Height); var g = Graphics.FromImage(catchBmp); //转换成控件在屏幕上的坐标 var screenPoint = PointToScreen(pictureBox1.Location); //拷贝屏幕区域到Bitmap ...
阅读全文
摘要:NumericUpDown使用常用属性DecimalPlaces 指示要显示的小数位数Increment 每单击一下按钮时增减的数量Maximum 最大值Minimum 最小值
阅读全文

浙公网安备 33010602011771号