- 博客(4)
- 资源 (19)
- 收藏
- 关注
原创 C# Graphics 图像管理及常见用法
GDI+:提供了对GDI+基本图形功能的访问,主要有Graphics类、Bitmap类、从Brush类继承的类、Font类、Icon类、Image类、Pen类、Color类等.创建一个画板主要有3种方式: A: 在窗体或控件的Paint事件中直接引用Graphics对象private void Form1_Paint(object sender, PaintEventArgs e) { Graphics g = e.Graphics; //创建画板,这里的画板是..
2021-05-03 12:24:30 2107
转载 免注册调用大漠插件,COM组件免注册调用
这是调用大漠插件的一个例子.实现com组件不注册调用using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Runtime.InteropServices;using System.Security;using System.Runtime.CompilerServices;using Syste
2020-10-07 09:37:16 3410
转载 C#全局热键设置与窗体热键设置实例
1、窗体热键首先要设置主窗体KeyPreview为true,可直接在属性中进行设置,或者在窗体加载中设置: this.KeyPreview = true;然后添加窗体KeyDown事件,如下:private void FrmMain_KeyDown(object sender, KeyEventArgs e){ if (e.Alt && e.Shift && e.Control && e.KeyCode == Keys.S) {
2020-10-07 09:23:46 564
大漠插件7.2031.rar
2020-10-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人